2009-01-23 22:34:37 +03:00
|
|
|
# $NetBSD: Makefile.rumpnet,v 1.4 2009/01/23 19:34:37 pooka Exp $
|
2008-10-15 17:00:39 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "${RUMPTOP}/Makefile.rump"
|
|
|
|
|
|
|
|
LIB= rumpnet
|
|
|
|
|
|
|
|
.PATH: ${RUMPTOP}/librump/rumpnet \
|
2008-11-25 21:36:08 +03:00
|
|
|
${RUMPTOP}/../kern ${RUMPTOP}/../lib/libkern \
|
2009-01-23 22:34:37 +03:00
|
|
|
${RUMPTOP}/../net \
|
|
|
|
${RUMPTOP}/../compat/common
|
2008-10-15 17:00:39 +04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2008-11-25 21:38:08 +03:00
|
|
|
# radix trie support
|
2008-11-25 21:36:08 +03:00
|
|
|
SRCS+= radix.c
|
|
|
|
|
2008-10-15 17:00:39 +04:00
|
|
|
# src/lib/libkern
|
|
|
|
SRCS+= intoa.c
|
|
|
|
|
2009-01-23 22:34:37 +03:00
|
|
|
# compat
|
|
|
|
SRCS+= rtsock_50.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
|
|
|
|
CPPFLAGS+= -DMAXUSERS=32
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.include <bsd.klinks.mk>
|