swh:1:snp:af87cd67498ef4fe47c76ed3e7caffe5b61facaf
Tip revision: 240159a4d51a78c4c9e6b34f1809285b7355ba28 authored by Unknown Author on 07 June 2006, 09:10:54 UTC
This commit was manufactured by cvs2svn to create tag 'v5-11-06'.
This commit was manufactured by cvs2svn to create tag 'v5-11-06'.
Tip revision: 240159a
Module.mk
# Module.mk for treeplayer module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := treeplayer
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
TREEPLAYERDIR := $(MODDIR)
TREEPLAYERDIRS := $(TREEPLAYERDIR)/src
TREEPLAYERDIRI := $(TREEPLAYERDIR)/inc
##### libTreePlayer #####
TREEPLAYERL := $(MODDIRI)/LinkDef.h
TREEPLAYERDS := $(MODDIRS)/G__TreePlayer.cxx
TREEPLAYERDO := $(TREEPLAYERDS:.cxx=.o)
TREEPLAYERDH := $(TREEPLAYERDS:.cxx=.h)
TREEPLAYERH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
TREEPLAYERS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
TREEPLAYERO := $(TREEPLAYERS:.cxx=.o)
TREEPLAYERDEP := $(TREEPLAYERO:.o=.d) $(TREEPLAYERDO:.o=.d)
TREEPLAYERLIB := $(LPATH)/libTreePlayer.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(TREEPLAYERH))
ALLLIBS += $(TREEPLAYERLIB)
# include all dependency files
INCLUDEFILES += $(TREEPLAYERDEP)
##### local rules #####
include/%.h: $(TREEPLAYERDIRI)/%.h
cp $< $@
$(TREEPLAYERLIB): $(TREEPLAYERO) $(TREEPLAYERDO) $(ORDER_) $(MAINLIBS) \
$(TREEPLAYERLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libTreePlayer.$(SOEXT) $@ \
"$(TREEPLAYERO) $(TREEPLAYERDO)" \
"$(TREEPLAYERLIBEXTRA)"
$(TREEPLAYERDS): $(TREEPLAYERH) $(TREEPLAYERL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(TREEPLAYERH) $(TREEPLAYERL)
all-treeplayer: $(TREEPLAYERLIB)
map-treeplayer: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(TREEPLAYERLIB) \
-d $(TREEPLAYERLIBDEP) -c $(TREEPLAYERL)
map:: map-treeplayer
clean-treeplayer:
@rm -f $(TREEPLAYERO) $(TREEPLAYERDO)
clean:: clean-treeplayer
distclean-treeplayer: clean-treeplayer
@rm -f $(TREEPLAYERDEP) $(TREEPLAYERDS) $(TREEPLAYERDH) \
$(TREEPLAYERLIB)
distclean:: distclean-treeplayer
##### extra rules ######
ifeq ($(ARCH),macosx)
ifeq ($(GCC_VERS_FULL),gcc-4.0.1)
$(TREEPLAYERDIRS)/TTreeFormula.o: OPT = $(NOOPT)
endif
endif