]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/tests/java/Makefile.am
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / 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,[@]port[@],$(port),g' \
17         -e 's,[@]objdir[@],$(top_builddir)/tests/java,g'
18
19 LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)
20
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
25
26 krb5.conf: krb5.conf.in Makefile
27         $(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
28         mv krb5.conf.tmp krb5.conf
29
30 CLEANFILES= \
31         $(TESTS) \
32         *.tmp \
33         *.class \
34         current-db* \
35         krb5.conf \
36         messages.log
37
38
39 EXTRA_DIST = \
40         KerberosInit.java \
41         jaas.conf \
42         check-kinit.in \
43         have-java.sh \
44         krb5.conf.in