[Xorp-cvs] SF.net SVN: xorp:[11705] trunk/xorp/utils/SConscript

greear at users.sourceforge.net greear at users.sourceforge.net
Wed May 12 18:21:34 PDT 2010


Revision: 11705
          http://xorp.svn.sourceforge.net/xorp/?rev=11705&view=rev
Author:   greear
Date:     2010-05-13 01:21:34 +0000 (Thu, 13 May 2010)

Log Message:
-----------
utils:  Add SConscript file.

Signed-off-by: Ben Greear <greearb at candelatech.com>

Added Paths:
-----------
    trunk/xorp/utils/SConscript

Added: trunk/xorp/utils/SConscript
===================================================================
--- trunk/xorp/utils/SConscript	                        (rev 0)
+++ trunk/xorp/utils/SConscript	2010-05-13 01:21:34 UTC (rev 11705)
@@ -0,0 +1,59 @@
+# Copyright (c) 2009 XORP, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License, Version 2, June
+# 1991 as published by the Free Software Foundation. Redistribution
+# and/or modification of this program under the terms of any other
+# version of the GNU General Public License is not permitted.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details,
+# see the GNU General Public License, Version 2, a copy of which can be
+# found in the XORP LICENSE.gpl file.
+#
+# XORP Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA;
+# http://xorp.net
+
+# $XORP$
+
+import os
+Import('env')
+
+env = env.Clone()
+
+is_shared = env.has_key('SHAREDLIBS')
+
+env.AppendUnique(CPPPATH = [
+    '#',
+    '$BUILDDIR',
+    ])
+
+env.PrependUnique(LIBPATH = [
+    '.',
+    ])
+
+env.AppendUnique(LIBS = [
+    # Nothing at this time
+])
+
+
+env.Replace(RPATH = [
+    env.Literal(env['xorp_module_rpath'])
+])
+
+
+runit_srcs = [
+	'runit.cc',
+    ]
+
+
+runit = env.Program(target = 'runit', source = runit_srcs)
+
+#if env['WITH_TESTS']:
+#    env.Alias('install', env.InstallProgram(env['xorp_tooldir'], runit))
+
+# Install scripts
+#env.Alias('install', env.InstallProgram('$exec_prefix/sbin/', env.Entry('bgp_xrl_shell_funcs.sh')))
+
+Default(runit)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list