1 # $NetBSD: Makefile,v 1.2 2017/05/27 21:02:56 bouyer Exp $ 2 # 3 4 .include <bsd.own.mk> 5 6 TESTSDIR= ${TESTSBASE}/net/can 7 8 TESTS_C= t_can t_canfilter 9 10 SRCS.t_can= t_can.c h_canutils.c 11 12 SRCS.t_canfilter= t_canfilter.c h_canutils.c 13 14 # XXX we don't use INET here, but we need rumpnet_netinet anyway: 15 # common code in if.c is compiled with -DINET and will dereference ip_pktq, 16 # which is NULL if rumpnet_netinet is not inclued. 17 # 18 LDADD+= -lrumpnet_netcan -lrumpnet_netinet -lrumpnet_net -lrumpnet 19 LDADD+= -lrump -lrumpuser -lrump -lpthread -lrumpdev -lrumpvfs 20 21 .include <bsd.test.mk> 22