1# $Id: Makefile.in,v 1.3 2006/08/18 10:56:19 dtucker Exp $
2
3sysconfdir=@sysconfdir@
4piddir=@piddir@
5srcdir=@srcdir@
6top_srcdir=@top_srcdir@
7
8VPATH=@srcdir@
9CC=@CC@
10LD=@LD@
11CFLAGS=@CFLAGS@
12CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
13LIBS=@LIBS@
14LDFLAGS=-L.. -lopenbsd-compat @LDFLAGS@
15
16LIBCOMPAT=../libopenbsd-compat.a
17TESTPROGS=closefromtest strtonumtest strduptest snprintftest
18
19all:	t-exec ${OTHERTESTS}
20
21t-exec:	$(TESTPROGS)
22	@echo running compat regress tests
23	@for TEST in ""$?; do \
24		echo "run test $${TEST}" ... 1>&2; \
25		./$${TEST} || exit $$? ; \
26	done
27	@echo finished compat regress tests
28
29clean:
30	rm -f *.o *.a core $(TESTPROGS) valid.out
31
32distclean: clean
33	rm -f Makefile *~
34