1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
## -*- python -*-
## jstest-gtk - A graphical joystick tester
## Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## 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. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
env = Environment()
env.ParseConfig('pkg-config --cflags --libs gtkmm-2.4 sigc++-2.0 expat x11')
env.Append(CPPFLAGS = os.environ['CPPFLAGS'],
CFLAGS = os.environ['CFLAGS'],
CXXFLAGS = os.environ['CXXFLAGS'],
LINKFLAGS = os.environ['LINKFLAGS'])
env.Program('jstest-gtk', [
'src/axis_widget.cpp',
'src/button_widget.cpp',
'src/throttle_widget.cpp',
'src/rudder_widget.cpp',
'src/xml_writer.cpp',
'src/xml_reader.cpp',
'src/xml_parser.cpp',
'src/joystick_list_widget.cpp',
'src/joystick_test_widget.cpp',
'src/joystick_calibration_widget.cpp',
'src/joystick_map_widget.cpp',
'src/joystick.cpp',
'src/calibrate_maximum_dialog.cpp',
'src/remap_widget.cpp',
'src/evdev_helper.cpp',
'src/main.cpp'
])
# EOF #
|