]> git.sur5r.net Git - openldap/commitdiff
Add apitest to build.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 4 Nov 1998 20:09:25 +0000 (20:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 4 Nov 1998 20:09:25 +0000 (20:09 +0000)
libraries/libldap/Makefile.in

index b12d1df5d04985e8765173f08887013a051aa38a..9b7524c7693e69811a6620f3a92680ea0ddda681 100644 (file)
@@ -2,7 +2,7 @@
 ## Makefile.in for LDAP -lldap
 ##
 LIBRARY = libldap.a
-PROGRAMS = ltest ttest
+PROGRAMS = apitest ltest ttest
 
 LDAP_INCDIR= ../../include       
 LDAP_LIBDIR= ../../libraries
@@ -26,6 +26,8 @@ OBJS  = bind.o open.o result.o error.o compare.o search.o \
 LIBS = -L$(LDAP_LIBDIR) -lldap -llber $(AC_LIBS)
 LIBLBER = ../liblber/liblber.a
 
+apitest:       $(LIBRARY) apitest.o $(LIBLBER)
+       $(CC) $(LDFLAGS) -o $@ apitest.o $(LIBS)
 ltest: $(LIBRARY) test.o $(LIBLBER)
        $(CC) $(LDFLAGS) -o $@ test.o $(LIBS)
 ttest: $(LIBRARY) tmpltest.o $(LIBLBER)