part 2 of 3 of the 2.8 -> 3.0 merge
[ardour.git] / libs / pbd / SConscript
index 12664a1fca2232a316ab67b1e6ab136db9f77b59..51a852fd443e925d912386d9285c148697061d3d 100644 (file)
@@ -6,7 +6,7 @@ import glob
 
 Import('env libraries i18n install_prefix')
 
-pbd = env.Copy()
+pbd = env.Clone()
 
 domain = 'libpbd'
 
@@ -22,18 +22,22 @@ basename.cc
 base_ui.cc
 command.cc
 convert.cc
-copyfile.cc
 controllable.cc
 enumwriter.cc
 dmalloc.cc
 error.cc
+filesystem.cc
+filesystem_paths.cc
+file_utils.cc
+fpu.cc
 id.cc
 mountpoint.cc
-path.cc
 pathscanner.cc
 pool.cc
 pthread_utils.cc
 receiver.cc
+search_path.cc
+shortpath.cc
 stacktrace.cc
 stateful.cc
 strreplace.cc
@@ -41,6 +45,7 @@ strsplit.cc
 textreceiver.cc
 transmitter.cc
 undo.cc
+uuid.cc
 version.cc
 whitespace.cc
 xml++.cc
@@ -55,8 +60,13 @@ pbd = conf.Finish()
 
 pbd.Merge ([ libraries['sigc2'],
              libraries['xml'],
+             libraries['uuid'],
              libraries['glibmm2'],
-             libraries['glib2'] ])
+             libraries['glib2'],
+             libraries['boost'] ])
+
+if pbd['VST']:
+    pbd.Append(CCFLAGS="-DWINE_THREAD_SUPPORT", CPPPATH="#libs/fst")
 
 pbd.VersionBuild(['version.cc','pbd/version.h'], [])
 
@@ -69,7 +79,7 @@ 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'], 'ardour2'), libpbd))
+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' ] +