Makefile revision 1.3
1# $NetBSD: Makefile,v 1.3 2012/09/10 11:29:06 adam Exp $
2#
3
4.include <bsd.own.mk>
5
6TESTSDIR=	${TESTSBASE}/net/fdpass
7
8TESTS_SH=	t_fdpass
9
10PROGS=          fdpass64 fdpass32
11MAN.fdpass64=    # empty
12BINDIR.fdpass64= ${TESTSDIR}
13
14.if (${MACHINE} == "sparc64" || ${MACHINE} == "amd64") && ${MKCOMPAT} != "no"
15COPTS.fdpass32.c	+= -m32
16LDFLAGS.fdpass32	+= -m32
17.endif
18MAN.fdpass32=    # empty
19BINDIR.fdpass32= ${TESTSDIR}
20
21
22fdpass64.c fdpass32.c:	fdpass.c
23	ln -s ${.CURDIR}/fdpass.c ${.TARGET}
24
25CLEANFILES	+= fdpass64.c fdpass32.c
26
27.include <bsd.test.mk>
28