2011-03-31 23:40:51 +04:00
|
|
|
# $NetBSD: Makefile.rumpnet,v 1.12 2011/03/31 19:40:53 dyoung Exp $
|
2008-10-15 17:00:39 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "${RUMPTOP}/Makefile.rump"
|
|
|
|
|
|
|
|
LIB= rumpnet
|
|
|
|
|
|
|
|
.PATH: ${RUMPTOP}/librump/rumpnet \
|
2009-06-11 00:50:51 +04:00
|
|
|
${RUMPTOP}/../kern \
|
2009-01-23 22:34:37 +03:00
|
|
|
${RUMPTOP}/../net \
|
|
|
|
${RUMPTOP}/../compat/common
|
2008-10-15 17:00:39 +04:00
|
|
|
|
2009-10-16 04:16:32 +04:00
|
|
|
SRCS= net_stub.c netisr.c rump_net.c
|
2008-10-15 17:00:39 +04:00
|
|
|
|
2009-10-14 21:29:19 +04:00
|
|
|
SRCS+= rumpnet_if_wrappers.c
|
|
|
|
|
2008-10-15 17:00:39 +04:00
|
|
|
# sys/kern networking (sockets, mbufs, etc.)
|
|
|
|
SRCS+= sys_socket.c uipc_accf.c uipc_domain.c uipc_mbuf.c uipc_mbuf2.c \
|
|
|
|
uipc_socket.c uipc_socket2.c uipc_syscalls.c
|
|
|
|
|
2008-11-25 21:38:08 +03:00
|
|
|
# radix trie support
|
2008-11-25 21:36:08 +03:00
|
|
|
SRCS+= radix.c
|
2011-03-31 23:40:51 +04:00
|
|
|
SRCS+= rtbl.c
|
2008-11-25 21:36:08 +03:00
|
|
|
|
2011-02-01 04:39:19 +03:00
|
|
|
# compat (nothing for now)
|
|
|
|
SRCS+=
|
2009-01-23 22:34:37 +03:00
|
|
|
|
2010-01-20 01:08:16 +03:00
|
|
|
# bpf stubs, required for all kernels
|
|
|
|
SRCS+= bpf_stub.c
|
|
|
|
|
2008-10-15 17:00:39 +04:00
|
|
|
# automatically in sync src/lib
|
|
|
|
SHLIB_MAJOR= 0
|
|
|
|
SHLIB_MINOR= 0
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/librump/rumpnet/opt
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.klinks.mk>
|