Skip to content
Snippets Groups Projects
  • Fons Rademakers's avatar
    a5b624b2
    From Axel: · a5b624b2
    Fons Rademakers authored
    this patch prevents all dictionaries from being rebuild when non dict related
    changes are made in CINT. When the dictionaries change the new
    cint/inc/cintdictversion.h must be updated which triggers a dictionary
    rebuild. For example:
    touch cint/src/v6_var.cxx && make: rebuild no dictionaries
    touch cint/inc/cintdictversion.h && make: rebuild all dictionaries
    touch utils/src/rootcint.cxx && make: rebuild all dictionaries
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@21802 27541ba8-7e3a-0410-8455-c3a389f83636
    a5b624b2
    History
    From Axel:
    Fons Rademakers authored
    this patch prevents all dictionaries from being rebuild when non dict related
    changes are made in CINT. When the dictionaries change the new
    cint/inc/cintdictversion.h must be updated which triggers a dictionary
    rebuild. For example:
    touch cint/src/v6_var.cxx && make: rebuild no dictionaries
    touch cint/inc/cintdictversion.h && make: rebuild all dictionaries
    touch utils/src/rootcint.cxx && make: rebuild all dictionaries
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@21802 27541ba8-7e3a-0410-8455-c3a389f83636
Module.mk 1.71 KiB
# Module.mk for html module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000

MODDIR       := html
MODDIRS      := $(MODDIR)/src
MODDIRI      := $(MODDIR)/inc

HTMLDIR      := $(MODDIR)
HTMLDIRS     := $(HTMLDIR)/src
HTMLDIRI     := $(HTMLDIR)/inc

##### libHtml #####
HTMLL        := $(MODDIRI)/LinkDef.h
HTMLDS       := $(MODDIRS)/G__Html.cxx
HTMLDO       := $(HTMLDS:.cxx=.o)
HTMLDH       := $(HTMLDS:.cxx=.h)

HTMLH        := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
HTMLS        := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
HTMLO        := $(HTMLS:.cxx=.o)

HTMLDEP      := $(HTMLO:.o=.d) $(HTMLDO:.o=.d)

HTMLLIB      := $(LPATH)/libHtml.$(SOEXT)
HTMLMAP      := $(HTMLLIB:.$(SOEXT)=.rootmap)

# used in the main Makefile
ALLHDRS     += $(patsubst $(MODDIRI)/%.h,include/%.h,$(HTMLH))
ALLLIBS     += $(HTMLLIB)
ALLMAPS     += $(HTMLMAP)

# include all dependency files
INCLUDEFILES += $(HTMLDEP)

##### local rules #####
include/%.h:    $(HTMLDIRI)/%.h
		cp $< $@

$(HTMLLIB):     $(HTMLO) $(HTMLDO) $(ORDER_) $(MAINLIBS) $(HTMLLIBDEP)
		@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
		   "$(SOFLAGS)" libHtml.$(SOEXT) $@ "$(HTMLO) $(HTMLDO)" \
		   "$(HTMLLIBEXTRA)"

$(HTMLDS):      $(HTMLH) $(HTMLL) $(ROOTCINTTMPDEP)
		@echo "Generating dictionary $@..."
		$(ROOTCINTTMP) -f $@ -c $(HTMLH) $(HTMLL)

$(HTMLMAP):     $(RLIBMAP) $(MAKEFILEDEP) $(HTMLL)
		$(RLIBMAP) -o $(HTMLMAP) -l $(HTMLLIB) \
		   -d $(HTMLLIBDEPM) -c $(HTMLL)

all-html:       $(HTMLLIB) $(HTMLMAP)

clean-html:
		@rm -f $(HTMLO) $(HTMLDO)

clean::         clean-html

distclean-html: clean-html
		@rm -f $(HTMLDEP) $(HTMLDS) $(HTMLDH) $(HTMLLIB) $(HTMLMAP)

distclean::     distclean-html