summaryrefslogtreecommitdiff
path: root/asdcplib/src/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-14 23:54:53 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-14 23:54:53 +0000
commita2374eb06a0f6d391d1d5ae04f50ce5e8076173a (patch)
treea3b83b31e739e7b5312a3a99e9a1c1446ff29bbb /asdcplib/src/wscript
parent38ff2954f40131a12aa8a037b9fc6c4abd3894b9 (diff)
Use out-of-tree asdcplib-cth
Diffstat (limited to 'asdcplib/src/wscript')
-rw-r--r--asdcplib/src/wscript89
1 files changed, 0 insertions, 89 deletions
diff --git a/asdcplib/src/wscript b/asdcplib/src/wscript
deleted file mode 100644
index 7aa1788b..00000000
--- a/asdcplib/src/wscript
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
-#
-# 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 2 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, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-#
-
-def configure(conf):
- conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64')
- conf.env.append_value('CXXFLAGS', '-DPACKAGE_VERSION="1.9.45-dvdomatic"')
- if conf.options.target_windows:
- conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="win32"')
- conf.env.append_value('CXXFLAGS', '-DKM_WIN32')
- else:
- conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="linux"')
-
-def build(bld):
- if bld.env.STATIC:
- obj = bld(features = 'cxx cxxstlib')
- else:
- obj = bld(features = 'cxx cxxshlib')
-
- obj.name = 'libkumu-libdcp%s' % bld.env.API_VERSION
- obj.target = 'kumu-libdcp%s' % bld.env.API_VERSION
- obj.uselib = 'OPENSSL BOOST_FILESYSTEM'
- obj.includes = ['.']
- obj.export_includes = ['.']
- obj.source = """
- KM_fileio.cpp
- KM_log.cpp
- KM_util.cpp
- KM_xml.cpp
- KM_tai.cpp
- KM_prng.cpp
- """
-
- if bld.env.STATIC:
- obj = bld(features = 'cxx cxxstlib')
- else:
- obj = bld(features = 'cxx cxxshlib')
-
- obj.name = 'libasdcp-libdcp%s' % bld.env.API_VERSION
- obj.target = 'asdcp-libdcp%s' % bld.env.API_VERSION
- obj.uselib = 'OPENSSL'
- obj.use = 'libkumu-libdcp%s' % bld.env.API_VERSION
- obj.includes = ['.']
- obj.export_includes = ['.']
- obj.source = """
- MPEG2_Parser.cpp
- MPEG.cpp
- JP2K_Codestream_Parser.cpp
- JP2K_Sequence_Parser.cpp
- JP2K.cpp
- PCM_Parser.cpp
- Wav.cpp
- TimedText_Parser.cpp
- KLV.cpp
- Dict.cpp
- MXFTypes.cpp
- MXF.cpp
- Index.cpp
- Metadata.cpp
- AS_DCP.cpp
- AS_DCP_MXF.cpp
- AS_DCP_AES.cpp
- h__Reader.cpp
- h__Writer.cpp
- AS_DCP_MPEG2.cpp
- AS_DCP_JP2K.cpp
- AS_DCP_PCM.cpp
- AS_DCP_TimedText.cpp
- PCMParserList.cpp
- MDD.cpp
- """
-
- if bld.env.STATIC:
- bld.install_files('${PREFIX}/lib', 'libkumu-libdcp%s.a' % bld.env.API_VERSION)
- bld.install_files('${PREFIX}/lib', 'libasdcp-libdcp%s.a' % bld.env.API_VERSION)