Home | History | Annotate | Line # | Download | only in npftest
Makefile revision 1.5
      1 # $NetBSD: Makefile,v 1.5 2013/11/16 01:41:43 rmind Exp $
      2 #
      3 # Public Domain
      4 #
      5 
      6 PROG=		npftest
      7 
      8 SRCS=		npftest.c npfstream.c
      9 CPPFLAGS+=	-I${.CURDIR}
     10 
     11 LIBNPFTEST!=	cd ${.CURDIR}/libnpftest && ${MAKE} -V .OBJDIR
     12 DPADD+=		${LIBNPFTEST}/libnpftest.a
     13 LDADD+=		-L${LIBNPFTEST} -lnpftest
     14 
     15 LDADD+=		-lrump -lrumpvfs -lrumpnet -lrumpnet_net
     16 LDADD+=		-lrumpdev_bpf -lrumpkern_sljit -lrumpnet_bpfjit
     17 LDADD+=		-lrumpnet_npf
     18 
     19 LDADD+=		-lpcap -lprop -lpthread
     20 
     21 WARNS=		5
     22 NOMAN=		# no man page
     23 NOLINT=		# disabled (note: deliberately)
     24 
     25 SUBDIR+=	libnpftest
     26 
     27 ${LIBNPFTEST}/libnpftest.a: all-libnpftest
     28 
     29 .include <bsd.subdir.mk>
     30 .include <bsd.prog.mk>
     31