xref: /netbsd-src/crypto/external/bsd/heimdal/dist/tests/plugin/Makefile.am (revision b9d004c6cc8d38329417ae29768c81e5f2a296cf)
1# Id
2
3include $(top_srcdir)/Makefile.am.common
4
5noinst_DATA = krb5.conf
6
7SCRIPT_TESTS = check-pac
8TESTS = $(SCRIPT_TESTS)
9
10port = 49188
11
12do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
13	-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
14	-e 's,[@]port[@],$(port),g' \
15	-e 's,[@]objdir[@],$(top_builddir)/tests/plugin,g' \
16	-e 's,[@]EGREP[@],$(EGREP),g'
17
18LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
19
20check-pac: check-pac.in Makefile
21	$(do_subst) < $(srcdir)/check-pac.in > check-pac.tmp
22	chmod +x check-pac.tmp
23	mv check-pac.tmp check-pac
24
25krb5.conf: krb5.conf.in Makefile
26	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
27	mv krb5.conf.tmp krb5.conf
28
29lib_LTLIBRARIES = windc.la
30
31windc_la_SOURCES = windc.c
32windc_la_LDFLAGS = -module
33
34CLEANFILES= \
35	$(TESTS) \
36	server.keytab \
37	current-db* \
38	foopassword \
39	krb5.conf krb5.conf.tmp \
40	messages.log
41
42EXTRA_DIST = \
43	NTMakefile \
44	check-pac.in \
45	krb5.conf.in
46