diff options
Diffstat (limited to 'openbsd-compat/regress')
-rw-r--r-- | openbsd-compat/regress/Makefile.in | 15 |
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 | ||
3 | sysconfdir=@sysconfdir@ | 3 | sysconfdir=@sysconfdir@ |
4 | piddir=@piddir@ | 4 | piddir=@piddir@ |
@@ -10,19 +10,24 @@ CC=@CC@ | |||
10 | LD=@LD@ | 10 | LD=@LD@ |
11 | CFLAGS=@CFLAGS@ | 11 | CFLAGS=@CFLAGS@ |
12 | CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ | 12 | CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ |
13 | EXEEXT=@EXEEXT@ | ||
14 | LIBCOMPAT=../libopenbsd-compat.a | ||
13 | LIBS=@LIBS@ | 15 | LIBS=@LIBS@ |
14 | LDFLAGS=-L.. -lopenbsd-compat @LDFLAGS@ | 16 | LDFLAGS=@LDFLAGS@ $(LIBCOMPAT) |
15 | 17 | ||
16 | LIBCOMPAT=../libopenbsd-compat.a | 18 | TESTPROGS=closefromtest$(EXEEXT) snprintftest$(EXEEXT) strduptest$(EXEEXT) \ |
17 | TESTPROGS=closefromtest strtonumtest strduptest snprintftest | 19 | strtonumtest$(EXEEXT) |
18 | 20 | ||
19 | all: t-exec ${OTHERTESTS} | 21 | all: t-exec ${OTHERTESTS} |
20 | 22 | ||
23 | %$(EXEEXT): %.c | ||
24 | $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBS) | ||
25 | |||
21 | t-exec: $(TESTPROGS) | 26 | t-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 | ||