summaryrefslogtreecommitdiff
path: root/openbsd-compat/regress/Makefile.in
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-02-19 22:50:20 +1100
committerDarren Tucker <dtucker@zip.com.au>2006-02-19 22:50:20 +1100
commit4881c371cef5e3c1065d7dfa314fffc3a5ab0256 (patch)
treeaad34a5efc70e601b688ae83c7ebdfd01792297d /openbsd-compat/regress/Makefile.in
parentbf209f590108a12a9758dcfcdf4297a3d593ce87 (diff)
- (dtucker) [Makefile.in configure.ac, added openbsd-compat/regress/]
Add first attempt at regress tests for compat library. ok djm@
Diffstat (limited to 'openbsd-compat/regress/Makefile.in')
-rw-r--r--openbsd-compat/regress/Makefile.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/openbsd-compat/regress/Makefile.in b/openbsd-compat/regress/Makefile.in
new file mode 100644
index 000000000..51383a777
--- /dev/null
+++ b/openbsd-compat/regress/Makefile.in
@@ -0,0 +1,39 @@
1# $Id: Makefile.in,v 1.1 2006/02/19 11:50:20 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=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
29strtonumtest: strtonumtest.c $(LIBCOMPAT)
30 $(CC) $(CFLAGS) $(CPPFLAGS) -o strtonumtest $< $(LDFLAGS)
31
32strduptest: strduptest.c $(LIBCOMPAT)
33 $(CC) $(CFLAGS) $(CPPFLAGS) -o strduptest $< $(LDFLAGS)
34
35clean:
36 rm -f *.o *.a core $(TESTPROGS) valid.out
37
38distclean: clean
39 rm -f Makefile *~