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