## @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 9850 2009-07-18 10:33:19Z ajouraku $ ## Source : $HeadURL: https://sbml.svn.sourceforge.net/svnroot/sbml/trunk/libsbml/src/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 # 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. # Warning: the "sbml" subdir is special because it ends up linking all of # libsbml. Anything that goes into libsbml needs to appear on the # `subdirs' list before "sbml". However, the "bindings" directory needs to # be very last because it depends on the libsbml library being linked. So # the last two items on this list should always be "sbml" and "bindings", # in that order. Finally, anything added here ahead of "sbml" needs to be # also added to the variable "otherdirs" in sbml/Makefile.in, again because # that one links all the objects together into libsbml. (This is confusing # and fragile, and should be improved some day.) subdirs = common util compress xml math validator units annotation sbml bindings 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 ifdef USE_SUN_CC extra_LIBS += -lCstd endif # `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 = 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. Targets of the # form 'foo-recursive' are interpreted by the common makefile rules as meaning # "go into every subdir and do 'make foo' in each". all: Makefile all-recursive include: include-recursive docs: # ----------------------------------------------------------------------------- # Checking. # ----------------------------------------------------------------------------- check: check-prereq check-recursive check-prereq: ; $(MAKE) all # ----------------------------------------------------------------------------- # Tags. # ----------------------------------------------------------------------------- tags: etags ctags # ----------------------------------------------------------------------------- # Installation. # ----------------------------------------------------------------------------- install: all install-recursive install-libraries install-docs: installcheck: all installcheck-libraries uninstall: uninstall-recursive # ----------------------------------------------------------------------------- # 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: dist-recursive dist-normal distcheck: distcheck-recursive distcheck-normal # ----------------------------------------------------------------------------- # Common default rules. # ----------------------------------------------------------------------------- include @top_srcdir@/config/makefile-common-actions.mk # ----------------------------------------------------------------------------- # End. # -----------------------------------------------------------------------------