From 025b03492fccd7d733e2a155e93fa73228428a7c Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Thu, 15 Jan 2004 00:01:40 +0000 Subject: [PATCH] Move experimant new_stack design to Jam building system. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6082 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kits/net/new_stack/Jamfile | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/tests/kits/net/new_stack/Jamfile diff --git a/src/tests/kits/net/new_stack/Jamfile b/src/tests/kits/net/new_stack/Jamfile new file mode 100644 index 0000000000..0342e4404e --- /dev/null +++ b/src/tests/kits/net/new_stack/Jamfile @@ -0,0 +1,31 @@ +SubDir OBOS_TOP src tests kits net new_stack ; + +UseHeaders [ FDirName $(OBOS_TOP) src tests kits net new_stack headers ] ; + +SimpleTest stack_tester : + net_stack_server.cpp + userland_modules.cpp + : be +; + +{ + # symlink the userland add-ons dir to the dir where the net_stack_tester + # lives + local dir = [ on stack_tester return $(LOCATE) ] ; + MakeLocate userland : $(OBOS_ADDON_DIR) ; + MakeLocate add-ons : $(dir) ; + RelSymLink add-ons : userland : false ; + + # alias for the stack_tester the modules link against + LOCATE on stack_tester = $(dir) ; + Depends stack_tester + : stack_tester add-ons ; +} + +SubInclude OBOS_TOP src tests kits net new_stack memory_pool ; +SubInclude OBOS_TOP src tests kits net new_stack atomizer ; +SubInclude OBOS_TOP src tests kits net new_stack stack ; +SubInclude OBOS_TOP src tests kits net new_stack interfaces ; +SubInclude OBOS_TOP src tests kits net new_stack protocols ; +SubInclude OBOS_TOP src tests kits net new_stack framings ; +# SubInclude OBOS_TOP src tests kits net new_stack ppp ;