diff options
Diffstat (limited to 'openbsd-compat/regress/Makefile.in')
-rw-r--r-- | openbsd-compat/regress/Makefile.in | 39 |
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 | |||
3 | sysconfdir=@sysconfdir@ | ||
4 | piddir=@piddir@ | ||
5 | srcdir=@srcdir@ | ||
6 | top_srcdir=@top_srcdir@ | ||
7 | |||
8 | VPATH=@srcdir@ | ||
9 | CC=@CC@ | ||
10 | LD=@LD@ | ||
11 | CFLAGS=@CFLAGS@ | ||
12 | CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ | ||
13 | LIBS=@LIBS@ | ||
14 | LDFLAGS=-L.. -lopenbsd-compat @LDFLAGS@ | ||
15 | |||
16 | LIBCOMPAT=../libopenbsd-compat.a | ||
17 | TESTPROGS=strtonumtest strduptest snprintftest | ||
18 | |||
19 | all: t-exec ${OTHERTESTS} | ||
20 | |||
21 | t-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 | |||
29 | strtonumtest: strtonumtest.c $(LIBCOMPAT) | ||
30 | $(CC) $(CFLAGS) $(CPPFLAGS) -o strtonumtest $< $(LDFLAGS) | ||
31 | |||
32 | strduptest: strduptest.c $(LIBCOMPAT) | ||
33 | $(CC) $(CFLAGS) $(CPPFLAGS) -o strduptest $< $(LDFLAGS) | ||
34 | |||
35 | clean: | ||
36 | rm -f *.o *.a core $(TESTPROGS) valid.out | ||
37 | |||
38 | distclean: clean | ||
39 | rm -f Makefile *~ | ||