RUNTEST = @RUNTEST@
RUNTESTFLAGS =

all install::

check:: check-$(RUNTEST)

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

check-runtest:: t_inetd
	$(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
