diff options
-rw-r--r-- | librdfa/Makefile.am | 25 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 24 insertions, 3 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 diff --git a/src/Makefile.am b/src/Makefile.am index 717e8d97..ea977ce7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -165,7 +165,7 @@ endif libraptor2_la_LIBADD = if LIBRDFA -AM_CPPFLAGS += -DLIBRDFA_IN_RAPTOR -I$(top_srcdir)/librdfa +AM_CPPFLAGS += -I$(top_srcdir)/librdfa libraptor2_la_LIBADD += $(top_builddir)/librdfa/librdfa.la endif |