summaryrefslogtreecommitdiff
path: root/librdfa
diff options
context:
space:
mode:
Diffstat (limited to 'librdfa')
-rw-r--r--librdfa/Makefile.am25
1 files changed, 23 insertions, 2 deletions
diff --git a/librdfa/Makefile.am b/librdfa/Makefile.am
index c13b743c..1be09e4a 100644
--- a/librdfa/Makefile.am
+++ b/librdfa/Makefile.am
@@ -3,7 +3,9 @@
# Makefile for librdfa convienience library
#
+if LIBRDFA
noinst_LTLIBRARIES = librdfa.la
+AM_CPPFLAGS = -DLIBRDFA_IN_RAPTOR -I$(srcdir)
librdfa_la_SOURCES = \
context.c \
@@ -14,12 +16,10 @@ lists.c \
namespace.c \
rdfa.c \
rdfa_utils.c \
-strtok_r.c \
subject.c \
triple.c \
rdfa.h \
rdfa_utils.h \
-strtok_r.h \
config.h
if NEED_STRTOK_R
@@ -32,3 +32,24 @@ endif
# Do not need:
# mingw32_utils.c
# mingw32_utils.h
+
+else
+
+EXTRA_DIST = \
+context.c \
+curie.c \
+iri.c \
+language.c \
+lists.c \
+namespace.c \
+rdfa.c \
+rdfa_utils.c \
+strtok_r.c \
+subject.c \
+triple.c \
+rdfa.h \
+rdfa_utils.h \
+strtok_r.h \
+config.h
+
+endif