summaryrefslogtreecommitdiff
path: root/libs/pbd/SConscript
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2009-12-06 14:21:46 +0000
committerTaybin Rutkin <taybin@taybin.com>2009-12-06 14:21:46 +0000
commit52b4b464f9657860e07b224564245ce22ea03df8 (patch)
treeeb920d2cfde38a4b2b5c38ef06d95c492665003d /libs/pbd/SConscript
parent3fdcba185980896366cc0d3d14f6dfd6bbaf1d0a (diff)
Merged revisions 6292,6294-6295,6311,6314 via svnmerge from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes ........ r6292 | trutkin | 2009-12-05 08:31:25 -0500 (Sat, 05 Dec 2009) | 1 line remove scons build files ........ r6294 | trutkin | 2009-12-05 09:11:17 -0500 (Sat, 05 Dec 2009) | 2 lines cairomm remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6295 | trutkin | 2009-12-05 09:12:54 -0500 (Sat, 05 Dec 2009) | 2 lines soundtouch remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6311 | trutkin | 2009-12-05 23:38:49 -0500 (Sat, 05 Dec 2009) | 2 lines glibmm2, gtkmm2, libgnomecanvasmm, sigc++2 remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6314 | trutkin | 2009-12-06 09:15:49 -0500 (Sun, 06 Dec 2009) | 4 lines remove scons referencing from Makefile - TODO: should move cscope stuff to waf and get rid of the Makefile ........ git-svn-id: svn://localhost/ardour2/branches/3.0@6315 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/SConscript')
-rw-r--r--libs/pbd/SConscript89
1 files changed, 0 insertions, 89 deletions
diff --git a/libs/pbd/SConscript b/libs/pbd/SConscript
deleted file mode 100644
index 19f6ea6598..0000000000
--- a/libs/pbd/SConscript
+++ /dev/null
@@ -1,89 +0,0 @@
-# -*- python -*-
-
-import os
-import os.path
-import glob
-
-Import('env libraries i18n install_prefix')
-
-pbd = env.Clone()
-
-domain = 'libpbd'
-
-pbd.Append(DOMAIN=domain,MAJOR=4,MINOR=1,MICRO=0)
-pbd.Append(CXXFLAGS="-DPACKAGE=\\\"" + domain + "\\\"")
-pbd.Append(CXXFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
-pbd.Append(CXXFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
-pbd.Append(PACKAGE=domain)
-pbd.Append(POTFILE=domain + '.pot')
-
-pbd_files = Split("""
-basename.cc
-base_ui.cc
-command.cc
-convert.cc
-controllable.cc
-enumwriter.cc
-dmalloc.cc
-error.cc
-filesystem.cc
-filesystem_paths.cc
-file_utils.cc
-fpu.cc
-id.cc
-malign.cc
-mountpoint.cc
-pathscanner.cc
-pool.cc
-pthread_utils.cc
-receiver.cc
-search_path.cc
-shortpath.cc
-stacktrace.cc
-stateful.cc
-strreplace.cc
-strsplit.cc
-textreceiver.cc
-transmitter.cc
-undo.cc
-uuid.cc
-version.cc
-whitespace.cc
-xml++.cc
-""")
-
-conf = Configure(pbd)
-if conf.CheckFunc('getmntent'):
- conf.env.Append(CCFLAGS="-DHAVE_GETMNTENT")
-if conf.CheckCHeader('execinfo.h'):
- conf.env.Append(CXXFLAGS="-DHAVE_EXECINFO")
-pbd = conf.Finish()
-
-pbd.Merge ([ libraries['sigc2'],
- libraries['xml'],
- libraries['uuid'],
- libraries['glibmm2'],
- libraries['glib2'],
- libraries['boost'] ])
-
-if pbd['VST']:
- pbd.Append(CCFLAGS="-DWINE_THREAD_SUPPORT", CPPPATH="#libs/fst")
-
-pbd.VersionBuild(['version.cc','pbd/version.h'], [])
-
-libpbd = pbd.SharedLibrary('pbd', pbd_files)
-Default(libpbd)
-
-mount_env = Environment(CCFLAGS='-DTEST_MOUNTPOINT -Ilibs/pbd')
-mount_env.Program('mountpoint', 'mountpoint.cc')
-
-if env['NLS']:
- i18n (pbd, pbd_files, env)
-
-env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), libpbd))
-
-env.Alias('tarball', env.Distribute (env['DISTTREE'],
- [ 'SConscript', 'i18n.h', 'gettext.h', 'pbd/abstract_ui.cc' ] +
- pbd_files +
- glob.glob('po/*.po') +
- glob.glob('pbd/*.h')))