Revision 30fabf574d7d1bd078a7c688cd497f6442be65f0 authored by Stefan Roiser on 29 June 2006, 14:35:40 UTC, committed by Stefan Roiser on 29 June 2006, 14:35:40 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@15612 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent bf5980b
Module.mk
# Module.mk for mathmore module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := mathmore
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
MATHMOREDIR := $(MODDIR)
MATHMOREDIRS := $(MATHMOREDIR)/src
MATHMOREDIRI := $(MATHMOREDIR)/inc
###pre-compiled GSL DLL require Mathmore to be compiled with -DGSL_DLL
#ifeq ($(PLATFORM),win32)
#GSLFLAGS += "-DGSL_DLL"
#endif
##### libMathMore #####
MATHMOREL := $(MODDIRI)/Math/LinkDef.h
MATHMORELINC := $(MODDIRI)/Math/LinkDef_SpecFunc.h \
$(MODDIRI)/Math/LinkDef_StatFunc.h \
$(MODDIRI)/Math/LinkDef_RootFinding.h \
$(MODDIRI)/Math/LinkDef_Func.h
MATHMOREDS := $(MODDIRS)/G__MathMore.cxx
MATHMOREDO := $(MATHMOREDS:.cxx=.o)
MATHMOREDH := $(MATHMOREDS:.cxx=.h)
MATHMOREDH1 := $(MODDIRI)/Math/ProbFuncMathMore.h \
$(MODDIRI)/Math/ProbFuncInv.h \
$(MODDIRI)/Math/SpecFuncMathMore.h \
$(MODDIRI)/Math/IGenFunction.h \
$(MODDIRI)/Math/IParamFunction.h \
$(MODDIRI)/Math/ParamFunction.h \
$(MODDIRI)/Math/WrappedFunction.h \
$(MODDIRI)/Math/Polynomial.h \
$(MODDIRI)/Math/Derivator.h \
$(MODDIRI)/Math/Interpolator.h \
$(MODDIRI)/Math/InterpolationTypes.h \
$(MODDIRI)/Math/RootFinder.h \
$(MODDIRI)/Math/GSLRootFinder.h \
$(MODDIRI)/Math/GSLRootFinderDeriv.h \
$(MODDIRI)/Math/RootFinderAlgorithms.h \
$(MODDIRI)/Math/Integrator.h \
$(MODDIRI)/Math/Chebyshev.h \
$(MODDIRI)/Math/Random.h \
$(MODDIRI)/Math/GSLRndmEngines.h
MATHMOREH := $(filter-out $(MODDIRI)/Math/LinkDef%,$(wildcard $(MODDIRI)/Math/*.h))
MATHMORES := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
MATHMOREO := $(MATHMORES:.cxx=.o)
MATHMOREDEP := $(MATHMOREO:.o=.d) $(MATHMOREDO:.o=.d)
MATHMORELIB := $(LPATH)/libMathMore.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/Math/%.h,include/Math/%.h,$(MATHMOREH))
ALLLIBS += $(MATHMORELIB)
# include all dependency files
INCLUDEFILES += $(MATHMOREDEP)
##### local rules #####
include/Math/%.h: $(MATHMOREDIRI)/Math/%.h
@(if [ ! -d "include/Math" ]; then \
mkdir -p include/Math; \
fi)
cp $< $@
$(MATHMORELIB): $(MATHMOREO) $(MATHMOREDO) $(ORDER_) $(MAINLIBS)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libMathMore.$(SOEXT) $@ \
"$(MATHMOREO) $(MATHMOREDO)" \
"$(MATHMORELIBEXTRA) $(GSLLIBDIR) $(GSLLIBS)"
$(MATHMOREDS): $(MATHMOREDH1) $(MATHMOREL) $(MATHMORELINC) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(MATHMOREDH1) $(MATHMOREL)
all-mathmore: $(MATHMORELIB)
map-mathmore: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(MATHMORELIB) \
-d $(MATHMORELIBDEP) -c $(MATHMOREL) $(MATHMORELINC)
map:: map-mathmore
clean-mathmore:
@rm -f $(MATHMOREO) $(MATHMOREDO)
clean:: clean-mathmore
distclean-mathmore: clean-mathmore
@rm -f $(MATHMOREDEP) $(MATHMOREDS) $(MATHMOREDH) $(MATHMORELIB)
@rm -rf include/Math
distclean:: distclean-mathmore
##### extra rules ######
$(MATHMOREO): CXXFLAGS += $(GSLFLAGS)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...