Hi Suzanne,

There's no official way to do this, but you can experiment with removing
subdirectories from the Makefile until you get something that links and has
everything you need in it.

Look at the following two sections of the Makefile:

   ALL_VPATH_CPP = \
   $(XALANDOM_DIR):$(PLATFORMSUPPORT_DIR):$(DOMSUPPORT_DIR):$(XMLSUPPORT_DIR):
 \
   $(XPATH_DIR):$(XERCESPARSERLIAISON_DIR):$(XALANSOURCETREE_DIR):$(XPATHCAPI_DIR):
 \
   $(XSLT_DIR):$(XALANEXTENSIONS_DIR):$(XALANEXSLT_DIR):$(XALANTRANSFORMER_DIR):
 \
   $(TESTXPATH_DIR):$(TESTXSLT_DIR) \

   ...


   ALLSOURCE = \
      $(wildcard $(XALANDOM_DIR)/*.cpp) \
      $(wildcard $(PLATFORMSUPPORT_DIR)/*.cpp) \
      $(wildcard $(DOMSUPPORT_DIR)/*.cpp) \
      $(wildcard $(XMLSUPPORT_DIR)/*.cpp) \
      $(wildcard $(XPATH_DIR)/*.cpp) \
      $(wildcard $(XERCESPARSERLIAISON_DIR)/*.cpp) \
      $(wildcard $(XALANSOURCETREE_DIR)/*.cpp) \
      $(wildcard $(XPATHCAPI_DIR)/*.cpp) \
      $(wildcard $(XSLT_DIR)/*.cpp) \
      $(wildcard $(XALANEXTENSIONS_DIR)/*.cpp) \
      $(wildcard $(XALANTRANSFORMER_DIR)/*.cpp) \
      $(wildcard $(XALANEXSLT_DIR)/*.cpp) \


   # Using ICUBridge
   ifdef XALAN_USE_ICU
   ALLSOURCE += \
      $(wildcard $(ICUBRIDGE_DIR)/*.cpp)
   endif

You should be able to remove XSLT_DIR, XALANEXTENSIONS_DIR,
XALANTRANSFORMER_DIR, and XALANEXSLT_DIR

For a 390 build, you'll need to worry about XalanTemplate.cpp, which is in
the XSLT subdirectory.  You can move it to another directory and modify the
rule in the Makefile, or you can find some other way to make it.  For
example, you could delete all of the .cpp files from the XSLT directory,
except for XalanTemplate.cpp, but leave the XSLT_DIR directory in the
Makefile.  For that matter, you could avoid messing with the Makefile and
just delete .cpp files in those directories.

Hope that helps...

Dave



                                                                                       
                                  
                      Suzanne Dirkers                                                  
                                  
                      <[EMAIL PROTECTED]         To:      [EMAIL PROTECTED]            
                             
                      com>                     cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                             
                                               Subject: build XPath only?              
                                  
                      04/01/2003 12:18                                                 
                                  
                      PM                                                               
                                  
                      Please respond                                                   
                                  
                      to xalan-dev                                                     
                                  
                                                                                       
                                  







Hi,

        Is it possible to build XPath by itself as a standalone dll , and
if so is there a special makefile flag or option to do this?

Suzanne



Reply via email to