]> git.sur5r.net Git - openldap/blob - tests/progs/Makefile.in
58cf7e27996e3af2230694d1f1b1ed6f4b7d9014
[openldap] / tests / progs / Makefile.in
1 ## Makefile.in for test programs
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2017 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.
11 ##
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>.
15
16 PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
17                 slapd-modify slapd-bind slapd-mtread ldif-filter
18
19 SRCS     = slapd-common.c \
20                 slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
21                 slapd-modrdn.c slapd-modify.c slapd-bind.c slapd-mtread.c \
22                 ldif-filter.c
23
24 LDAP_INCDIR= ../../include
25 LDAP_LIBDIR= ../../libraries
26
27 XLIBS    = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
28 XRLIBS    = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
29 XXLIBS   = $(SECURITY_LIBS) $(LUTIL_LIBS)
30 RLIBS = $(XRLIBS) $(XXLIBS) $(AC_LIBS) $(XXXLIBS)
31
32
33 OBJS     = slapd-common.o
34
35 # build-tools: FORCE
36 # $(MAKE) $(MFLAGS) load-tools
37
38 # load-tools: $(PROGRAMS)
39
40 slapd-tester: slapd-tester.o $(OBJS) $(XLIBS)
41         $(LTLINK) -o $@ slapd-tester.o $(OBJS) $(LIBS)
42
43 slapd-search: slapd-search.o $(OBJS) $(XLIBS)
44         $(LTLINK) -o $@ slapd-search.o $(OBJS) $(LIBS)
45
46 slapd-read: slapd-read.o $(OBJS) $(XLIBS)
47         $(LTLINK) -o $@ slapd-read.o $(OBJS) $(LIBS)
48
49 slapd-addel: slapd-addel.o $(OBJS) $(XLIBS)
50         $(LTLINK) -o $@ slapd-addel.o $(OBJS) $(LIBS)
51
52 slapd-modrdn: slapd-modrdn.o $(OBJS) $(XLIBS)
53         $(LTLINK) -o $@ slapd-modrdn.o $(OBJS) $(LIBS)
54
55 slapd-modify: slapd-modify.o $(OBJS) $(XLIBS)
56         $(LTLINK) -o $@ slapd-modify.o $(OBJS) $(LIBS)
57
58 slapd-bind: slapd-bind.o $(OBJS) $(XLIBS)
59         $(LTLINK) -o $@ slapd-bind.o $(OBJS) $(LIBS)
60
61 ldif-filter: ldif-filter.o $(XLIBS)
62         $(LTLINK) -o $@ ldif-filter.o $(LIBS)
63
64 slapd-mtread: slapd-mtread.o $(OBJS) $(XRLIBS)
65         $(LTLINK) -o $@ slapd-mtread.o $(OBJS) $(RLIBS)
66