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