#	$NetBSD: Makefile.rumpnet,v 1.5 2009/06/10 20:50:51 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

# 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
CPPFLAGS+=	-DMAXUSERS=32

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
