Revision 3eafda69af47ee2c119f8be4b51a9a8ca3aa4eed authored by Rene Brun on 26 November 2008, 07:21:23 UTC, committed by Rene Brun on 26 November 2008, 07:21:23 UTC
fix for http://savannah.cern.ch/bugs/?44500 git-svn-id: http://root.cern.ch/svn/root/trunk@26470 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 356e4b7
Module.mk
# Module.mk for glite module
# Copyright (c) 2002 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 12/5/2002
MODNAME := glite
MODDIR := net/$(MODNAME)
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
GLITEDIR := $(MODDIR)
GLITEDIRS := $(GLITEDIR)/src
GLITEDIRI := $(GLITEDIR)/inc
##### libRgLite #####
GLITEL := $(MODDIRI)/LinkDef.h
GLITEDS := $(MODDIRS)/G__gLite.cxx
GLITEDO := $(GLITEDS:.cxx=.o)
GLITEDH := $(GLITEDS:.cxx=.h)
GLITEH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
GLITES := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
GLITEO := $(GLITES:.cxx=.o)
GLITEDEP := $(GLITEO:.o=.d) $(GLITEDO:.o=.d)
GLITELIB := $(LPATH)/libRgLite.$(SOEXT)
GLITEMAP := $(GLITELIB:.$(SOEXT)=.rootmap)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(GLITEH))
ALLLIBS += $(GLITELIB)
ALLMAPS += $(GLITEMAP)
# include all dependency files
INCLUDEFILES += $(GLITEDEP)
##### local rules #####
.PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
include/%.h: $(GLITEDIRI)/%.h
cp $< $@
$(GLITELIB): $(GLITEO) $(GLITEDO) $(ORDER_) $(MAINLIBS) $(GLITELIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libRgLite.$(SOEXT) $@ "$(GLITEO) $(GLITEDO)" \
"$(GLITELIBEXTRA) $(GLITELIBDIR) $(GAWLIB)"
$(GLITEDS): $(GLITEH) $(GLITEL) $(ROOTCINTTMPDEP)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(GLITEH) $(GLITEL)
$(GLITEMAP): $(RLIBMAP) $(MAKEFILEDEP) $(GLITEL)
$(RLIBMAP) -o $(GLITEMAP) -l $(GLITELIB) \
-d $(GLITELIBDEPM) -c $(GLITEL)
all-$(MODNAME): $(GLITELIB) $(GLITEMAP)
clean-$(MODNAME):
@rm -f $(GLITEO) $(GLITEDO)
clean:: clean-$(MODNAME)
distclean-$(MODNAME): clean-$(MODNAME)
@rm -f $(GLITEDEP) $(GLITEDS) $(GLITEDH) $(GLITELIB) $(GLITEMAP)
distclean:: distclean-$(MODNAME)
##### extra rules ######
$(GLITEO) $(GLITEDO): CXXFLAGS += $(GAW_CPPFLAGS)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...