openldap/libraries/liblber/Makefile.in

30 lines
638 B
Makefile
Raw Normal View History

1998-10-25 09:41:42 +08:00
##
## 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)
1998-10-25 09:41:42 +08:00
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))