source: trunk/avango-moving/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)
27moving_env = avango.build.Environment()
28
29# Substitutions
30moving_env['SUBST'] = {
31    'PREFIX': avango.build.get_prefix().abspath,
32    'AVANGO_MOVING_DEBUG': int(moving_env['DEBUG']),
33    'PKG_CONFIG_REQUIRES': 'avango-core, avango-osg',
34    'AVANGO_MOVING_VERSION': '1.90.0',
35    'AVANGO_MOVING_VERSION_MAJOR': '1',
36    'AVANGO_MOVING_VERSION_MINOR': '90',
37    'AVANGO_MOVING_VERSION_MAINT': '0',
38    }
39
40avango_moving_pc = moving_env.Subst('dist/pkg-config/avango-moving.pc.in')
41Alias('moving', avango_moving_pc)
42Alias('install-moving', moving_env.Install(avango.build.get_pkgconfig_path(), avango_moving_pc))
43
44config_h = moving_env.Subst('include/avango/moving/Config.h.in')
45Alias('moving', config_h)
46Alias('install-moving', moving_env.Install(avango.build.get_include_path('avango/moving'), config_h))
47
48Alias('all', Alias('moving'))
49Alias('install', Alias('install-moving'))
50
51for lib in ['avango-core', 'avango-osg', 'avango-python', 'osg']:
52    avango.build.add_library(moving_env, lib)
53
54# Subdirs
55Export('moving_env')
56
57SConscript ([
58    'include/avango/moving/SConscript',
59    'src/avango/moving/SConscript',
60    'python/SConscript',
61])
Note: See TracBrowser for help on using the repository browser.