HEIMDAL: move code from source4/heimdal* to third_party/heimdal*
[Samba.git] / third_party / heimdal / tests / ldap / Makefile.am
blobcbc0b7d8dffdaed8028fd3d69ab3258c54c42d75
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 \
14         -e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
15         -e 's,[@]srcdir[@],$(srcdir),g' \
16         -e 's,[@]port[@],$(port),g' \
17         -e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \
18         -e 's,[@]EGREP[@],$(EGREP),g' 
20 check-ldap: check-ldap.in Makefile
21         $(do_subst) < $(srcdir)/check-ldap.in > check-ldap.tmp
22         chmod +x check-ldap.tmp
23         mv check-ldap.tmp check-ldap
25 slapd-init: slapd-init.in Makefile
26         $(do_subst) < $(srcdir)/slapd-init.in > slapd-init.tmp
27         chmod +x slapd-init.tmp
28         mv slapd-init.tmp slapd-init
30 krb5.conf: krb5.conf.in Makefile
31         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
32         mv krb5.conf.tmp krb5.conf
34 CLEANFILES= \
35         $(TESTS) \
36         check-ldap.tmp \
37         slapd-init.tmp \
38         current-db* \
39         krb5.conf krb5.conf.tmp \
40         modules.conf \
41         cache.krb5 \
42         slapd-init \
43         foopassword \
44         messages.log \
45         slapd.pid
47 EXTRA_DIST = \
48         NTMakefile \
49         samba.schema \
50         slapd.conf \
51         slapd-stop \
52         check-ldap.in \
53         init.ldif \
54         krb5.conf.in \
55         slapd-init.in