Revision 30fabf574d7d1bd078a7c688cd497f6442be65f0 authored by Stefan Roiser on 29 June 2006, 14:35:40 UTC, committed by Stefan Roiser on 29 June 2006, 14:35:40 UTC
git-svn-id: http://root.cern.ch/svn/root/trunk@15612 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent bf5980b
Module.mk
# Module.mk for clarens module
# Copyright (c) 2004 Rene Brun and Fons Rademakers
#
# Author: Maarten Ballintijn 18/10/2004
MODDIR := clarens
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
CLARENSDIR := $(MODDIR)
CLARENSDIRS := $(CLARENSDIR)/src
CLARENSDIRI := $(CLARENSDIR)/inc
##### libClarens #####
CLARENSL := $(MODDIRI)/LinkDef.h
CLARENSDS := $(MODDIRS)/G__Clarens.cxx
CLARENSDO := $(CLARENSDS:.cxx=.o)
CLARENSDH := $(CLARENSDS:.cxx=.h)
CLARENSH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
CLARENSS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
CLARENSO := $(CLARENSS:.cxx=.o)
CLARENSDEP := $(CLARENSO:.o=.d) $(CLARENSDO:.o=.d)
CLARENSLIB := $(LPATH)/libClarens.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(CLARENSH))
ALLLIBS += $(CLARENSLIB)
# include all dependency files
INCLUDEFILES += $(CLARENSDEP)
##### local rules #####
include/%.h: $(CLARENSDIRI)/%.h
cp $< $@
$(CLARENSLIB): $(CLARENSO) $(CLARENSDO) $(ORDER_) $(MAINLIBS) $(CLARENSLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libClarens.$(SOEXT) $@ \
"$(CLARENSO) $(CLARENSDO) $(CLARENSLIBS)" \
"$(CLARENSLIBEXTRA)"
$(CLARENSDS): $(CLARENSH) $(CLARENSL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(CLARENSH) $(CLARENSL)
all-clarens: $(CLARENSLIB)
map-clarens: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(CLARENSLIB) \
-d $(CLARENSLIBDEP) -c $(CLARENSL)
map:: map-clarens
clean-clarens:
@rm -f $(CLARENSO) $(CLARENSDO)
clean:: clean-clarens
distclean-clarens: clean-clarens
@rm -f $(CLARENSDEP) $(CLARENSDS) $(CLARENSDH) $(CLARENSLIB)
distclean:: distclean-clarens
##### extra rules ######
$(CLARENSO) $(CLARENSDO): CXXFLAGS += $(CLARENSINC)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...