Changes in order to modify also ITSonly tracks
[u/mrichter/AliRoot.git] / EVE / binalieve.pkg
CommitLineData
07a26891 1#-*- Mode: Makefile -*-
2
cb4245bb 3SRCS := alieve_main/alieve_main.cxx
5987168b 4CSRCS :=
5
33791895 6$(BINPATH)/alieve: $(EveBaseLIB) $(EveDetLIB)
707b281a 7
5987168b 8EINCLUDE :=
9ELIBSDIR :=
a15e6d7d 10
33791895 11ELIBS := EveBase EveDet \
4c166a14 12 MONITOR \
13 MUONmapping \
14 MUONevaluation \
15 MUONsim \
16 MUONrec \
17 MUONgeometry \
18 MUONcalib \
19 MUONbase \
20 MUONraw \
21 MUONtrigger \
22 MUONcore \
23 TPCfast TPCsim TPCrec TPCbase \
24 ITSbase ITSsim ITSrec PMDbase PMDsim PMDrec TRDbase \
25 TRDsim TRDrec TRDfast \
26 FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOSUtils PHOSbase PHOSsim PHOSrec \
27 ACORDEbase ACORDEsim ACORDErec \
28 HMPIDbase HMPIDrec HMPIDsim \
29 ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec \
30 EMCALUtils EMCALbase EMCALsim EMCALrec BCM \
31 STRUCT T0base T0sim T0rec EVGEN \
32 STEER \
33 CDB \
34 AOD \
35 ESD \
36 STEERBase \
37 ANALYSISalice ANALYSIS \
38 THijing \
39 hijing THbtp TEPEMGEN \
40 FASTSIM microcern \
41 RAWDatasim RAWDatarec RAWDatabase \
42 HLTbase XMLParser STAT
5987168b 43
421e7c4f 44PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL -lEve $(SYSLIBS)
5987168b 45
6b7fd3a4 46.PHONY default: alieve_clean_compiled_macros
f337c1d6 47
48alieve_clean_compiled_macros:
6b7fd3a4 49 @echo "***** Removing .d and .$(SOEXT) files from EVE/alice-macros/ *****"
50 $(MUTE)rm -f $(ALICE_ROOT)/EVE/alice-macros/*_C.d
51 $(MUTE)rm -f $(ALICE_ROOT)/EVE/alice-macros/*_C.$(SOEXT)
00dc25ef 52 $(MUTE)rm -f -R $(HOME)/.trdQArec
53 $(MUTE)rm -f -R $(HOME)/.QArec
5987168b 54
55ifeq (macosx,$(ALICE_TARGET))
56
f02bd62a 57# On Mac OS X gcc we need GL
58ELIBS+=GL
5987168b 59ELIBSDIR+=/usr/X11R6/lib/
28a253e3 60
61ELIBSCPP:=$(filter-out microcern,$(ELIBS))
af4ebdd2 62ELIBSCPP:=$(filter-out lhapdf,$(ELIBSCPP))
28a253e3 63ELIBSCPP:=$(filter-out herwig,$(ELIBSCPP))
28a253e3 64PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
0bf847a7 65ifeq (5,$(MACOSX_MINOR))
66# This is a bug in OS 10.5
67# see http://wiki.finkproject.org/index.php/Fink:Packaging:Preparing_for_10.5#OpenGL_Bug
68PACKLDFLAGS+=-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
69endif
f02bd62a 70# On Mac OS X gcc we need f2c and GLU
07a26891 71ELIBS+=GLU
d560b581 72ELIBSDIR+=$(FINK_ROOT)/lib
5987168b 73
74endif