summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am7
-rw-r--r--docs/Makefile.am7
-rw-r--r--src/Makefile.am7
-rw-r--r--utils/Makefile.am7
4 files changed, 24 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 8fbafffd..403a9a8b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,7 +71,7 @@ STANDARD_CFLAGS=@STANDARD_CFLAGS@ $(MEM)
LIBS=@LIBS@ $(MEM_LIBS)
-libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c raptor_serialize_rdfxmla.c\
+libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c \
raptor_rfc2396.c raptor_uri.c raptor_locator.c \
raptor_namespace.c raptor_qname.c \
raptor_feature.c raptor_general.c raptor_utf8.c \
@@ -103,6 +103,11 @@ endif
if RAPTOR_PARSER_GRDDL
libraptor_la_SOURCES += raptor_xslt.c
endif
+# Note other serializers are currently implemented in raptor_serialize.c
+# and cannot be conditionally compiled away as separate files
+if RAPTOR_SERIALIZER_RDFXML_ABBREV
+libraptor_la_SOURCES += raptor_serialize_rdfxmla.c
+endif
if RAPTOR_NFC_CHECK
libraptor_la_SOURCES += raptor_nfc_data.c raptor_nfc.c raptor_nfc.h
endif
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 8fbafffd..403a9a8b 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -71,7 +71,7 @@ STANDARD_CFLAGS=@STANDARD_CFLAGS@ $(MEM)
LIBS=@LIBS@ $(MEM_LIBS)
-libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c raptor_serialize_rdfxmla.c\
+libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c \
raptor_rfc2396.c raptor_uri.c raptor_locator.c \
raptor_namespace.c raptor_qname.c \
raptor_feature.c raptor_general.c raptor_utf8.c \
@@ -103,6 +103,11 @@ endif
if RAPTOR_PARSER_GRDDL
libraptor_la_SOURCES += raptor_xslt.c
endif
+# Note other serializers are currently implemented in raptor_serialize.c
+# and cannot be conditionally compiled away as separate files
+if RAPTOR_SERIALIZER_RDFXML_ABBREV
+libraptor_la_SOURCES += raptor_serialize_rdfxmla.c
+endif
if RAPTOR_NFC_CHECK
libraptor_la_SOURCES += raptor_nfc_data.c raptor_nfc.c raptor_nfc.h
endif
diff --git a/src/Makefile.am b/src/Makefile.am
index 8fbafffd..403a9a8b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -71,7 +71,7 @@ STANDARD_CFLAGS=@STANDARD_CFLAGS@ $(MEM)
LIBS=@LIBS@ $(MEM_LIBS)
-libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c raptor_serialize_rdfxmla.c\
+libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c \
raptor_rfc2396.c raptor_uri.c raptor_locator.c \
raptor_namespace.c raptor_qname.c \
raptor_feature.c raptor_general.c raptor_utf8.c \
@@ -103,6 +103,11 @@ endif
if RAPTOR_PARSER_GRDDL
libraptor_la_SOURCES += raptor_xslt.c
endif
+# Note other serializers are currently implemented in raptor_serialize.c
+# and cannot be conditionally compiled away as separate files
+if RAPTOR_SERIALIZER_RDFXML_ABBREV
+libraptor_la_SOURCES += raptor_serialize_rdfxmla.c
+endif
if RAPTOR_NFC_CHECK
libraptor_la_SOURCES += raptor_nfc_data.c raptor_nfc.c raptor_nfc.h
endif
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 8fbafffd..403a9a8b 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -71,7 +71,7 @@ STANDARD_CFLAGS=@STANDARD_CFLAGS@ $(MEM)
LIBS=@LIBS@ $(MEM_LIBS)
-libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c raptor_serialize_rdfxmla.c\
+libraptor_la_SOURCES = raptor_parse.c raptor_serialize.c \
raptor_rfc2396.c raptor_uri.c raptor_locator.c \
raptor_namespace.c raptor_qname.c \
raptor_feature.c raptor_general.c raptor_utf8.c \
@@ -103,6 +103,11 @@ endif
if RAPTOR_PARSER_GRDDL
libraptor_la_SOURCES += raptor_xslt.c
endif
+# Note other serializers are currently implemented in raptor_serialize.c
+# and cannot be conditionally compiled away as separate files
+if RAPTOR_SERIALIZER_RDFXML_ABBREV
+libraptor_la_SOURCES += raptor_serialize_rdfxmla.c
+endif
if RAPTOR_NFC_CHECK
libraptor_la_SOURCES += raptor_nfc_data.c raptor_nfc.c raptor_nfc.h
endif