openldap/libraries/liblber/Makefile.in
1998-11-21 20:39:24 +00:00

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))