1 # $NetBSD: Makefile.rumpnet,v 1.13.6.1 2014/05/18 17:46:19 rmind Exp $ 2 # 3 4 LIB= rumpnet 5 6 .PATH: ${RUMPTOP}/librump/rumpnet \ 7 ${RUMPTOP}/../kern \ 8 ${RUMPTOP}/../net \ 9 ${RUMPTOP}/../compat/common 10 11 SRCS= net_stub.c netisr.c rump_net.c 12 13 SRCS+= rumpnet_if_wrappers.c 14 15 SRCS+= rumpnet_syscalls.c 16 17 # sys/kern networking (sockets, mbufs, etc.) 18 SRCS+= sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c \ 19 uipc_socket.c uipc_socket2.c uipc_syscalls.c 20 21 # radix trie support 22 SRCS+= radix.c 23 SRCS+= rtbl.c 24 25 # compat (nothing for now) 26 SRCS+= 27 28 # bpf stubs, required for all kernels 29 SRCS+= bpf_stub.c 30 31 # automatically in sync src/lib 32 SHLIB_MAJOR= 0 33 SHLIB_MINOR= 0 34 35 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt 36 37 .include "${RUMPTOP}/Makefile.rump" 38 39 .include <bsd.lib.mk> 40 .include <bsd.klinks.mk> 41