https://github.com/root-project/root
Tip revision: eba61fb9a43da51ded4f040fb106f507eb8b25f0 authored by Axel Naumann on 02 June 2015, 08:02:58 UTC
Update ROOT version files to v6.04/00.
Update ROOT version files to v6.04/00.
Tip revision: eba61fb
Module.mk
# Module.mk for html module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODNAME := html
MODDIR := $(ROOT_SRCDIR)/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
HTMLDIR := $(MODDIR)
HTMLDIRS := $(HTMLDIR)/src
HTMLDIRI := $(HTMLDIR)/inc
##### libHtml #####
HTMLL := $(MODDIRI)/LinkDef.h
HTMLDS := $(call stripsrc,$(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 := $(call stripsrc,$(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 #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(HTMLDIRI)/%.h
cp $< $@
$(HTMLLIB): $(HTMLO) $(HTMLDO) $(ORDER_) $(MAINLIBS) $(HTMLLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libHtml.$(SOEXT) $@ "$(HTMLO) $(HTMLDO)" \
"$(HTMLLIBEXTRA)"
$(call pcmrule,HTML)
$(noop)
$(HTMLDS): $(HTMLH) $(HTMLL) $(ROOTCLINGEXE) $(call pcmdep,HTML)
$(MAKEDIR)
@echo "Generating dictionary $@..."
$(ROOTCLINGSTAGE2) -f $@ $(call dictModule,HTML) -c $(HTMLH) $(HTMLL)
$(HTMLMAP): $(HTMLH) $(HTMLL) $(ROOTCLINGEXE) $(call pcmdep,HTML)
$(MAKEDIR)
@echo "Generating rootmap $@..."
$(ROOTCLINGSTAGE2) -r $(HTMLDS) $(call dictModule,HTML) -c $(HTMLH) $(HTMLL)
all-$(MODNAME): $(HTMLLIB)
clean-$(MODNAME):
@rm -f $(HTMLO) $(HTMLDO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(HTMLDEP) $(HTMLDS) $(HTMLDH) $(HTMLLIB) $(HTMLMAP)
distclean:: distclean-$(MODNAME)