# $NetBSD: Makefile,v 1.35 2021/04/12 06:08:31 mrg Exp $ # .PATH: ${.CURDIR}/../../../../net ${.CURDIR}/../../../../compat/common LIB= rumpnet_net COMMENT=Network interface and routing support IOCONF= NET.ioconf # iffy stuff SRCS= if.c if_loop.c if_stats.c route.c rtsock.c raw_usrreq.c \ raw_cb.c if_media.c link_proto.c net_stats.c if_ethersubr.c \ if_spppsubr.c SRCS+= if_43.c SRCS+= if_llatbl.c nd.c SRCS+= net_component.c SRCS+= ether_sw_offload.c .include .if !empty(RUMP_NBCOMPAT:M50) SRCS+= rtsock_50.c uipc_syscalls_50.c .endif .if !empty(RUMP_NBCOMPAT:M70) SRCS+= rtsock_70.c uipc_usrreq_70.c .endif COPTS.if_ethersubr.c+= ${GCC_NO_CAST_FUNCTION_TYPE} # GCC is wrong here. COPTS.in_pcb.c+= ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in6_pcb.c+= ${GCC_NO_RETURN_LOCAL_ADDR} .include "${.CURDIR}/../libnetinet/Makefile.inc" .include "${.CURDIR}/../libnetinet6/Makefile.inc" .include "${.CURDIR}/../libnetmpls/Makefile.inc" .include .include