]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/Makefile.in
Use memcmp not strncmp for non-string comparisons.
[openldap] / libraries / liblber / Makefile.in
index fe4f007d8a5506a31abbbde49aa4dee267f3748e..1b5523d2f6d112baf9cb94c4e73cf2b034d85090 100644 (file)
@@ -1,15 +1,32 @@
+## Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 ##
 ## LIBLBER
 ##
 
-SRCS = decode.c encode.c io.c bprint.c
-OBJS = decode.o encode.o io.o bprint.o
-XSRCS = version.c
+LIBRARY = liblber.la
+XLIBRARY = ../liblber.a
 
-LIBRARY = liblber.a
+SRCS= assert.c decode.c encode.c io.c bprint.c options.c sockbuf.c
+OBJS= assert.lo decode.lo encode.lo io.lo bprint.lo options.lo sockbuf.lo
+XSRCS= version.c
+
+PROGRAMS= dtest etest idtest
+
+LDAP_INCDIR= ../../include       
+LDAP_LIBDIR= ../../libraries       
+
+XLIBS = -llber
+XXLIBS = 
+
+dtest:    $(LIBRARY) dtest.o
+       $(LTLINK) $(LDFLAGS) -o $@ dtest.o $(LIBS)
+etest:  $(LIBRARY) etest.o
+       $(LTLINK) $(LDFLAGS) -o $@ etest.o $(LIBS)
+idtest:  $(LIBRARY) idtest.o
+       $(LTLINK) $(LDFLAGS) -o $@ idtest.o $(LIBS)
+
+install-local: FORCE
+       -$(MKDIR) $(libdir)
+       $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
 
-install: $(LIBRARY) FORCE
-       -$(MKDIR) -p $(libdir)
-       $(INSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
-       @(cd /tmp; $(RANLIB) $(libdir)/$(LIBRARY))
-