d09f6b3016
git-svn-id: svn://localhost/trunk/ardour2@4 d708f5d6-7413-0410-9779-e7cbd77b26cf
45 lines
805 B
Python
45 lines
805 B
Python
# -*- python -*-
|
|
|
|
import glob
|
|
|
|
Import('env libraries')
|
|
|
|
pbd3 = env.Copy()
|
|
|
|
domain = 'libpbd'
|
|
pbd3.Append(DOMAIN=domain,MAJOR=3,MINOR=0,MICRO=1)
|
|
|
|
pbd3_files = Split("""
|
|
basename.cc
|
|
dirname.cc
|
|
dmalloc.cc
|
|
ftw.cc
|
|
mountpoint.cc
|
|
pathscanner.cc
|
|
pool.cc
|
|
pthread_utils.cc
|
|
receiver.cc
|
|
strsplit.cc
|
|
textreceiver.cc
|
|
transmitter.cc
|
|
undo.cc
|
|
unescape.cc
|
|
version.cc
|
|
xml++.cc
|
|
""")
|
|
|
|
conf = Configure(pbd3)
|
|
if conf.CheckFunc('getmntent'):
|
|
conf.env.Append(CCFLAGS="-DHAVE_GETMNTENT")
|
|
pbd3 = conf.Finish()
|
|
|
|
pbd3.Merge ([ libraries['sigc2'], libraries['xml'] ])
|
|
|
|
pbd3.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
|
|
pbd3.Append(CCFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
|
|
|
|
pbd3.VersionBuild(['version.cc','pbd/version.h'], 'SConscript')
|
|
|
|
libpbd3 = pbd3.StaticLibrary('pbd', pbd3_files)
|
|
Default(libpbd3)
|