Home | History | Annotate | Line # | Download | only in libnet
Makefile revision 1.32
      1 #	$NetBSD: Makefile,v 1.32 2019/10/13 07:28:14 mrg Exp $
      2 #
      3 
      4 
      5 .PATH:	${.CURDIR}/../../../../net ${.CURDIR}/../../../../compat/common
      6 
      7 LIB=	rumpnet_net
      8 COMMENT=Network interface and routing support
      9 
     10 IOCONF=	NET.ioconf
     11 # iffy stuff
     12 SRCS=	if.c if_loop.c route.c rtsock.c raw_usrreq.c			\
     13 	raw_cb.c if_media.c link_proto.c net_stats.c if_ethersubr.c	\
     14 	if_spppsubr.c
     15 SRCS+=	if_43.c
     16 SRCS+=	if_llatbl.c
     17 SRCS+=	net_component.c
     18 SRCS+=	ether_sw_offload.c
     19 
     20 .include <bsd.init.mk>
     21 
     22 .if !empty(RUMP_NBCOMPAT:M50)
     23 SRCS+=	rtsock_50.c uipc_syscalls_50.c
     24 .endif
     25 
     26 .if !empty(RUMP_NBCOMPAT:M70)
     27 SRCS+=	rtsock_70.c uipc_usrreq_70.c
     28 .endif
     29 
     30 COPTS.if_ethersubr.c+=		${GCC_NO_CAST_FUNCTION_TYPE}
     31 
     32 .include "${.CURDIR}/../libnetinet/Makefile.inc"
     33 .include "${.CURDIR}/../libnetinet6/Makefile.inc"
     34 .include "${.CURDIR}/../libnetmpls/Makefile.inc"
     35 
     36 .include <bsd.lib.mk>
     37 .include <bsd.klinks.mk>
     38