source: trunk/avango-tools/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
25from avango.build.oshelper import *
26
27avango.build.Environment.prepend_include_path(Dir('include').abspath)
28tools_env = avango.build.Environment()
29
30# Substitutions
31tools_env['SUBST'] = {
32    'PREFIX': avango.build.get_prefix().abspath,
33    'AVANGO_TOOLS_DEBUG': int(tools_env['DEBUG']),
34    'AVANGO_TOOLS_OSG_SUPPORT': int(tools_env['OPENSCENEGRAPH_SUPPORT']),
35    'PKG_CONFIG_REQUIRES': 'avango-core, avango-osg',
36    'AVANGO_TOOLS_VERSION': '1.90.0',
37    'AVANGO_TOOLS_VERSION_MAJOR': '1',
38    'AVANGO_TOOLS_VERSION_MINOR': '90',
39    'AVANGO_TOOLS_VERSION_MAINT': '0',
40    }
41
42avango_tools_pc = tools_env.Subst('dist/pkg-config/avango-tools.pc.in')
43Alias('tools', avango_tools_pc)
44Alias('install-tools', tools_env.Install(avango.build.get_pkgconfig_path(), avango_tools_pc))
45
46config_h = tools_env.Subst('include/avango/tools/Config.h.in')
47Alias('tools', config_h)
48Alias('install-tools', tools_env.Install(avango.build.get_include_path('avango/tools'), config_h))
49
50Alias('all', Alias('tools'))
51Alias('install', Alias('install-tools'))
52
53# Subdirs
54Export('tools_env')
55
56SConscript ([
57    'include/avango/tools/SConscript',
58    'src/avango/tools/SConscript',
59    'python/SConscript',
60])
Note: See TracBrowser for help on using the repository browser.