You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@apache.org on 2001/02/01 17:26:18 UTC
cvs commit: xml-xalan/c/src Makefile.in
auriemma 01/02/01 08:26:18
Modified: c/src Makefile.in
Log:
Added XalanTranfomer class to library and added ApacheModuleXSLT sample to makefile.
Revision Changes Path
1.26 +17 -4 xml-xalan/c/src/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/Makefile.in,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- Makefile.in 2001/01/27 18:04:10 1.25
+++ Makefile.in 2001/02/01 16:26:18 1.26
@@ -55,6 +55,9 @@
#
#
# $Log: Makefile.in,v $
+# Revision 1.26 2001/02/01 16:26:18 auriemma
+# Added XalanTranfomer class to library and added ApacheModuleXSLT sample to makefile.
+#
# Revision 1.25 2001/01/27 18:04:10 dbertoni
# Incorporated changes for Solaris with Sun Workshop 4.2.
#
@@ -204,6 +207,7 @@
XSLT_DIR = XSLT
XERCESINIT_DIR = XercesInit
XERCESPARSERLIAISON_DIR = XercesParserLiaison
+XALANTRANSFORMER_DIR = XalanTransformer
ALL_OBJECTS_DIR = ${XALANCROOT}/obj
LIB_DIR = ${XALANCROOT}/lib
SAMPLES_DIR = ${XALANCROOT}/samples
@@ -219,8 +223,7 @@
ALL_VPATH_CPP = \
$(XALANDOM_DIR):$(DOMSUPPORT_DIR):$(PLATFORMSUPPORT_DIR):$(XALANSOURCETREE_DIR):$(TESTXPATH_DIR):$(TESTXSLT_DIR):\
-$(XMLSUPPORT_DIR):$(XPATH_DIR):$(XSLT_DIR):$(XERCESINIT_DIR):\
-$(XERCESPARSERLIAISON_DIR)
+$(XMLSUPPORT_DIR):$(XPATH_DIR):$(XSLT_DIR):$(XERCESINIT_DIR):$(XALANTRANSFORMER_DIR):$(XERCESPARSERLIAISON_DIR)
# Using ICUBridge
ifdef XALAN_USE_ICU
@@ -384,7 +387,8 @@
$(wildcard $(XSLT_DIR)/*.cpp) \
$(wildcard $(XERCESINIT_DIR)/*.cpp) \
$(wildcard $(XERCESPARSERLIAISON_DIR)/*.cpp) \
-
+ $(wildcard $(XALANTRANSFORMER_DIR)/*.cpp) \
+
# Using ICUBridge
ifdef XALAN_USE_ICU
@@ -436,6 +440,14 @@
Samples: lib CompileStylesheet ExternalFunction SimpleTransform TraceListen UseStylesheetParam XPathWrapper # ThreadSafe
+ApacheModuleXSLT: lib ${LIB_DIR}/mod_xslt$(SHLIBSUFFIX)
+
+${LIB_DIR}/mod_xslt$(SHLIBSUFFIX) : ${ALL_OBJECTS_DIR}/mod_xslt.o
+ $(MAKE_SHARED) $(XSL_BUILD_OPTIONS) ${PLATFORM_LIB_LINK_OPTIONS} ${LIBRARY_SEARCH_PATHS} \
+ ${EXTRA_LINK_OPTIONS} -L$(LIB_DIR) -l$(PROJECT_NAME)$(VER) $(ALLLIBS) $(CXXFLAGS) $^ -o $@
+${ALL_OBJECTS_DIR}/%.o:$(SAMPLES_DIR)/ApacheModuleXSLT/%.c
+ $(CC1) $(XSL_BUILD_OPTIONS) -c $(XSL_INCL) -I/usr/include/apache/ $(EXTRA_COMPILE_OPTIONS) -o $@ $<
+
CompileStylesheet: lib $(SAMPLES_DIR)/CompileStylesheet/CompileStylesheet
$(SAMPLES_DIR)/CompileStylesheet/CompileStylesheet: ${ALL_OBJECTS_DIR}/CompileStylesheet.o
@@ -493,7 +505,8 @@
rm -f $(ALL_OBJECTS_DIR)/*.o
rm -f $(THISLIB)$(VER)$(SHLIBSUFFIX)
rm -f $(BINTARGETDIR)/testXSLT
- rm -f $(BINTARGETDIR)/testXPath
+ rm -f $(BINTARGETDIR)/testXPath
+ rm -f ${LIB_DIR}/mod_xslt$(SHLIBSUFFIX)
rm -f $(SAMPLES_DIR)/CompileStylesheet/CompileStylesheet
rm -f $(SAMPLES_DIR)/ExternalFunction/ExternalFunction
rm -f $(SAMPLES_DIR)/SimpleTransform/SimpleTransform