test debug
[heimdal.git] / tests / ldap / Makefile.am
blobb57d2fd298561a05c0f31233df706267940ded93
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 noinst_DATA = krb5.conf
7 check_SCRIPTS = $(TESTS) slapd-init
9 TESTS = check-ldap
11 port = 49188
13 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14         -e 's,[@]port[@],$(port),g' \
15         -e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \
16         -e 's,[@]EGREP[@],$(EGREP),g' 
18 check-ldap: check-ldap.in Makefile
19         $(do_subst) < $(srcdir)/check-ldap.in > check-ldap.tmp
20         chmod +x check-ldap.tmp
21         mv check-ldap.tmp check-ldap
23 slapd-init: slapd-init.in Makefile
24         $(do_subst) < $(srcdir)/slapd-init.in > slapd-init.tmp
25         chmod +x slapd-init.tmp
26         mv slapd-init.tmp slapd-init
28 krb5.conf: krb5.conf.in Makefile
29         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
30         mv krb5.conf.tmp krb5.conf
32 CLEANFILES= \
33         $(TESTS) \
34         check-ldap.tmp \
35         slapd-init.tmp \
36         current-db* \
37         krb5.conf krb5.conf.tmp \
38         modules.conf \
39         cache.krb5 \
40         slapd-init \
41         foopassword \
42         messages.log \
43         slapd.pid
45 EXTRA_DIST = \
46         samba.schema \
47         slapd.conf \
48         slapd-stop \
49         check-ldap.in \
50         init.ldif \
51         krb5.conf.in \
52         slapd-init.in