##### Module libraries #####
-ALIROOT_DIRS = STEER TGeant3 TRD PHOS TPC ZDC MUON PMD FMD TOF ITS CASTOR \
- RICH STRUCT EVGEN
+ALIROOT_DIRS = STEER TGeant3 TRD PHOS TPC ZDC MUON PMD FMD TOF ITS \
+ CASTOR RICH STRUCT EVGEN RALICE
##### TARGETS #####
@mkdir $@
alilibs: lib
+ @for i in $(ALIROOT_DIRS) ; do \
+ ${MAKE} -C $$i headers ; \
+ done
@for i in $(ALIROOT_DIRS) ; do \
${MAKE} -C $$i depend ; \
done
cernlibs: geant321 pythia minicern pdf
-all: default cernlibs
+all: cernlibs default
FORCE:
LIBRARY_DIRS = MINICERN GEANT321 PYTHIA PDF
-dist: AliRoot3.01.tar.gz
+dist: AliRoot$(VERSION).tar.gz
-AliRoot3.01.tar.gz: $(STRUCT_DIRS) $(ALIROOT_DIRS) ALIROOT
+AliRoot$(VERSION).tar.gz: $(STRUCT_DIRS) $(ALIROOT_DIRS) ALIROOT
-distall: AliOffline3.01.tar.gz
+distall: AliOffline$(VERSION).tar.gz
-AliOffline3.01.tar.gz: $(STRUCT_DIRS) $(ALIROOT_DIRS) $(LIBRARY_DIRS) ALIROOT
+AliOffline$(VERSION).tar.gz: $(STRUCT_DIRS) $(ALIROOT_DIRS) $(LIBRARY_DIRS) ALIROOT
-distlib: AliLib3.10.tar.gz
+distlib: AliLibs$(VERSION).tar.gz
-AliLib3.01.tar.gz: $(LIBRARY_DIRS)
+AliLibs$(VERSION).tar.gz: $(LIBRARY_DIRS)
-AliRoot3.01.tar.gz AliLibs3.01.tar.gz AliOffline3.01.tar.gz:
+AliRoot$(VERSION).tar.gz AliLibs$(VERSION).tar.gz AliOffline$(VERSION).tar.gz:
@rm -f $(ALICE)/$@
@rm -f `find . -name '*~' -print` \
`find . -name '*.bak' -print` \
gtar cvfz $@ --exclude '*.o' --exclude '*Cint.*' \
--exclude '*/roothtml/*' --exclude '*/CVS' \
--exclude Make-depend --exclude '*html/gif' \
+ --exclude "*$(ALICE_TARGET)*" \
`cat /tmp/saves`
-alidepend:
- @for i in $(ALIROOT_DIRS) ; do \
- ${MAKE} -C $$i depend ; \
- done
-
htmldocnew: FORCE
@for i in $(ALIROOT_DIRS) ; do \
echo "Making HTML doc for $$i" ; \
htmldoc: FORCE
@rm -rf html/roothtml
+ @rm -f html/picts
@rm -f /tmp/macros
@cd html ;\
aliroot -q -b "mkhtml.C(0,1)" ;\
aliroot -b -q "mkhtml.C(\"$$i\")" > /dev/null ;\
done ;\
./makeExampleList ;
- @ln -s ../../picts html/roothtml/gif
- @ln -s ../../../picts html/roothtml/src/gif
- @ln -s ../../../picts html/roothtml/examples/gif
+ @ln -s ../picts html/picts
+ @ln -s ../../picts html/roothtml/picts
+ @ln -s ../../../picts html/roothtml/src/picts
+ @ln -s ../../../picts html/roothtml/examples/picts
clean: FORCE
@rm -f *~ \#*
- @for i in $(ALIROOT_DIRS) ; do \
+ @for i in $(ALIROOT_DIRS) ALIROOT ; do \
${MAKE} -C $$i macroclean ; \
done