]>
Commit | Line | Data |
---|---|---|
1 | #-*- Mode: Makefile -*- | |
2 | ||
3 | SRCS := alieve_main/alieve_main.cxx | |
4 | CSRCS := | |
5 | ||
6 | $(BINPATH)/alieve: $(EveBaseLIB) $(EveDetLIB) $(EveHLTLIB) | |
7 | ||
8 | EINCLUDE := | |
9 | ELIBSDIR := | |
10 | ||
11 | ELIBS := 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 | ||
30 | PACKBLIBS := $(ROOTCLIBS) $(ROOTPLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL -lEve $(SYSLIBS) | |
31 | ||
32 | .PHONY default: alieve_clean_compiled_macros | |
33 | ||
34 | alieve_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 | ||
39 | ifeq (macosx,$(ALICE_TARGET)) | |
40 | ||
41 | # On Mac OS X gcc we need GL | |
42 | ELIBS+=GL | |
43 | ELIBSDIR+=/usr/X11R6/lib/ | |
44 | ||
45 | ELIBSCPP:=$(filter-out microcern,$(ELIBS)) | |
46 | ELIBSCPP:=$(filter-out lhapdf,$(ELIBSCPP)) | |
47 | ELIBSCPP:=$(filter-out herwig,$(ELIBSCPP)) | |
48 | PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%) | |
49 | ifeq (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 | |
52 | PACKLDFLAGS+=-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib | |
53 | endif | |
54 | # On Mac OS X gcc we need f2c and GLU | |
55 | ELIBS+=GLU | |
56 | ELIBSDIR+=$(FINK_ROOT)/lib | |
57 | ||
58 | endif |