1 # $NetBSD: Makefile.rumpnet,v 1.12 2011/03/31 19:40:53 dyoung Exp $ 2 # 3 4 .include "${RUMPTOP}/Makefile.rump" 5 6 LIB= rumpnet 7 8 .PATH: ${RUMPTOP}/librump/rumpnet \ 9 ${RUMPTOP}/../kern \ 10 ${RUMPTOP}/../net \ 11 ${RUMPTOP}/../compat/common 12 13 SRCS= net_stub.c netisr.c rump_net.c 14 15 SRCS+= rumpnet_if_wrappers.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 <bsd.lib.mk> 38 .include <bsd.klinks.mk> 39