s4:torture: Adapt KDC canon test to Heimdal upstream changes
[samba.git] / source4 / heimdal / tests / java / Makefile.am
1 # $Id: Makefile.am 20739 2007-05-31 16:53:21Z lha $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 noinst_DATA = krb5.conf
6
7 check_SCRIPTS = $(SCRIPT_TESTS) 
8
9 SCRIPT_TESTS = check-kinit
10
11 TESTS = $(SCRIPT_TESTS)
12
13 port = 49188
14
15 do_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
20 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
21
22 check-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
27 krb5.conf: krb5.conf.in Makefile
28         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
29         mv krb5.conf.tmp krb5.conf
30
31 CLEANFILES= \
32         $(TESTS) \
33         *.tmp \
34         *.class \
35         current-db* \
36         krb5.conf \
37         messages.log
38
39
40 EXTRA_DIST = \
41         NTMakefile \
42         KerberosInit.java \
43         jaas.conf \
44         check-kinit.in \
45         have-java.sh \
46         krb5.conf.in