1 ## Makefile.in for test programs
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2011 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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 PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
17 slapd-modify slapd-bind slapd-mtread ldif-filter
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 \
24 LDAP_INCDIR= ../../include
25 LDAP_LIBDIR= ../../libraries
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)
36 # $(MAKE) $(MFLAGS) load-tools
38 # load-tools: $(PROGRAMS)
40 slapd-tester: slapd-tester.o $(OBJS) $(XLIBS)
41 $(LTLINK) -o $@ slapd-tester.o $(OBJS) $(LIBS)
43 slapd-search: slapd-search.o $(OBJS) $(XLIBS)
44 $(LTLINK) -o $@ slapd-search.o $(OBJS) $(LIBS)
46 slapd-read: slapd-read.o $(OBJS) $(XLIBS)
47 $(LTLINK) -o $@ slapd-read.o $(OBJS) $(LIBS)
49 slapd-addel: slapd-addel.o $(OBJS) $(XLIBS)
50 $(LTLINK) -o $@ slapd-addel.o $(OBJS) $(LIBS)
52 slapd-modrdn: slapd-modrdn.o $(OBJS) $(XLIBS)
53 $(LTLINK) -o $@ slapd-modrdn.o $(OBJS) $(LIBS)
55 slapd-modify: slapd-modify.o $(OBJS) $(XLIBS)
56 $(LTLINK) -o $@ slapd-modify.o $(OBJS) $(LIBS)
58 slapd-bind: slapd-bind.o $(OBJS) $(XLIBS)
59 $(LTLINK) -o $@ slapd-bind.o $(OBJS) $(LIBS)
61 ldif-filter: ldif-filter.o $(XLIBS)
62 $(LTLINK) -o $@ ldif-filter.o $(LIBS)
64 slapd-mtread: slapd-mtread.o $(OBJS) $(XRLIBS)
65 $(LTLINK) -o $@ slapd-mtread.o $(OBJS) $(RLIBS)