Revision 8ab25493f0a074bb85b050389cb146b7ce527ff0 authored by Fons Rademakers on 29 September 2006, 08:18:19 UTC, committed by Fons Rademakers on 29 September 2006, 08:18:19 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@16380 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent f029540
Module.mk
# Module.mk for matrix module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := matrix
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
MATRIXDIR := $(MODDIR)
MATRIXDIRS := $(MATRIXDIR)/src
MATRIXDIRI := $(MATRIXDIR)/inc
##### libMatrix #####
MATRIXL := $(MODDIRI)/LinkDef.h
MATRIXDS := $(MODDIRS)/G__Matrix.cxx
MATRIXDO := $(MATRIXDS:.cxx=.o)
MATRIXDH := $(MATRIXDS:.cxx=.h)
MATRIXH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
MATRIXS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
MATRIXO := $(MATRIXS:.cxx=.o)
MATRIXDEP := $(MATRIXO:.o=.d) $(MATRIXDO:.o=.d)
MATRIXLIB := $(LPATH)/libMatrix.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(MATRIXH))
ALLLIBS += $(MATRIXLIB)
# include all dependency files
INCLUDEFILES += $(MATRIXDEP)
##### local rules #####
include/%.h: $(MATRIXDIRI)/%.h
cp $< $@
$(MATRIXLIB): $(MATRIXO) $(MATRIXDO) $(ORDER_) $(MAINLIBS)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libMatrix.$(SOEXT) $@ "$(MATRIXO) $(MATRIXDO)" \
"$(MATRIXLIBEXTRA)"
$(MATRIXDS): $(MATRIXH) $(MATRIXL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(MATRIXH) $(MATRIXL)
all-matrix: $(MATRIXLIB)
map-matrix: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(MATRIXLIB) \
-d $(MATRIXLIBDEP) -c $(MATRIXL)
map:: map-matrix
clean-matrix:
@rm -f $(MATRIXO) $(MATRIXDO)
clean:: clean-matrix
distclean-matrix: clean-matrix
@rm -f $(MATRIXDEP) $(MATRIXDS) $(MATRIXDH) $(MATRIXLIB)
distclean:: distclean-matrix
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...