No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / openldap / dist / libraries / libldap_r / Makefile.in
blobb559706fec4d67ed1c0807ee3e3b560ac35b083e
1 # Makefile.in for LDAP -lldap
2 # $OpenLDAP: pkg/ldap/libraries/libldap_r/Makefile.in,v 1.79.2.6 2008/07/09 00:29:57 quanah Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 LIBRARY = libldap_r.la
18 PROGRAMS = apitest ltest
20 XXDIR = $(srcdir)/../libldap
21 XXSRCS = apitest.c test.c \
22 bind.c open.c result.c error.c compare.c search.c \
23 controls.c messages.c references.c extended.c cyrus.c \
24 modify.c add.c modrdn.c delete.c abandon.c \
25 sasl.c sbind.c unbind.c cancel.c \
26 filter.c free.c sort.c passwd.c whoami.c \
27 getdn.c getentry.c getattr.c getvalues.c addentry.c \
28 request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c \
29 init.c options.c print.c string.c util-int.c schema.c \
30 charray.c tls.c os-local.c dnssrv.c utf-8.c utf-8-conv.c \
31 turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c \
32 assertion.c
33 SRCS = threads.c rdwr.c rmutex.c tpool.c rq.c \
34 thr_posix.c thr_cthreads.c thr_thr.c thr_lwp.c thr_nt.c \
35 thr_pth.c thr_stub.c thr_debug.c
36 OBJS = threads.lo rdwr.lo rmutex.lo tpool.lo rq.lo \
37 thr_posix.lo thr_cthreads.lo thr_thr.lo thr_lwp.lo thr_nt.lo \
38 thr_pth.lo thr_stub.lo thr_debug.lo \
39 bind.lo open.lo result.lo error.lo compare.lo search.lo \
40 controls.lo messages.lo references.lo extended.lo cyrus.lo \
41 modify.lo add.lo modrdn.lo delete.lo abandon.lo \
42 sasl.lo sbind.lo unbind.lo cancel.lo \
43 filter.lo free.lo sort.lo passwd.lo whoami.lo \
44 getdn.lo getentry.lo getattr.lo getvalues.lo addentry.lo \
45 request.lo os-ip.lo url.lo pagectrl.lo sortctrl.lo vlvctrl.lo \
46 init.lo options.lo print.lo string.lo util-int.lo schema.lo \
47 charray.lo tls.lo os-local.lo dnssrv.lo utf-8.lo utf-8-conv.lo \
48 turn.lo ppolicy.lo dds.lo txn.lo ldap_sync.lo stctrl.lo \
49 assertion.lo
51 LDAP_INCDIR= ../../include
52 LDAP_LIBDIR= ../../libraries
54 LIB_DEFS = -DLDAP_LIBRARY
56 XDEFS = -DLDAP_R_COMPILE -I$(XXDIR)
57 XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
58 XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
59 XXXLIBS = $(LTHREAD_LIBS)
60 NT_LINK_LIBS = $(LDAP_LIBLBER_LA) $(AC_LIBS) $(SECURITY_LIBS)
61 UNIX_LINK_LIBS = $(LDAP_LIBLBER_LA) $(AC_LIBS) $(SECURITY_LIBS) $(LTHREAD_LIBS)
63 .links : Makefile
64 @for i in $(XXSRCS); do \
65 $(RM) $$i ; \
66 $(LN_S) $(XXDIR)/$$i . ; \
67 done
68 touch .links
70 $(XXSRCS) : .links
72 clean-local: FORCE
73 @$(RM) .links
75 depend-common: .links
77 apitest: $(XLIBS) apitest.o
78 $(LTLINK) -o $@ apitest.o $(LIBS)
79 ltest: $(XLIBS) test.o
80 $(LTLINK) -o $@ test.o $(LIBS)
82 install-local: $(CFFILES) FORCE
83 -$(MKDIR) $(DESTDIR)$(libdir)
84 $(LTINSTALL) $(INSTALLFLAGS) -m 644 $(LIBRARY) $(DESTDIR)$(libdir)
85 $(LTFINISH) $(DESTDIR)$(libdir)