mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
28a671d10d
end of link. Basic order is: $LDFLAGS internal-libs external-libs $LIBS $LTHREAD_LIBS LTHREAD_LIBS is last as -lpthread (or equiv) must be last on many systems. LIBS is next to last as some user might have put -lpthread (or equiv) in $LIBS.
18 lines
287 B
Makefile
18 lines
287 B
Makefile
##
|
|
## Makefile for -lldbm
|
|
##
|
|
|
|
LIBRARY = libldbm.a
|
|
XPROGRAMS = testldbm
|
|
SRCS = ldbm.c
|
|
OBJS = ldbm.o
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
XLIBS = -lldbm -lavl
|
|
XXLIBS = $(LDBM_LIBS)
|
|
|
|
testldbm: libldbm.a testldbm.o
|
|
$(CC) $(LDFLAGS) -o $@ testldbm.o $(LIBS)
|