swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Tip revision: 2c2302ac883787cb7482ba120625d0f89331120b authored by Unknown Author on 01 December 2006, 17:01:11 UTC
This commit was manufactured by cvs2svn to create tag 'v5-13-04d'.
This commit was manufactured by cvs2svn to create tag 'v5-13-04d'.
Tip revision: 2c2302a
Module.mk
# Module.mk for quadp module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, Eddy Offermann, 21/05/2003
MODDIR := quadp
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
QUADPDIR := $(MODDIR)
QUADPDIRS := $(QUADPDIR)/src
QUADPDIRI := $(QUADPDIR)/inc
##### libQuadp #####
QUADPL := $(MODDIRI)/LinkDef.h
QUADPDS := $(MODDIRS)/G__Quadp.cxx
QUADPDO := $(QUADPDS:.cxx=.o)
QUADPDH := $(QUADPDS:.cxx=.h)
QUADPH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
QUADPS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
QUADPO := $(QUADPS:.cxx=.o)
QUADPDEP := $(QUADPO:.o=.d) $(QUADPDO:.o=.d)
QUADPLIB := $(LPATH)/libQuadp.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(QUADPH))
ALLLIBS += $(QUADPLIB)
# include all dependency files
INCLUDEFILES += $(QUADPDEP)
##### local rules #####
include/%.h: $(QUADPDIRI)/%.h
cp $< $@
$(QUADPLIB): $(QUADPO) $(QUADPDO) $(ORDER_) $(MAINLIBS) $(QUADPLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libQuadp.$(SOEXT) $@ "$(QUADPO) $(QUADPDO)" \
"$(QUADPLIBEXTRA)"
$(QUADPDS): $(QUADPH) $(QUADPL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(QUADPH) $(QUADPL)
all-quadp: $(QUADPLIB)
map-quadp: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(QUADPLIB) \
-d $(QUADPLIBDEP) -c $(QUADPL)
map:: map-quadp
clean-quadp:
@rm -f $(QUADPO) $(QUADPDO)
clean:: clean-quadp
distclean-quadp: clean-quadp
@rm -f $(QUADPDEP) $(QUADPDS) $(QUADPDH) $(QUADPLIB)
distclean:: distclean-quadp