aboutsummaryrefslogtreecommitdiff
path: root/src/tests/dejagnu/Makefile.in
blob: 50b97e7d4352b82ad86ed94a24e799ea0573f668 (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
HAVE_RUNTEST = @RUNTEST@
RUNTESTFLAGS =
KRB5_RUN_ENV= @KRB5_RUN_ENV@

all install::

check:: check-$(HAVE_RUNTEST)

check-::
	@echo "+++"
	@echo "+++ WARNING: tests/dejagnu tests not run."
	@echo "+++ runtest is unavailable."
	@echo "+++"

check-runtest:: t_inetd site.exp
	$(HAVE_RUNTEST) --tool krb --srcdir $(srcdir) $(RUNTESTFLAGS)

CFLAGS = $(CCOPTS) $(DEFS)

t_inetd:: t_inetd.o $(DEPLIBS)
	$(LD) $(LDFLAGS) $(LDARGS) -o t_inetd t_inetd.o $(LIBS)

clean::
	$(RM) t_inetd t_inetd.o site.exp

clean-unix::
	$(RM) -rf tmpdir dbg.log krb.log krb.sum

site.exp:: Makefile
	echo "set runvarlist [list $(KRB5_RUN_ENV)]" | sed \
		-e 's/;//g' -e 's:=\.:='`pwd`'/.:g' > site.exp