summaryrefslogtreecommitdiffstats
path: root/tests/progs/Makefile.in
blob: 7d6df22ed7c74b8570ac92d3564dabc12fa85798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
## Makefile.in for test programs
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2024 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.

PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
		slapd-modify slapd-bind slapd-mtread ldif-filter slapd-watcher

SRCS     = slapd-common.c \
		slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
		slapd-modrdn.c slapd-modify.c slapd-bind.c slapd-mtread.c \
		ldif-filter.c slapd-watcher.c

LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries

XLIBS    = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLUTIL_A) $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA)
XXLIBS	 = $(SECURITY_LIBS) $(LUTIL_LIBS)
XXXLIBS  = $(LTHREAD_LIBS)

OBJS     = slapd-common.o

# build-tools: FORCE
# $(MAKE) $(MFLAGS) load-tools

# load-tools: $(PROGRAMS)

slapd-tester: slapd-tester.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-tester.o $(OBJS) $(LIBS)

slapd-search: slapd-search.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-search.o $(OBJS) $(LIBS)

slapd-read: slapd-read.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-read.o $(OBJS) $(LIBS)

slapd-addel: slapd-addel.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-addel.o $(OBJS) $(LIBS)

slapd-modrdn: slapd-modrdn.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-modrdn.o $(OBJS) $(LIBS)

slapd-modify: slapd-modify.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-modify.o $(OBJS) $(LIBS)

slapd-bind: slapd-bind.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-bind.o $(OBJS) $(LIBS)

ldif-filter: ldif-filter.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ ldif-filter.o $(OBJS) $(LIBS)

slapd-mtread: slapd-mtread.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-mtread.o $(OBJS) $(LIBS)

slapd-watcher: slapd-watcher.o $(OBJS) $(XLIBS)
	$(LTLINK) -o $@ slapd-watcher.o $(OBJS) $(LIBS)