summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2020-09-08 09:33:17 -0700
committerjhurst <jhurst@cinecert.com>2020-09-08 09:33:17 -0700
commit2b52b1cc03707a4c876b38fdd8879a27a218d498 (patch)
tree6510eb7fef08bf66d7a52f097f31109866ce4791 /src/Makefile.am
parente1e8fdd9d0715c9df4ab12190cb27b02f3a1c5d8 (diff)
Added OpenSSL and Xerces build options to allow stand-alone compilation
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index da0f8dc..65ab3e0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -54,9 +54,12 @@ include_HEADERS = \
KM_aes.h \
KM_util.h \
KM_tai.h \
- KM_xml.h \
AS_DCP.h
+if HAVE_XERCESC
+#include_HEADERS += KM_xml.h
+endif
+
if DEV_HEADERS
include_HEADERS += \
S12MTimecode.h \
@@ -104,9 +107,13 @@ endif
# sources for kumu 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_util.h KM_tai.h KM_tai.cpp \
KM_sha1.cpp KM_sha1.h KM_aes.h KM_aes.cpp
+if HAVE_XERCESC
+#libkumu_la_SOURCES += KM_xml.cpp KM_xml.h
+endif
+
# linker flags (*not* including libraries to link against) for a library
libkumu_la_LDFLAGS = -release @VERSION@
@@ -114,11 +121,12 @@ libkumu_la_LDFLAGS = -release @VERSION@
# sources for asdcp 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
+
# sources for asdcp library
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 \
+ Index.cpp Metadata.cpp AS_DCP.cpp AS_DCP_MXF.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 \
@@ -133,6 +141,9 @@ libasdcp_la_SOURCES = MPEG2_Parser.cpp MPEG.cpp JP2K_Codestream_Parser.cpp \
UUIDInformation.c UUIDInformation.h \
ST2095_PinkNoise.cpp
+if HAVE_OPENSSL
+libasdcp_la_SOURCES += AS_DCP_AES.cpp
+endif
libasdcp_la_LDFLAGS = -release @VERSION@
# additional libraries to link against for a library