Revision a8df362ce490e6dee0c3258038d5d7c695cf39d9 authored by Unknown Author on 14 December 2006, 18:05:20 UTC, committed by Unknown Author on 14 December 2006, 18:05:20 UTC
git-svn-id: http://root.cern.ch/svn/root/tags/v5-14-00@17229 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 6ac683f
Module.mk
# Module.mk for physics module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := physics
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
PHYSICSDIR := $(MODDIR)
PHYSICSDIRS := $(PHYSICSDIR)/src
PHYSICSDIRI := $(PHYSICSDIR)/inc
##### libPhysics #####
PHYSICSL := $(MODDIRI)/LinkDef.h
PHYSICSDS := $(MODDIRS)/G__Physics.cxx
PHYSICSDO := $(PHYSICSDS:.cxx=.o)
PHYSICSDH := $(PHYSICSDS:.cxx=.h)
PHYSICSH := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
PHYSICSS := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
PHYSICSO := $(PHYSICSS:.cxx=.o)
PHYSICSDEP := $(PHYSICSO:.o=.d) $(PHYSICSDO:.o=.d)
PHYSICSLIB := $(LPATH)/libPhysics.$(SOEXT)
# used in the main Makefile
ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PHYSICSH))
ALLLIBS += $(PHYSICSLIB)
# include all dependency files
INCLUDEFILES += $(PHYSICSDEP)
##### local rules #####
include/%.h: $(PHYSICSDIRI)/%.h
cp $< $@
$(PHYSICSLIB): $(PHYSICSO) $(PHYSICSDO) $(ORDER_) $(MAINLIBS) $(PHYSICSLIBDEP)
@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
"$(SOFLAGS)" libPhysics.$(SOEXT) $@ \
"$(PHYSICSO) $(PHYSICSDO)" "$(PHYSICSLIBEXTRA)"
$(PHYSICSDS): $(PHYSICSH) $(PHYSICSL) $(ROOTCINTTMPEXE)
@echo "Generating dictionary $@..."
$(ROOTCINTTMP) -f $@ -c $(PHYSICSH) $(PHYSICSL)
all-physics: $(PHYSICSLIB)
map-physics: $(RLIBMAP)
$(RLIBMAP) -r $(ROOTMAP) -l $(PHYSICSLIB) \
-d $(PHYSICSLIBDEP) -c $(PHYSICSL)
map:: map-physics
clean-physics:
@rm -f $(PHYSICSO) $(PHYSICSDO)
clean:: clean-physics
distclean-physics: clean-physics
@rm -f $(PHYSICSDEP) $(PHYSICSDS) $(PHYSICSDH) $(PHYSICSLIB)
distclean:: distclean-physics
Computing file changes ...