[sword-cvs] sword/src/mgr Makefile.am,1.14,1.15
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 12 Apr 2004 06:47:24 -0700
Update of /cvs/core/sword/src/mgr
In directory www:/tmp/cvs-serv31553/src/mgr
Modified Files:
Makefile.am
Log Message:
dglassey: change to allow current style module bits to be built as a separate lib
Index: Makefile.am
===================================================================
RCS file: /cvs/core/sword/src/mgr/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Makefile.am 29 Aug 2003 06:00:16 -0000 1.14
+++ Makefile.am 12 Apr 2004 13:47:22 -0000 1.15
@@ -6,17 +6,29 @@
globdef =
endif
-INCLUDES += $(globdef)
+if BUILDSPLITLIB
+spdefs = -DSPLITLIB
+else
+spdefs =
+endif
+
+AM_CPPFLAGS += $(globdef) $(spdefs)
libsword_la_SOURCES += $(mgrdir)/swconfig.cpp
libsword_la_SOURCES += $(mgrdir)/swmgr.cpp
libsword_la_SOURCES += $(mgrdir)/swfiltermgr.cpp
libsword_la_SOURCES += $(mgrdir)/encfiltmgr.cpp
-libsword_la_SOURCES += $(mgrdir)/markupfiltmgr.cpp
+mgrsplits = $(mgrdir)/markupfiltmgr.cpp
libsword_la_SOURCES += $(mgrdir)/filemgr.cpp
libsword_la_SOURCES += $(mgrdir)/swlocale.cpp
libsword_la_SOURCES += $(mgrdir)/localemgr.cpp
libsword_la_SOURCES += $(mgrdir)/swcacher.cpp
libsword_la_SOURCES += $(mgrdir)/swsearchable.cpp
libsword_la_SOURCES += $(mgrdir)/installmgr.cpp
+
+if BUILDSPLITLIB
+libsword_imp_la_SOURCES += $(mgrsplits)
+else
+libsword_la_SOURCES += $(mgrsplits)
+endif