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