Revision 967474f708a51fa3d4620e44aa063d41e2b98885 authored by Rene Brun on 27 February 2007, 19:11:27 UTC, committed by Rene Brun on 27 February 2007, 19:11:27 UTC
 o) fix https://savannah.cern.ch/bugs/?24080; only strip namespaces in
    current class, not in template parameters


git-svn-id: http://root.cern.ch/svn/root/trunk@18101 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent a0ab2dd
Raw File
Module.mk
# Module.mk for pythia6 module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000

MODDIR       := pythia6
MODDIRS      := $(MODDIR)/src
MODDIRI      := $(MODDIR)/inc

PYTHIA6DIR   := $(MODDIR)
PYTHIA6DIRS  := $(PYTHIA6DIR)/src
PYTHIA6DIRI  := $(PYTHIA6DIR)/inc

##### libEGPythia6 #####
PYTHIA6L     := $(MODDIRI)/LinkDef.h
PYTHIA6DS    := $(MODDIRS)/G__Pythia6.cxx
PYTHIA6DO    := $(PYTHIA6DS:.cxx=.o)
PYTHIA6DH    := $(PYTHIA6DS:.cxx=.h)

PYTHIA6H     := $(filter-out $(MODDIRI)/LinkDef%,$(wildcard $(MODDIRI)/*.h))
PYTHIA6S     := $(filter-out $(MODDIRS)/G__%,$(wildcard $(MODDIRS)/*.cxx))
PYTHIA6O     := $(PYTHIA6S:.cxx=.o)

PYTHIA6DEP   := $(PYTHIA6O:.o=.d) $(PYTHIA6DO:.o=.d)

PYTHIA6LIB   := $(LPATH)/libEGPythia6.$(SOEXT)

# used in the main Makefile
ALLHDRS     += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYTHIA6H))
ALLLIBS     += $(PYTHIA6LIB)

# include all dependency files
INCLUDEFILES += $(PYTHIA6DEP)

##### local rules #####
include/%.h:    $(PYTHIA6DIRI)/%.h
		cp $< $@

$(PYTHIA6LIB):  $(PYTHIA6O) $(PYTHIA6DO) $(ORDER_) $(MAINLIBS) $(PYTHIA6LIBDEP)
		@$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
		   "$(SOFLAGS)" libEGPythia6.$(SOEXT) $@ \
		   "$(PYTHIA6O) $(PYTHIA6DO)" \
		   "$(PYTHIA6LIBEXTRA) $(FPYTHIA6LIBDIR) $(FPYTHIA6LIB)"

$(PYTHIA6DS):   $(PYTHIA6H) $(PYTHIA6L) $(ROOTCINTTMPEXE)
		@echo "Generating dictionary $@..."
		$(ROOTCINTTMP) -f $@ -c $(PYTHIA6H) $(PYTHIA6L)

all-pythia6:    $(PYTHIA6LIB)

map-pythia6:    $(RLIBMAP)
		$(RLIBMAP) -r $(ROOTMAP) -l $(PYTHIA6LIB) \
		   -d $(PYTHIA6LIBDEP) -c $(PYTHIA6L)

map::           map-pythia6

clean-pythia6:
		@rm -f $(PYTHIA6O) $(PYTHIA6DO)

clean::         clean-pythia6

distclean-pythia6: clean-pythia6
		@rm -f $(PYTHIA6DEP) $(PYTHIA6DS) $(PYTHIA6DH) $(PYTHIA6LIB)

distclean::     distclean-pythia6

##### extra rules ######
$(PYTHIA6O):    CXXFLAGS += $(FPYTHIA6CPPFLAGS)
back to top