Merge pull request #177 from jelmer/reproducible
[heimdal.git] / tests / java / Makefile.am
blob9b695f772674824da5f8409e94c146649bc27681
1 # $Id: Makefile.am 20739 2007-05-31 16:53:21Z lha $
3 include $(top_srcdir)/Makefile.am.common
5 noinst_DATA = krb5.conf
7 check_SCRIPTS = $(SCRIPT_TESTS) 
9 SCRIPT_TESTS = check-kinit
11 TESTS = $(SCRIPT_TESTS)
13 port = 49188
15 do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
16         -e 's,[@]port[@],$(port),g' \
17         -e 's,[@]objdir[@],$(top_builddir)/tests/java,g'
19 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
21 check-kinit: check-kinit.in Makefile
22         $(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp
23         chmod +x check-kinit.tmp
24         mv check-kinit.tmp check-kinit
26 krb5.conf: krb5.conf.in Makefile
27         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
28         mv krb5.conf.tmp krb5.conf
30 CLEANFILES= \
31         $(TESTS) \
32         *.tmp \
33         *.class \
34         current-db* \
35         krb5.conf \
36         messages.log
39 EXTRA_DIST = \
40         NTMakefile \
41         KerberosInit.java \
42         jaas.conf \
43         check-kinit.in \
44         have-java.sh \
45         krb5.conf.in