mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 06:31:11 -05:00
29 lines
638 B
Makefile
29 lines
638 B
Makefile
##
|
|
## LIBLBER
|
|
##
|
|
|
|
SRCS = decode.c encode.c io.c bprint.c
|
|
OBJS = decode.o encode.o io.o bprint.o
|
|
XSRCS = version.c
|
|
|
|
PROGRAMS= dtest etest idtest
|
|
|
|
LIBS = -L$(LDAP_LIBDIR) -llber $(AC_LIBS)
|
|
|
|
dtest: $(LIBRARY) dtest.o
|
|
$(CC) $(LDFLAGS) -o $@ dtest.o $(LIBS)
|
|
etest: $(LIBRARY) etest.o
|
|
$(CC) $(LDFLAGS) -o $@ etest.o $(LIBS)
|
|
idtest: $(LIBRARY) idtest.o
|
|
$(CC) $(LDFLAGS) -o $@ idtest.o $(LIBS)
|
|
|
|
LDAP_INCDIR= ../../include
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
LIBRARY = liblber.a
|
|
|
|
install-local: $(LIBRARY) FORCE
|
|
-$(MKDIR) -p $(libdir)
|
|
$(INSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
|
|
@(cd /tmp; $(RANLIB) $(libdir)/$(LIBRARY))
|
|
|