## @configure_input@ ## ## \file Makefile.in ## \brief Makefile template for libsbml src/xml directory ## \author Michael Hucka ## ## $Id: Makefile.in 8704 2009-01-04 02:26:05Z mhucka $ ## $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/xml/Makefile.in $ ## ##*/ # ----------------------------------------------------------------------------- # Configuration variables # ----------------------------------------------------------------------------- # Some of the following are substituted automatically by `configure'. If # you are looking at "Makefile", do not edit these values; instead, run the # configure script at the top level of the src tree. It will recreate # "Makefile". include @top_srcdir@/config/makefile-common-vars.mk # `srcdir' points to the current directory, but should be set by configure. # `subdir' must be set manually to the relative dir under `srcdir'. Don't # set `subdir' to an absolute path, or some `make' actions will fail. srcdir = @srcdir@ thisdir = src/xml common_headers = \ XMLAttributes.h \ XMLBuffer.h \ XMLError.h \ XMLErrorLog.h \ XMLExtern.h \ XMLFileBuffer.h \ XMLHandler.h \ XMLInputStream.h \ XMLMemoryBuffer.h \ XMLNamespaces.h \ XMLNode.h \ XMLOutputStream.h \ XMLParser.h \ XMLToken.h \ XMLTokenizer.h \ XMLTriple.h common_sources = \ XMLAttributes.cpp \ XMLBuffer.cpp \ XMLError.cpp \ XMLErrorLog.cpp \ XMLFileBuffer.cpp \ XMLHandler.cpp \ XMLInputStream.cpp \ XMLMemoryBuffer.cpp \ XMLNamespaces.cpp \ XMLNode.cpp \ XMLOutputStream.cpp \ XMLParser.cpp \ XMLToken.cpp \ XMLTokenizer.cpp \ XMLTriple.cpp xerces_headers = \ XercesAttributes.h \ XercesHandler.h \ XercesNamespaces.h \ XercesParser.h \ XercesTranscode.h xerces_sources = \ XercesAttributes.cpp \ XercesHandler.cpp \ XercesNamespaces.cpp \ XercesParser.cpp \ XercesTranscode.cpp expat_headers = \ ExpatAttributes.h \ ExpatHandler.h \ ExpatParser.h expat_sources = \ ExpatAttributes.cpp \ ExpatHandler.cpp \ ExpatParser.cpp libxml_headers = \ LibXMLAttributes.h \ LibXMLHandler.h \ LibXMLNamespaces.h \ LibXMLParser.h \ LibXMLTranscode.h libxml_sources = \ LibXMLAttributes.cpp \ LibXMLHandler.cpp \ LibXMLNamespaces.cpp \ LibXMLParser.cpp \ LibXMLTranscode.cpp # Variables `subdirs', `headers', `sources', `libraries', `extra_CPPFLAGS', # `extra_CXXFLAGS', `extra_LDFLAGS' and `distfiles' are used by the default # rules in `makefile-common-actions.mk' included at the end. sources = $(common_sources) headers = $(common_headers) ifdef USE_EXPAT sources += $(expat_sources) headers += $(expat_headers) extra_CPPFLAGS += $(EXPAT_CPPFLAGS) -DUSE_EXPAT extra_LDFLAGS += $(EXPAT_LDFLAGS) extra_LIBS += $(EXPAT_LIBS) endif ifdef USE_XERCES sources += $(xerces_sources) headers += $(xerces_headers) extra_CPPFLAGS += $(XERCES_CPPFLAGS) -DUSE_XERCES extra_LDFLAGS += $(XERCES_LDFLAGS) extra_LIBS += $(XERCES_LIBS) endif ifdef USE_LIBXML sources += $(libxml_sources) headers += $(libxml_headers) extra_CPPFLAGS += $(LIBXML_CPPFLAGS) -DUSE_LIBXML extra_LDFLAGS += $(LIBXML_LDFLAGS) extra_LIBS += $(LIBXML_LIBS) endif ifeq "$(HOST_TYPE)" "cygwin" # Under cygwin, at least in gcc 3.4.4, the standard gcc STL class files # generate compiler warnings about use of uninitialized variables. To # avoid confusing libSBML users, ignore this particular warning. This is # not very safe because it can mask a real problem in OUR code, but it's # not easy to figure out what else to do, and anyway, if there are problems # we will probably catch them when testing on other platforms. problemversions = $(shell expr match `gcc -dumpversion` "3.4.4") CXXFLAGS += $(shell if (($(problemversions))); then echo -Wno-uninitialized; fi) endif header_inst_prefix = xml subdirs = test # `distfiles' determines the files and directories included in a distribution. # `distfiles_exclude' is used to filter out specific items, so that even if # they appear in `distfiles', they will not be copied in the distribution. distfiles = $(sources) $(expat_sources) $(xerces_sources) $(libxml_sources) \ $(headers) $(expat_headers) $(xerces_headers) $(libxml_headers) \ Makefile.in # ----------------------------------------------------------------------------- # Primary build actions # ----------------------------------------------------------------------------- # The default action is to remake everything. all: Makefile default # ----------------------------------------------------------------------------- # Checking. # ----------------------------------------------------------------------------- check: all check-recursive # ----------------------------------------------------------------------------- # Tags. # ----------------------------------------------------------------------------- tags: etags ctags # ----------------------------------------------------------------------------- # Installation # ----------------------------------------------------------------------------- # This library doesn't actually get installed. The main libsbml library # (in ../src) slurps in the contents when it's built. install: all install-headers installcheck: all installcheck-headers uninstall: uninstall-headers # ----------------------------------------------------------------------------- # Cleaning. # ----------------------------------------------------------------------------- clean: clean-normal clean-recursive distclean: distclean-normal distclean-recursive mostlyclean: mostlyclean-normal mostlyclean-recursive maintainer-clean: maintainer-clean-normal maintainer-clean-recursive # ----------------------------------------------------------------------------- # Creating distribution (for libSBML maintainers only) # ----------------------------------------------------------------------------- dist: all dist-normal dist-recursive distcheck: all distcheck-normal distcheck-recursive # ----------------------------------------------------------------------------- # Miscellaneous # ----------------------------------------------------------------------------- include @top_srcdir@/config/makefile-common-actions.mk # ----------------------------------------------------------------------------- # End. # -----------------------------------------------------------------------------