https://github.com/root-project/root
Tip revision: 6416e899e98b3fff1f804b193151fde377620f00 authored by Rene Brun on 13 December 2007, 13:43:55 UTC
Tagging release candidate version v5-17-08
Tagging release candidate version v5-17-08
Tip revision: 6416e89
Module.mk
# Module.mk for treeviewer module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := treeviewer
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
TREEVIEWERDIR := $(MODDIR)
TREEVIEWERDIRS := $(TREEVIEWERDIR)/src
TREEVIEWERDIRI := $(TREEVIEWERDIR)/inc
##### libTreeViewer #####
TREEVIEWERL := $(MODDIRI)/LinkDef.h
TREEVIEWERDS := $(MODDIRS)/G__TreeViewer.cxx
TREEVIEWERDO := $(TREEVIEWERDS:.cxx=.o)
TREEVIEWERDH := $(TREEVIEWERDS:.cxx=.h)
#TREEVIEWERH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
#TREEVIEWERS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
ifeq ($(ARCH),win32old)
TREEVIEWERL := $(MODDIRI)/LinkDefWin32.h
TREEVIEWERH := TTreeViewerOld.h TPaveVar.h
TREEVIEWERS := TTreeViewerOld.cxx TPaveVar.cxx
else
TREEVIEWERH := TTreeViewer.h TTVSession.h TTVLVContainer.h HelpTextTV.h TSpider.h TSpiderEditor.h TParallelCoord.h \
TParallelCoordVar.h TParallelCoordRange.h TParallelCoordEditor.h
TREEVIEWERS := TTreeViewer.cxx TTVSession.cxx TTVLVContainer.cxx HelpTextTV.cxx TSpider.cxx TSpiderEditor.cxx \
TParallelCoord.cxx TParallelCoordVar.cxx TParallelCoordRange.cxx TParallelCoordEditor.cxx
endif
TREEVIEWERH := $(patsubst %,$(MODDIRI)/%,$(TREEVIEWERH))
TREEVIEWERS := $(patsubst %,$(MODDIRS)/%,$(TREEVIEWERS))
TREEVIEWERO := $(TREEVIEWERS:.cxx=.o)
TREEVIEWERDEP := $(TREEVIEWERO:.o=.d) $(TREEVIEWERDO:.o=.d)
TREEVIEWERLIB := $(LPATH)/libTreeViewer.$(SOEXT)
TREEVIEWERMAP := $(TREEVIEWERLIB:.$(SOEXT)=.rootmap)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(TREEVIEWERH))
ALLLIBS += $(TREEVIEWERLIB)
ALLMAPS += $(TREEVIEWERMAP)
# include all dependency files
INCLUDEFILES += $(TREEVIEWERDEP)
##### local rules #####
include/%.h: $(TREEVIEWERDIRI)/%.h
cp $< $@
$(TREEVIEWERLIB): $(TREEVIEWERO) $(TREEVIEWERDO) $(ORDER_) $(MAINLIBS) \
$(TREEVIEWERLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libTreeViewer.$(SOEXT) $@ \
"$(TREEVIEWERO) $(TREEVIEWERDO)" \
"$(TREEVIEWERLIBEXTRA)"
$(TREEVIEWERDS): $(TREEVIEWERH) $(TREEVIEWERL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(TREEVIEWERH) $(TREEVIEWERL)
$(TREEVIEWERMAP): $(RLIBMAP) $(MAKEFILEDEP) $(TREEVIEWERL)
$(RLIBMAP) -o $(TREEVIEWERMAP) -l $(TREEVIEWERLIB) \
-d $(TREEVIEWERLIBDEPM) -c $(TREEVIEWERL)
all-treeviewer: $(TREEVIEWERLIB) $(TREEVIEWERMAP)
clean-treeviewer:
@rm -f $(TREEVIEWERO) $(TREEVIEWERDO)
clean:: clean-treeviewer
distclean-treeviewer: clean-treeviewer
@rm -f $(TREEVIEWERDEP) $(TREEVIEWERDS) $(TREEVIEWERDH) \
$(TREEVIEWERLIB) $(TREEVIEWERMAP)
distclean:: distclean-treeviewer