1 # $Id: Makefile.in,v 1.4 2006/08/19 09:12:14 dtucker Exp $
3 sysconfdir
=@sysconfdir@
6 top_srcdir
=@top_srcdir@
12 CPPFLAGS
=-I.
-I..
-I
$(srcdir) -I
$(srcdir)/.. @CPPFLAGS@ @DEFS@
14 LIBCOMPAT
=..
/libopenbsd-compat.a
16 LDFLAGS
=@LDFLAGS@
$(LIBCOMPAT
)
18 TESTPROGS
=closefromtest
$(EXEEXT
) snprintftest
$(EXEEXT
) strduptest
$(EXEEXT
) \
21 all: t-exec
${OTHERTESTS}
24 $(CC
) $(CFLAGS
) $(CPPFLAGS
) $(LDFLAGS
) -o
$@
$< $(LIBCOMPAT
) $(LIBS
)
27 @echo running compat regress tests
28 @for TEST in
""$?
; do \
29 echo
"run test $${TEST}" ...
1>&2; \
30 .
/$${TEST}$(EXEEXT
) || exit
$$?
; \
32 @echo finished compat regress tests
35 rm -f
*.o
*.a core
$(TESTPROGS
) valid.out