## @configure_input@ ## ## Filename : Makefile.in ## Description : Makefile template for libsbml main sources ## Author(s) : SBML Team ## Organization: California Institute of Technology ## Created : 2004-06-11 ## Revision : $Id: Makefile.in 8704 2009-01-04 02:26:05Z mhucka $ ## $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/math/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/math # Variables `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. headers = \ ASTNode.h \ FormulaFormatter.h \ FormulaParser.h \ FormulaTokenizer.h \ MathML.h header_inst_prefix = math sources = \ ASTNode.cpp \ FormulaFormatter.c \ FormulaParser.c \ FormulaTokenizer.c \ MathML.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. ifdef USE_EXPAT extra_CPPFLAGS += $(EXPAT_CPPFLAGS) extra_LDFLAGS += $(EXPAT_LDFLAGS) extra_LIBS += $(EXPAT_LIBS) else extra_CPPFLAGS += $(XERCES_CPPFLAGS) extra_LDFLAGS += $(XERCES_LDFLAGS) extra_LIBS += $(XERCES_LIBS) endif 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) $(headers) Makefile.in # ----------------------------------------------------------------------------- # Primary build actions # ----------------------------------------------------------------------------- # The default action is to remake everything. Those rules which are not # defined below are defined in makefile-common-actions.mk. all: Makefile default # ----------------------------------------------------------------------------- # Checking. # ----------------------------------------------------------------------------- check: check-recursive # ----------------------------------------------------------------------------- # Tags. # ----------------------------------------------------------------------------- tags: etags ctags # ----------------------------------------------------------------------------- # Installation # ----------------------------------------------------------------------------- # This doesn't actually get installed as a library. The main libsbml library # (in ../sbml) slurps in the object files when it's built. Here we just put # in 'all' as a default to make sure files get compiled if someone does # 'make install' from the top level without first doing a 'make'. 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. # -----------------------------------------------------------------------------