]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/binalieve.pkg
* hmpid_digits.C, hmpid_raw.C
[u/mrichter/AliRoot.git] / EVE / binalieve.pkg
... / ...
CommitLineData
1#-*- Mode: Makefile -*-
2
3SRCS := alieve_main/alieve_main.cxx
4CSRCS :=
5
6$(BINPATH)/alieve: $(EveBaseLIB) $(EveDetLIB) $(EveHLTLIB)
7
8EINCLUDE :=
9ELIBSDIR :=
10
11ELIBS := EveBase EveDet EveHLT \
12 MUONbase MUONevaluation MUONmapping MUONshuttle MUONcalib MUONgeometry \
13 MUONraw MUONsim MUONcore MUONgraphics MUONrec MUONtrigger \
14 TPCbase TPCsim TPCrec TPCfast \
15 ITSbase ITSsim ITSrec PMDbase PMDsim PMDrec TRDbase \
16 TRDsim TRDrec TRDfast \
17 FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOSUtils PHOSbase PHOSsim PHOSrec \
18 ACORDEbase ACORDEsim ACORDErec \
19 HMPIDbase HMPIDrec HMPIDsim \
20 ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec \
21 EMCALUtils EMCALbase EMCALsim EMCALrec BCM \
22 STRUCT T0base T0sim T0rec EVGEN STEERBase ESD AOD CDB STEER MONITOR \
23 ANALYSIS ANALYSISalice \
24 THijing \
25 hijing THbtp TEPEMGEN \
26 FASTSIM microcern \
27 RAWDatabase RAWDatarec RAWDatasim \
28 HLTbase XMLParser
29
30PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL -lEve $(SYSLIBS)
31
32.PHONY default: alieve_clean_compiled_macros
33
34alieve_clean_compiled_macros:
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)
38
39ifeq (macosx,$(ALICE_TARGET))
40
41# On Mac OS X gcc we need GL
42ELIBS+=GL
43ELIBSDIR+=/usr/X11R6/lib/
44
45ELIBSCPP:=$(filter-out microcern,$(ELIBS))
46ELIBSCPP:=$(filter-out lhapdf,$(ELIBSCPP))
47ELIBSCPP:=$(filter-out herwig,$(ELIBSCPP))
48PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
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
54# On Mac OS X gcc we need f2c and GLU
55ELIBS+=GLU
56ELIBSDIR+=$(FINK_ROOT)/lib
57
58endif