Expand PMF_FN_* macros.
[netbsd-mini2440.git] / crypto / dist / heimdal / tests / ldap / Makefile.am
blobab89b6eb730cc13e2f70e71bb346b81c56972c32
1 # $Heimdal: Makefile.am 22412 2008-01-12 05:57:22Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 noinst_DATA = krb5.conf
8 check_SCRIPTS = $(TESTS) slapd-init
10 TESTS = check-ldap
12 port = 49188
14 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
15         -e 's,[@]port[@],$(port),g' \
16         -e 's,[@]objdir[@],$(top_builddir)/tests/ldap,g' \
17         -e 's,[@]EGREP[@],$(EGREP),g' 
19 check-ldap: check-ldap.in Makefile
20         $(do_subst) < $(srcdir)/check-ldap.in > check-ldap.tmp
21         chmod +x check-ldap.tmp
22         mv check-ldap.tmp check-ldap
24 slapd-init: slapd-init.in Makefile
25         $(do_subst) < $(srcdir)/slapd-init.in > slapd-init.tmp
26         chmod +x slapd-init.tmp
27         mv slapd-init.tmp slapd-init
29 krb5.conf: krb5.conf.in Makefile
30         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
31         mv krb5.conf.tmp krb5.conf
33 CLEANFILES= \
34         $(TESTS) \
35         check-ldap.tmp \
36         slapd-init.tmp \
37         current-db* \
38         krb5.conf krb5.conf.tmp \
39         modules.conf \
40         cache.krb5 \
41         slapd-init \
42         foopassword \
43         messages.log \
44         slapd.pid
46 EXTRA_DIST = \
47         samba.schema \
48         slapd.conf \
49         slapd-stop \
50         check-ldap.in \
51         init.ldif \
52         krb5.conf.in \
53         slapd-init.in