]> git.sur5r.net Git - openldap/blob - libraries/libldap_r/Makefile.in
Move the input data exhaustion loop to connection.c from daemon.c
[openldap] / libraries / libldap_r / Makefile.in
1 ##
2 ## Makefile.in for LDAP -lldap
3 ##
4 LIBRARY = libldap_r.la
5 XLIBRARY = ../libldap_r.a
6
7 PROGRAMS = apitest ltest ttest
8
9 XXDIR = $(srcdir)/../libldap
10 XXSRCS  = apitest.c test.c tmpltest.c extended.c \
11         bind.c controls.c open.c result.c error.c compare.c search.c \
12         modify.c add.c modrdn.c delete.c abandon.c ufn.c cache.c \
13         getfilter.c sasl.c sbind.c kbind.c unbind.c friendly.c cldap.c \
14         free.c disptmpl.c srchpref.c dsparse.c tmplout.c sort.c \
15         getdn.c getentry.c getattr.c getvalues.c addentry.c \
16         request.c getdxbyname.c os-ip.c url.c charset.c \
17         init.c options.c print.c string.c util-int.c schema.c \
18         charray.c digest.c tls.c
19 SRCS    = thr_posix.c thr_cthreads.c thr_thr.c thr_lwp.c thr_nt.c \
20         thr_sleep.c thr_stub.c rdwr.c
21 OBJS    = extended.lo \
22         bind.lo controls.lo open.lo result.lo error.lo compare.lo search.lo \
23         modify.lo add.lo modrdn.lo delete.lo abandon.lo ufn.lo cache.lo \
24         getfilter.lo sasl.lo sbind.lo kbind.lo unbind.lo friendly.lo cldap.lo \
25         free.lo disptmpl.lo srchpref.lo dsparse.lo tmplout.lo sort.lo \
26         getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo \
27         request.lo getdxbyname.lo os-ip.lo url.lo charset.lo \
28         init.lo options.lo print.lo string.lo util-int.lo schema.lo \
29         thr_posix.lo thr_cthreads.lo thr_thr.lo thr_lwp.lo thr_nt.lo \
30         thr_sleep.lo thr_stub.lo rdwr.lo \
31         charray.lo digest.lo tls.lo
32
33 LDAP_INCDIR= ../../include       
34 LDAP_LIBDIR= ../../libraries
35
36 XDEFS = -DLDAP_R_COMPILE -I$(XXDIR)
37 XLIBS = -lldap_r -llber
38 XXLIBS = $(LUTIL_LIBS) $(KRB_LIBS) $(TLS_LIBS)
39 XXXLIBS = $(LTHREAD_LIBS)
40
41 .links :
42         @for i in $(XXSRCS); do \
43                 $(RM) $$i ; \
44                 $(LN_S) $(XXDIR)/$$i . ; \
45         done
46         touch .links
47
48 $(XXSRCS) : .links
49
50 clean-local: FORCE
51         @$(RM) .links
52
53 depend-common: .links
54
55 apitest:        $(LIBRARY) apitest.o $(LDAP_LIBLBER_DEPEND)
56         $(LTLINK) $(LDFLAGS) -o $@ apitest.o $(LIBS)
57 ltest:  $(LIBRARY) test.o $(LDAP_LIBLBER_DEPEND)
58         $(LTLINK) $(LDFLAGS) -o $@ test.o $(LIBS)
59 ttest:  $(LIBRARY) tmpltest.o $(LDAP_LIBLBER_DEPEND)
60         $(LTLINK) $(LDFLAGS) -o $@ tmpltest.o $(LIBS)
61
62 install-local: $(CFFILES) FORCE
63         -$(MKDIR) $(libdir)
64         $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(libdir)