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
|
# $Id$
include $(top_srcdir)/Makefile.am.common
noinst_DATA = krb5.conf
check_SCRIPTS = $(TESTS) slapd-init
TESTS = check-ldap
port = 49188
do_subst = sed \
-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
-e 's,[@]srcdir[@],$(srcdir),g' \
-e 's,[@]port[@],$(port),g' \
-e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \
-e 's,[@]EGREP[@],$(EGREP),g'
check-ldap: check-ldap.in Makefile
$(do_subst) < $(srcdir)/check-ldap.in > check-ldap.tmp
chmod +x check-ldap.tmp
mv check-ldap.tmp check-ldap
slapd-init: slapd-init.in Makefile
$(do_subst) < $(srcdir)/slapd-init.in > slapd-init.tmp
chmod +x slapd-init.tmp
mv slapd-init.tmp slapd-init
krb5.conf: krb5.conf.in Makefile
$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
mv krb5.conf.tmp krb5.conf
CLEANFILES= \
$(TESTS) \
check-ldap.tmp \
slapd-init.tmp \
current-db* \
krb5.conf krb5.conf.tmp \
modules.conf \
cache.krb5 \
slapd-init \
foopassword \
messages.log \
slapd.pid
EXTRA_DIST = \
NTMakefile \
samba.schema \
slapd.conf \
slapd-stop \
check-ldap.in \
init.ldif \
krb5.conf.in \
slapd-init.in
|