Revision 1a2b18f41ec38b35790d6e0d43043f079e8a37a0 authored by Vassil Vassilev on 02 April 2014, 13:24:15 UTC, committed by Vassil Vassilev on 02 April 2014, 13:24:26 UTC
1 parent a8f6da8
Module.mk
# Module.mk for table module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODNAME := table
MODDIR := $(ROOT_SRCDIR)/misc/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
TABLEDIR := $(MODDIR)
TABLEDIRS := $(TABLEDIR)/src
TABLEDIRI := $(TABLEDIR)/inc
##### libTable #####
TABLEL := $(MODDIRI)/LinkDef.h
TABLEDS := $(call stripsrc,$(MODDIRS)/G__Table.cxx)
TABLEDO := $(TABLEDS:.cxx=.o)
TABLEDH := $(TABLEDS:.cxx=.h)
TABLEH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
TABLES := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
TABLEO := $(call stripsrc,$(TABLES:.cxx=.o))
TABLEDEP := $(TABLEO:.o=.d) $(TABLEDO:.o=.d)
TABLELIB := $(LPATH)/libTable.$(SOEXT)
TABLEMAP := $(TABLELIB:.$(SOEXT)=.rootmap)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(TABLEH))
ALLLIBS += $(TABLELIB)
ALLMAPS += $(TABLEMAP)
# include all dependency files
INCLUDEFILES += $(TABLEDEP)
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(TABLEDIRI)/%.h
cp $< $@
$(TABLELIB): $(TABLEO) $(TABLEDO) $(ORDER_) $(MAINLIBS) $(TABLELIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libTable.$(SOEXT) $@ "$(TABLEO) $(TABLEDO)" \
"$(TABLELIBEXTRA)"
$(call pcmrule,TABLE)
$(noop)
$(TABLEDS): $(TABLEH) $(TABLEL) $(ROOTCINTTMPDEP) $(call pcmdep,TABLE)
$(MAKEDIR)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ $(call dictModule,TABLE) -c $(TABLEH) $(TABLEL)
$(TABLEMAP): $(TABLEH) $(TABLEL) $(ROOTCINTTMPDEP) $(call pcmdep,TABLE)
$(MAKEDIR)
@echo "Generating rootmap $@..."
$(ROOTCINTTMP) -r $(TABLEDS) $(call dictModule,TABLE) -c $(TABLEH) $(TABLEL)
all-$(MODNAME): $(TABLELIB)
clean-$(MODNAME):
@rm -f $(TABLEO) $(TABLEDO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(TABLEDEP) $(TABLEDS) $(TABLEDH) $(TABLELIB) $(TABLEMAP)
distclean:: distclean-$(MODNAME)
$(TABLEO) $(TABLEDO): CXXFLAGS += -Iinclude/cint
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...