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
|
|
|
|
|
1998-11-22 04:39:24 +08:00
|
|
|
PROGRAMS= dtest etest idtest
|
|
|
|
|
1998-11-22 04:50:35 +08:00
|
|
|
LIBS = -L$(LDAP_LIBDIR) -llber $(AC_LIBS)
|
|
|
|
|
1998-11-22 04:39:24 +08:00
|
|
|
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))
|
|
|
|
|