Home | History | Annotate | Line # | Download | only in can
      1 # $NetBSD: Makefile,v 1.4 2024/12/11 19:57:13 andvar 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 included.
     17 # 
     18 LDADD+=		-lrumpnet_netcan -lrumpnet_netinet -lrumpnet_net -lrumpnet
     19 LDADD+=		${LIBRUMPBASE}
     20 
     21 .include <bsd.test.mk>
     22