- (djm) [channels.c] Check for EPFNOSUPPORT as a socket() errno; bz#1721
[openssh-git.git] / openbsd-compat / regress / Makefile.in
blobbcf214bd021725b76e383bb9c2cc3c97bcf1ff19
1 # $Id: Makefile.in,v 1.4 2006/08/19 09:12:14 dtucker Exp $
3 sysconfdir=@sysconfdir@
4 piddir=@piddir@
5 srcdir=@srcdir@
6 top_srcdir=@top_srcdir@
8 VPATH=@srcdir@
9 CC=@CC@
10 LD=@LD@
11 CFLAGS=@CFLAGS@
12 CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
13 EXEEXT=@EXEEXT@
14 LIBCOMPAT=../libopenbsd-compat.a
15 LIBS=@LIBS@
16 LDFLAGS=@LDFLAGS@ $(LIBCOMPAT)
18 TESTPROGS=closefromtest$(EXEEXT) snprintftest$(EXEEXT) strduptest$(EXEEXT) \
19 strtonumtest$(EXEEXT)
21 all: t-exec ${OTHERTESTS}
23 %$(EXEEXT): %.c
24 $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBS)
26 t-exec: $(TESTPROGS)
27 @echo running compat regress tests
28 @for TEST in ""$?; do \
29 echo "run test $${TEST}" ... 1>&2; \
30 ./$${TEST}$(EXEEXT) || exit $$? ; \
31 done
32 @echo finished compat regress tests
34 clean:
35 rm -f *.o *.a core $(TESTPROGS) valid.out
37 distclean: clean
38 rm -f Makefile *~