summaryrefslogtreecommitdiff
path: root/openbsd-compat/regress/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/regress/Makefile.in')
-rw-r--r--openbsd-compat/regress/Makefile.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/openbsd-compat/regress/Makefile.in b/openbsd-compat/regress/Makefile.in
index 22dab2837..bcf214bd0 100644
--- a/openbsd-compat/regress/Makefile.in
+++ b/openbsd-compat/regress/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.3 2006/08/18 10:56:19 dtucker Exp $ 1# $Id: Makefile.in,v 1.4 2006/08/19 09:12:14 dtucker Exp $
2 2
3sysconfdir=@sysconfdir@ 3sysconfdir=@sysconfdir@
4piddir=@piddir@ 4piddir=@piddir@
@@ -10,19 +10,24 @@ CC=@CC@
10LD=@LD@ 10LD=@LD@
11CFLAGS=@CFLAGS@ 11CFLAGS=@CFLAGS@
12CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ 12CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
13EXEEXT=@EXEEXT@
14LIBCOMPAT=../libopenbsd-compat.a
13LIBS=@LIBS@ 15LIBS=@LIBS@
14LDFLAGS=-L.. -lopenbsd-compat @LDFLAGS@ 16LDFLAGS=@LDFLAGS@ $(LIBCOMPAT)
15 17
16LIBCOMPAT=../libopenbsd-compat.a 18TESTPROGS=closefromtest$(EXEEXT) snprintftest$(EXEEXT) strduptest$(EXEEXT) \
17TESTPROGS=closefromtest strtonumtest strduptest snprintftest 19 strtonumtest$(EXEEXT)
18 20
19all: t-exec ${OTHERTESTS} 21all: t-exec ${OTHERTESTS}
20 22
23%$(EXEEXT): %.c
24 $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBS)
25
21t-exec: $(TESTPROGS) 26t-exec: $(TESTPROGS)
22 @echo running compat regress tests 27 @echo running compat regress tests
23 @for TEST in ""$?; do \ 28 @for TEST in ""$?; do \
24 echo "run test $${TEST}" ... 1>&2; \ 29 echo "run test $${TEST}" ... 1>&2; \
25 ./$${TEST} || exit $$? ; \ 30 ./$${TEST}$(EXEEXT) || exit $$? ; \
26 done 31 done
27 @echo finished compat regress tests 32 @echo finished compat regress tests
28 33