https://github.com/root-project/root
Tip revision: 9944b334bd1b050807087c4d4280bcbb8c19d13e authored by Unknown Author on 18 May 2005, 09:32:43 UTC
This commit was manufactured by cvs2svn to create tag 'v4-04-02a'.
This commit was manufactured by cvs2svn to create tag 'v4-04-02a'.
Tip revision: 9944b33
Module.mk
# 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)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(HTMLH))
ALLLIBS += $(HTMLLIB)
# include all dependency files
INCLUDEFILES += $(HTMLDEP)
##### local rules #####
include/%.h: $(HTMLDIRI)/%.h
cp $< $@
$(HTMLLIB): $(HTMLO) $(HTMLDO) $(MAINLIBS) $(HTMLLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libHtml.$(SOEXT) $@ "$(HTMLO) $(HTMLDO)" \
"$(HTMLLIBEXTRA)"
$(HTMLDS): $(HTMLH) $(HTMLL) $(ROOTCINTTMP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(HTMLH) $(HTMLL)
$(HTMLDO): $(HTMLDS)
$(CXX) $(NOOPT) $(CXXFLAGS) -I. -o $@ -c $<
all-html: $(HTMLLIB)
map-html: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(HTMLLIB) \
-d $(HTMLLIBDEP) -c $(HTMLL)
map:: map-html
clean-html:
@rm -f $(HTMLO) $(HTMLDO)
clean:: clean-html
distclean-html: clean-html
@rm -f $(HTMLDEP) $(HTMLDS) $(HTMLDH) $(HTMLLIB)
distclean:: distclean-html