mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 21:50:49 -05:00
make depend, make tests, and make install all work when build directory is not the $srcdir. Also modified library handling such that -lpthread more likely to be last. WARNING: new orderring requires use of LDFLAGS to set global loader options such as -L/usr/local/lib. If you put this in LIBS, some libraries may not be found a link time. Likely broke Kerberos/LDAPD support. Don't have those in my testbed.
16 lines
271 B
Makefile
16 lines
271 B
Makefile
##
|
|
## Makefile for -lldbm
|
|
##
|
|
|
|
LIBRARY = libldbm.a
|
|
XPROGRAMS = testldbm
|
|
SRCS = ldbm.c
|
|
OBJS = ldbm.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XXLIBS = $(LDBM_LIBS) -lavl
|
|
|
|
testldbm: libldbm.a testldbm.o
|
|
$(CC) $(LDFLAGS) -o $@ testldbm.o $(LIBS)
|