X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=ec7fbd9df47dc5829fd8b32b6ed202db1760613c;hb=0b3522a35ce7c77ba30ef5129fdadcc3ca86dc14;hp=b1b4c53e6ecc877f7394fa72cf6bd64a528bcf32;hpb=4e0a60e8fd48968999c23f8f2b4865766888c5c7;p=u%2Fmrichter%2FAliRoot.git diff --git a/Makefile b/Makefile index b1b4c53e6ec..ec7fbd9df47 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,8 @@ PRETTY = $(AWK) '{print $$0 substr($(DOTS),1,79-length($$0))}' ##### Module libraries ##### ALIROOT_DIRS = STEER TGeant3 TRD PHOS TPC ZDC MUON PMD FMD TOF ITS \ - CASTOR RICH START STRUCT EVGEN RALICE ALIFAST THijing + CASTOR RICH START STRUCT EVGEN RALICE ALIFAST \ + THijing CONTAINERS MEVSIM TMEVSIM THbtp HBTP EMCAL HBTAN ##### TARGETS ##### @@ -42,14 +43,30 @@ alilibs: lib ${MAKE} -C $$i ; \ done -aliroot geant321 minicern pdf pythia: bin +aliroot geant321 minicern pdf pythia6 hijing: FORCE @DIR=`echo $@ | $(AWK) '{print toupper($$0)}'` ; \ echo "Making dependencies in $$DIR" | $(PRETTY); \ ${MAKE} -C $$DIR depend;\ echo "Making in $$DIR" | $(PRETTY); \ ${MAKE} -C $$DIR -cernlibs: geant321 pythia minicern pdf +TGeant4 AliGeant4 AliFluka : FORCE + @DIR=$@; \ + echo "Making dependencies in $$DIR" | $(PRETTY); \ + ${MAKE} -C $$DIR depend;\ + echo "Making in $$DIR" | $(PRETTY); \ + ${MAKE} -C $$DIR + +cernlibs: geant321 pythia6 minicern pdf hijing + +geant4: TGeant4 AliGeant4 + +Flugg: FORCE + @DIR=$@; \ + echo "Making in $$DIR" | $(PRETTY); \ + ${MAKE} -C $$DIR/source + +fluka: Flugg TGeant4 AliGeant4 AliFluka all: cernlibs default @@ -57,14 +74,14 @@ FORCE: ############################### General Macros ################################ -include $(ALICE_ROOT)/conf/GeneralMacros +# include $(ALICE_ROOT)/conf/GeneralMacros ############################### Specific Macros ############################### STRUCT_DIRS = html conf macros data share include Euclid picts \ doc etc Makefile .rootrc -LIBRARY_DIRS = MINICERN GEANT321 PYTHIA PDF +LIBRARY_DIRS = MINICERN GEANT321 PYTHIA6 PDF HIJING dist: AliRoot$(VERSION).tar.gz @@ -128,9 +145,15 @@ htmldoc: FORCE clean: FORCE @rm -f *~ \#* - @for i in $(ALIROOT_DIRS) ALIROOT ; do \ + @rm -f include/* + @for i in $(ALIROOT_DIRS) ALIROOT; do \ ${MAKE} -C $$i macroclean ; \ done + ifdef G4INSTALL + @for i in TGeant4 AliGeant4; do \ + ${MAKE} -C $$i macroclean ; \ + done + endif libclean: FORCE @rm -f *~ \#* @@ -141,13 +164,21 @@ libclean: FORCE allclean: libclean clean # IRST coding rule check -CHECK_DIRS = $(ALIROOT_DIRS) ALIROOT +CHECK_DIRS = $(ALIROOT_DIRS) ALIROOT TGeant4 AliGeant4 check: @for i in $(CHECK_DIRS) ; do \ echo "Checking $$i" ; \ ${MAKE} -C $$i check ; \ done +REVENG_DIRS = $(ALIROOT_DIRS) + +reveng: + @for i in $(REVENG_DIRS) ; do \ + echo "Reverse engineering $$i" ; \ + ${MAKE} -C $$i reveng ; \ + done +