Revision d86cbc6b1026ad22a27d2628d0eb14c3a32aa987 authored by Rene Brun on 08 July 2004, 10:02:31 UTC, committed by Rene Brun on 08 July 2004, 10:02:31 UTC
From valeriy Onuchin: rename fCleanup by fTrash to avoid collisions VS: ---------------------------------------------------------------------- git-svn-id: http://root.cern.ch/svn/root/trunk@9436 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 05f031e
Module.mk
# Module.mk for hbook module
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 18/2/2002
MODDIR := hbook
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
HBOOKDIR := $(MODDIR)
HBOOKDIRS := $(HBOOKDIR)/src
HBOOKDIRI := $(HBOOKDIR)/inc
##### libHbook #####
HBOOKL := $(MODDIRI)/LinkDef.h
HBOOKDS := $(MODDIRS)/G__Hbook.cxx
HBOOKDO := $(HBOOKDS:.cxx=.o)
HBOOKDH := $(HBOOKDS:.cxx=.h)
HBOOKH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
HBOOKS1 := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
HBOOKS2 := $(MODDIRS)/hntvar2.f
HBOOKO1 := $(HBOOKS1:.cxx=.o)
HBOOKO2 := $(HBOOKS2:.f=.o)
HBOOKO := $(HBOOKO1) $(HBOOKO2)
HBOOKDEP := $(HBOOKS1:.cxx=.d) $(HBOOKDO:.o=.d)
HBOOKLIB := $(LPATH)/libHbook.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(HBOOKH))
ALLLIBS += $(HBOOKLIB)
# include all dependency files
INCLUDEFILES += $(HBOOKDEP)
##### local rules #####
include/%.h: $(HBOOKDIRI)/%.h
cp $< $@
$(HBOOKLIB): $(HBOOKO) $(HBOOKDO) $(MAINLIBS) $(HBOOKLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libHbook.$(SOEXT) $@ "$(HBOOKO1) $(HBOOKDO)" \
"$(HBOOKO2) $(CERNLIBDIR) $(CERNLIBS) $(RFIOLIBEXTRA) \
$(SHIFTLIBDIR) $(SHIFTLIB) $(HBOOKLIBEXTRA) $(F77LIBS)"
$(HBOOKDS): $(HBOOKH) $(HBOOKL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(HBOOKH) $(HBOOKL)
$(HBOOKDO): $(HBOOKDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $@ -c $<
all-hbook: $(HBOOKLIB)
map-hbook: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(HBOOKLIB) \
-d $(HBOOKLIBDEP) -c $(HBOOKL)
map:: map-hbook
clean-hbook:
@rm -f $(HBOOKO) $(HBOOKDO)
clean:: clean-hbook
distclean-hbook: clean-hbook
@rm -f $(HBOOKDEP) $(HBOOKDS) $(HBOOKDH) $(HBOOKLIB)
distclean:: distclean-hbook
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...