1 # $NetBSD: Makefile,v 1.21 2015/04/22 17:57:49 pooka Exp $ 2 # 3 4 .include <bsd.init.mk> 5 6 .PATH: ${.CURDIR}/../../../../net ${.CURDIR}/../../../../compat/common 7 8 LIB= rumpnet_net 9 10 # iffy stuff 11 SRCS= if.c if_loop.c route.c rtsock.c raw_usrreq.c \ 12 raw_cb.c if_media.c link_proto.c net_stats.c if_ethersubr.c 13 SRCS+= if_43.c pfil.c 14 SRCS+= net_component.c 15 16 .if !empty(RUMP_COMPAT:M50) 17 SRCS+= rtsock_50.c uipc_syscalls_50.c 18 .endif 19 20 CPPFLAGS+= -I${.CURDIR}/opt -I${.CURDIR}/../libnetinet/opt 21 CPPFLAGS+= -DCOMPAT_OIFREQ -DCOMPAT_OIFDATA 22 23 .include "${.CURDIR}/../libnetinet/Makefile.inc" 24 .include "${.CURDIR}/../libnetinet6/Makefile.inc" 25 .include "${.CURDIR}/../libnetmpls/Makefile.inc" 26 27 .include <bsd.lib.mk> 28 .include <bsd.klinks.mk> 29