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