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

all install::

check:: check-$(HAVE_RUNTEST)

check-::
	@echo "Dejagnu is not installed on this system. No tests run."

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