summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/tests/java/Makefile.am
blob: acbe874a08bf749ed9feb4b0b7765220850e9294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $Id: Makefile.am 20739 2007-05-31 16:53:21Z lha $

include $(top_srcdir)/Makefile.am.common

noinst_DATA = krb5.conf

check_SCRIPTS = $(SCRIPT_TESTS) 

SCRIPT_TESTS = check-kinit

TESTS = $(SCRIPT_TESTS)

port = 49188

do_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
	-e 's,[@]env_setup[@],$(top_builddir)/tests/bin/setup-env,g' \
	-e 's,[@]port[@],$(port),g' \
	-e 's,[@]objdir[@],$(top_builddir)/tests/java,g'

LDADD = ../../lib/krb5/libkrb5.la $(LIB_roken)

check-kinit: check-kinit.in Makefile
	$(do_subst) < $(srcdir)/check-kinit.in > check-kinit.tmp
	chmod +x check-kinit.tmp
	mv check-kinit.tmp check-kinit

krb5.conf: krb5.conf.in Makefile
	$(do_subst) < $(srcdir)/krb5.conf.in > krb5.conf.tmp
	mv krb5.conf.tmp krb5.conf

CLEANFILES= \
	$(TESTS) \
	*.tmp \
	*.class \
	current-db* \
	krb5.conf \
	messages.log


EXTRA_DIST = \
	NTMakefile \
	KerberosInit.java \
	jaas.conf \
	check-kinit.in \
	have-java.sh \
	krb5.conf.in