mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
28 lines
595 B
Makefile
28 lines
595 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
|
|
|
|
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))
|
|
|