summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-30 16:50:21 +0000
committerDavid Robillard <d@drobilla.net>2008-09-30 16:50:21 +0000
commit93850c202de8b073a1ce1dd8bd246d407bce4e2f (patch)
tree6910b135bf4eff12de1af116cef73f6e9c107cd0 /src/gui/wscript
parenta8bf5272d096de73507d2eab47f282c345f4ca8a (diff)
downloadingen-93850c202de8b073a1ce1dd8bd246d407bce4e2f.tar.gz
ingen-93850c202de8b073a1ce1dd8bd246d407bce4e2f.tar.bz2
ingen-93850c202de8b073a1ce1dd8bd246d407bce4e2f.zip
Flatten ingen source directory heirarchy a bit.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1551 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
new file mode 100644
index 00000000..8895c7bc
--- /dev/null
+++ b/src/gui/wscript
@@ -0,0 +1,65 @@
+#!/usr/bin/env python
+import Params
+
+def build(bld):
+ obj = bld.create_obj('cpp', 'shlib')
+ obj.source = '''
+ App.cpp
+ BreadCrumbBox.cpp
+ Configuration.cpp
+ ConnectWindow.cpp
+ ControlPanel.cpp
+ Controls.cpp
+ GladeFactory.cpp
+ LoadPatchWindow.cpp
+ LoadPluginWindow.cpp
+ LoadRemotePatchWindow.cpp
+ LoadSubpatchWindow.cpp
+ MessagesWindow.cpp
+ NewSubpatchWindow.cpp
+ NodeControlWindow.cpp
+ NodeMenu.cpp
+ NodeModule.cpp
+ NodePropertiesWindow.cpp
+ ObjectMenu.cpp
+ PatchCanvas.cpp
+ PatchPortModule.cpp
+ PatchPropertiesWindow.cpp
+ PatchTreeWindow.cpp
+ PatchView.cpp
+ PatchWindow.cpp
+ Port.cpp
+ PortMenu.cpp
+ PortPropertiesWindow.cpp
+ RenameWindow.cpp
+ SubpatchModule.cpp
+ ThreadedLoader.cpp
+ WindowFactory.cpp
+ gui.cpp
+ '''
+
+ if bld.env()['HAVE_CURL']:
+ obj.source += 'UploadPatchWindow.cpp'
+
+ dir = Params.g_options.moduledir or bld.env()['PREFIX'] + 'lib/ingen'
+
+ obj.includes = ['..', '../../common', '../..']
+ obj.defines = 'INGEN_DATA_DIR=\\\"' + dir + '\\\"'
+ obj.name = 'libingen_gui'
+ obj.target = 'ingen_gui'
+ obj.vnum = '0.0.0'
+ obj.uselib_local = 'libingen_client libingen_shared'
+ obj.uselib = '''
+ CURL
+ FLOWCANVAS
+ GLADEMM
+ GLIBMM
+ GNOMECANVASMM
+ GTKMM
+ RAUL
+ REDLANDMM
+ SIGCPP
+ SLV2
+ SOUP
+ XML2
+ '''