- init.c options.c strdup.c
-OBJS = bind.o open.o result.o error.o compare.o search.o \
- modify.o add.o modrdn.o delete.o abandon.o ufn.o cache.o \
- getfilter.o sbind.o kbind.o unbind.o friendly.o cldap.o \
- free.o disptmpl.o srchpref.o dsparse.o tmplout.o sort.o \
- getdn.o getentry.o getattr.o getvalues.o addentry.o \
- request.o getdxbyname.o os-ip.o url.o charset.o \
- init.o options.o strdup.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)
- $(CC) $(LDFLAGS) -o $@ tmpltest.o $(LIBS)
-
-CFFILES= ldap.conf ldapfilter.conf ldapfriendly ldaptemplates.conf ldapsearchprefs.conf
-
-install-local: $(LIBRARY) $(CFFILES) FORCE
- -$(MKDIR) -p $(libdir)
- $(INSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
- @(cd /tmp; $(RANLIB) $(libdir)/$(LIBRARY))
- -$(MKDIR) -p $(sysconfdir)
+ init.c options.c print.c string.c util-int.c schema.c
+OBJS = bind.lo open.lo result.lo error.lo compare.lo search.lo \
+ controls.lo messages.lo references.lo extended.lo \
+ modify.lo add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo \
+ getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo cldap.lo \
+ free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo \
+ getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo \
+ request.lo getdxbyname.lo os-ip.lo url.lo charset.lo \
+ init.lo options.lo print.lo string.lo util-int.lo schema.lo
+
+LDAP_INCDIR= ../../include
+LDAP_LIBDIR= ../../libraries
+
+XLIBS = -lldap -llber
+XXLIBS = $(KRB_LIBS)
+
+apitest: $(LIBRARY) apitest.o $(LDAP_LIBLBER_DEPEND)
+ $(LTLINK) $(LDFLAGS) -o $@ apitest.o $(LIBS)
+ltest: $(LIBRARY) test.o $(LDAP_LIBLBER_DEPEND)
+ $(LTLINK) $(LDFLAGS) -o $@ test.o $(LIBS)
+ttest: $(LIBRARY) tmpltest.o $(LDAP_LIBLBER_DEPEND)
+ $(LTLINK) $(LDFLAGS) -o $@ tmpltest.o $(LIBS)
+
+CFFILES=ldap.conf ldapfilter.conf ldaptemplates.conf ldapsearchprefs.conf
+
+install-local: $(CFFILES) FORCE
+ -$(MKDIR) $(libdir)
+ $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)
+ -$(MKDIR) $(sysconfdir)