#	$NetBSD: Makefile.rumpnet,v 1.9 2009/10/16 00:16:32 pooka Exp $
#

.include "${RUMPTOP}/Makefile.rump"

LIB=		rumpnet

.PATH:	${RUMPTOP}/librump/rumpnet				\
	${RUMPTOP}/../kern					\
	${RUMPTOP}/../net					\
	${RUMPTOP}/../compat/common

SRCS=	net_stub.c netisr.c rump_net.c

SRCS+=	rumpnet_if_wrappers.c

# 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

# radix trie support
SRCS+=	radix.c

# compat
SRCS+=	rtsock_50.c

# 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>
