mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -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
273 B
Makefile
16 lines
273 B
Makefile
##
|
|
## LIBAVL
|
|
##
|
|
|
|
SRCS = avl.c testavl.c
|
|
XSRCS = version.c
|
|
OBJS = avl.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
LIBRARY = libavl.a
|
|
PROGRAMS = testavl
|
|
|
|
testavl: $(LIBRARY) testavl.o
|
|
$(LTLINK) $(LDFLAGS) -o $@ testavl.o $(LDAP_LIBPATH) -lavl $(LIBS)
|