source: trunk/avango-daemon/SConscript @ 408

Revision 408, 2.7 KB checked in by tholt, 2 years ago (diff)

More copyright header corrections

  • Property svn:eol-style set to native
Line 
1# -*- Mode:Python -*-
2
3##########################################################################
4#                                                                        #
5# This file is part of AVANGO.                                           #
6#                                                                        #
7# Copyright 1997 - 2009 Fraunhofer-Gesellschaft zur Foerderung der       #
8# angewandten Forschung (FhG), Munich, Germany.                          #
9#                                                                        #
10# AVANGO is free software: you can redistribute it and/or modify         #
11# it under the terms of the GNU Lesser General Public License as         #
12# published by the Free Software Foundation, version 3.                  #
13#                                                                        #
14# AVANGO is distributed in the hope that it will be useful,              #
15# but WITHOUT ANY WARRANTY; without even the implied warranty of         #
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           #
17# GNU General Public License for more details.                           #
18#                                                                        #
19# You should have received a copy of the GNU Lesser General Public       #
20# License along with AVANGO. If not, see <http://www.gnu.org/licenses/>. #
21#                                                                        #
22##########################################################################
23
24import avango.build
25
26avango.build.Environment.prepend_include_path(Dir('include').abspath)
27daemon_env = avango.build.Environment()
28
29# Substitutions
30daemon_env['SUBST'] = {
31    'PREFIX': avango.build.get_prefix().abspath,
32    'AVANGO_DAEMON_DEBUG': int(daemon_env['DEBUG']),
33    'AVANGO_DAEMON_VRPN_SUPPORT': int(daemon_env['VRPN_SUPPORT']),
34    'PKG_CONFIG_REQUIRES': 'avango-core, avango-osg',
35    'AVANGO_DAEMON_VERSION': '1.90.0',
36    'AVANGO_DAEMON_VERSION_MAJOR': '1',
37    'AVANGO_DAEMON_VERSION_MINOR': '90',
38    'AVANGO_DAEMON_VERSION_MAINT': '0',
39    }
40
41avango_daemon_pc = daemon_env.Subst('dist/pkg-config/avango-daemon.pc.in')
42Alias('daemon', avango_daemon_pc)
43Alias('install-daemon', daemon_env.Install(avango.build.get_library_path('pkgconfig'), avango_daemon_pc))
44
45config_h = daemon_env.Subst('include/avango/daemon/Config.h.in')
46Alias('daemon', config_h)
47Alias('install-daemon', daemon_env.Install(avango.build.get_include_path('avango/daemon'), config_h))
48
49Alias('all', Alias('daemon'))
50Alias('check', Alias('check-daemon'))
51Alias('install', Alias('install-daemon'))
52
53# Subdirs
54SConscript ([
55    'include/avango/daemon/SConscript',
56    'src/avango/daemon/SConscript',
57    'src/avango/daemon/tests/SConscript',
58    'python/SConscript',
59])
Note: See TracBrowser for help on using the repository browser.