summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-03-19 16:46:53 +0000
committerjhurst <>2009-03-19 16:46:53 +0000
commit213c1015cd54bd3539a7e28fd004419dcf31e007 (patch)
tree1549d1ec39a8a1b80f1321736d2fb945f7f9e63f /src
parent1a1e7cb31f631cd5205b1a4ce9cd4c031fafb5d1 (diff)
for Mikey
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am59
1 files changed, 39 insertions, 20 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 67db495..17537b0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
## Makefile.am -- Process this file with automake to produce Makefile.in
#
# $Id$
-# Copyright (c) 2007-2008 John Hurst. All rights reserved.
+# Copyright (c) 2007-2009 John Hurst. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -40,56 +40,66 @@ endif
# list of all the header files that should be installed
include_HEADERS = KM_error.h KM_fileio.h KM_log.h KM_memio.h KM_mutex.h \
- KM_platform.h KM_prng.h KM_util.h KM_xml.h AS_DCP.h
+ KM_platform.h KM_prng.h KM_util.h KM_xml.h AS_DCP.h
if DEV_HEADERS
include_HEADERS += S12MTimecode.h MDD.h Metadata.h KLV.h MXFTypes.h MXF.h Wav.h \
- PCMParserList.h asdcp_wrappers.h
+ PCMParserList.h asdcp_wrappers.h
endif
# list of the libraries to build and install
lib_LTLIBRARIES = libkumu.la libasdcp.la
# sources for a library
libkumu_la_SOURCES = KM_error.h KM_fileio.cpp KM_fileio.h KM_log.cpp KM_log.h \
- KM_memio.h KM_mutex.h KM_platform.h KM_prng.cpp KM_prng.h KM_util.cpp \
- KM_util.h KM_xml.cpp KM_xml.h KM_tai.h KM_tai.cpp
+ KM_memio.h KM_mutex.h KM_platform.h KM_prng.cpp KM_prng.h KM_util.cpp \
+ KM_util.h KM_xml.cpp KM_xml.h KM_tai.h KM_tai.cpp
+
# linker flags (*not* including libraries to link against) for a library
libkumu_la_LDFLAGS = -release @VERSION@
+
# sources for a library that don't get added to a distribution
nodist_libasdcp_la_SOURCES = Metadata_h.tt2 Metadata_cpp.tt2 \
- mxfgen.pl MXF_def.pl ullist.pl ULList.xml dict.xml DMS_Crypto.xml
+ mxfgen.pl MXF_def.pl ullist.pl ULList.xml dict.xml DMS_Crypto.xml
+
libasdcp_la_SOURCES = 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 \
- Wav.h WavFileWriter.h MXF.h Metadata.h \
- JP2K.h AS_DCP.h AS_DCP_internal.h KLV.h MPEG.h MXFTypes.h MDD.h \
- PCMParserList.h S12MTimecode.h MDD.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 \
+ Wav.h WavFileWriter.h MXF.h Metadata.h \
+ JP2K.h AS_DCP.h AS_DCP_internal.h KLV.h MPEG.h MXFTypes.h MDD.h \
+ PCMParserList.h S12MTimecode.h MDD.cpp
+
libasdcp_la_LDFLAGS = -release @VERSION@
+
# additional libraries to link against for a library
libasdcp_la_LIBADD = libkumu.la
libasdcp_la_CPPFLAGS = -DASDCP_PLATFORM=\"@host@\"
+
# Python extension
if PYTHON_USE
lib_LTLIBRARIES += libpyasdcp.la
+
nodist_libpyasdcp_la_SOURCES = asdcp_python.cpp asdcp_python.h \
- asdcp_python_writerinfo.h asdcp_python_misc.cpp \
- asdcp_python_reader.cpp asdcp_python_writer.cpp asdcp_wrappers.h \
- kumu_python.cpp kumu_python.h
+ asdcp_python_writerinfo.h asdcp_python_misc.cpp \
+ asdcp_python_reader.cpp asdcp_python_writer.cpp asdcp_wrappers.h \
+ kumu_python.cpp kumu_python.h
+
libpyasdcp_la_CPPFLAGS = @PYTHON_CPPFLAGS@
libpyasdcp_la_LDFLAGS = @PYTHON_LSPEC@
libpyasdcp_la_LIBADD = libkumu.la libasdcp.la
+
pyexecdir = @PYTHON_EXECDIR@
pyexec_includedir = $(PYTHON_PREFIX)/include/python$(PYTHON_SHORTVERSION)
nodist_pyexec_include_HEADERS = kumu_python.h asdcp_python.h
pyexec_LTLIBRARIES = kumu.la asdcp.la
nodist_kumu_la_SOURCES = pykumu.cpp kumu_python.h
+
kumu_la_CPPFLAGS = @PYTHON_CPPFLAGS@
kumu_la_LDFLAGS = @PYTHON_LSPEC@ -avoid-version -module
kumu_la_LIBADD = libpyasdcp.la
-
nodist_asdcp_la_SOURCES = pyasdcp.cpp asdcp_python.h
+
asdcp_la_CPPFLAGS = @PYTHON_CPPFLAGS@
asdcp_la_LDFLAGS = @PYTHON_LSPEC@ -avoid-version -module
asdcp_la_LIBADD = libpyasdcp.la
@@ -97,10 +107,11 @@ endif
# list of programs to be built and installed
bin_PROGRAMS = asdcp-test blackwave klvwalk kmfilegen kmrandgen \
- kmuuidgen wavesplit
+ kmuuidgen wavesplit
# sources for a program
asdcp_test_SOURCES = asdcp-test.cpp
+
# list of libraries to link against for a program
asdcp_test_LDADD = libasdcp.la
kmfilegen_SOURCES = kmfilegen.cpp
@@ -118,10 +129,11 @@ wavesplit_LDADD = libasdcp.la
# list of programs that need to be compiled for use in test suite
check_PROGRAMS = asdcp-mem-test path-test jp2k-test S429-5-cgi \
- fips-186-rng-test asdcp-version
+ fips-186-rng-test asdcp-version tt-xform
# sources for a test program
asdcp_mem_test_SOURCES = asdcp-mem-test.cpp
+
# list of libraries to link against for a test program
asdcp_mem_test_LDADD = libasdcp.la
path_test_SOURCES = path-test.cpp
@@ -134,12 +146,15 @@ fips_186_rng_test_SOURCES = fips-186-rng-test.cpp
fips_186_rng_test_LDADD = libasdcp.la
asdcp_version_SOURCES = asdcp-version.cpp
asdcp_version_LDADD = libkumu.la
+tt_xform_SOURCES = tt-xform.cpp TimedText_Transform.h TimedText_Transform.cpp
+tt_xform_LDADD = libkumu.la
# list of test scripts to execute during "make check"
TESTS = rng-tst.sh gen-tst.sh \
jp2k-tst.sh jp2k-crypt-tst.sh jp2k-stereo-tst.sh jp2k-stereo-crypt-tst.sh \
wav-tst.sh wav-crypt-tst.sh mpeg-tst.sh mpeg-crypt-tst.sh
+
# environment variables to pass to above tests
TESTS_ENVIRONMENT = BUILD_DIR="." TEST_FILES=../tests TEST_FILE_PREFIX=DCPd1-M1 \
CRYPT_KEY=70e0de21c98fbd455ad5b8042edb41a6 CRYPT_KEY_B=aa2d05475d568cd52cb3415e65cba76f \
@@ -171,3 +186,7 @@ Metadata.h:
# dependencies: Metadata.h $(srcdir)/Metadata_cpp.tt2
Metadata.cpp:
$(srcdir)/mxfgen.pl $(srcdir)/MXF_def.pl $(srcdir)/Metadata_cpp.tt2 > Metadata.cpp
+
+#
+#
+#