Updated code to trap the floating point exception. Works on Linux with glibc 2.2...
[u/mrichter/AliRoot.git] / ALIROOT / binaliroot.pkg
1 #-*- Mode: Makefile -*-
2
3 SRCS:=aliroot.cxx
4 CSRCS:=fpu.c
5
6 ELIBSDIR:=
7
8
9
10 ELIBS:= MUONgeometry MUONrec MUONsim MUONbase MUONraw MUONmapping \
11         TPCbase TPCsim TPCrec TPCfast \
12         ITSbase ITSsim ITSrec PMDbase PMDsim PMDrec TRDbase \
13         TRDsim TRDrec TRDfast \
14         FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOSbase PHOSsim PHOSrec AliHLTPHOS ACORDE \
15         HMPIDbase HMPIDrec HMPIDsim \
16         ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec \
17         EMCALbase EMCALsim EMCALrec EMCALjet \
18         STRUCT T0base T0sim T0rec EVGEN ESD CDB STEER \
19         pythia6 AliPythia6 lhapdf THijing \
20         hijing TMEVSIM mevsim THbtp HBTP TEPEMGEN EPEMGEN \
21         FASTSIM microcern \
22         RAWDatabase RAWDatarec RAWDatasim \
23         HLTbase AliHLTSrc AliHLTComp AliHLTMisc AliHLTMUON \
24         AliHLTHough AliHLTITS\
25 #       THerwig herwig TPHIC
26
27 ifeq (macosx,$(ALICE_TARGET))
28
29 ELIBSCPP:=$(filter-out microcern,$(ELIBS))
30 ELIBSCPP:=$(filter-out lhapdf,$(ELIBSCPP))
31 ELIBSCPP:=$(filter-out mevsim,$(ELIBSCPP))
32 ELIBSCPP:=$(filter-out HBTP,$(ELIBSCPP))
33 ELIBSCPP:=$(filter-out herwig,$(ELIBSCPP))
34 ELIBSCPP:=$(filter-out EPEMGEN,$(ELIBSCPP))
35 PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
36 # On Mac OS X gcc we need f2c
37 ELIBS+=f2c
38 ELIBSDIR+=$(dir $(shell find $(FINK_ROOT) -name 'libf2c.*'))
39 endif
40
41 # The two variables below are used for the creation of profile target.
42 # ARLIBS stands for ARchive LIBrarieS and for each module one wants to profile
43 # consists of dictionary object file and static library itself.
44 # The shared libraries for modules without profiling are listed in the second
45 # variable SHLIBS (SHared LIBrarieS).
46 # Please note that the order of static libraries is important, the ones
47 # which provide code for the others have to be placed after their "clients".
48 # For example if ITS uses TPC code, the order has to be ITS TPC 
49
50 ARLIBS:= \
51    FMD/tgt_$(ALICE_TARGET)/G__FMDbase.o $(LIBPATH)/libFMDbase.a \
52    FMD/tgt_$(ALICE_TARGET)/G__FMDsim.o $(LIBPATH)/libFMDsim.a \
53    FMD/tgt_$(ALICE_TARGET)/G__FMDrec.o $(LIBPATH)/libFMDrec.a \
54    ACORDE/tgt_$(ALICE_TARGET)/G__ACORDE.o $(LIBPATH)/libACORDE.a \
55    HMPID/tgt_$(ALICE_TARGET)/G__HMPIDbase.o $(LIBPATH)/libHMPIDbase.a \
56    HMPID/tgt_$(ALICE_TARGET)/G__HMPIDsim.o $(LIBPATH)/libHMPIDsim.a \
57    HMPID/tgt_$(ALICE_TARGET)/G__HMPIDrec.o $(LIBPATH)/libHMPIDrec.a \
58    ZDC/tgt_$(ALICE_TARGET)/G__ZDCbase.o $(LIBPATH)/libZDCbase.a \
59    ZDC/tgt_$(ALICE_TARGET)/G__ZDCsim.o $(LIBPATH)/libZDCsim.a \
60    ZDC/tgt_$(ALICE_TARGET)/G__ZDCrec.o $(LIBPATH)/libZDCrec.a \
61    VZERO/tgt_$(ALICE_TARGET)/G__VZERObase.o $(LIBPATH)/libVZERObase.a \
62    VZERO/tgt_$(ALICE_TARGET)/G__VZEROsim.o $(LIBPATH)/libVZEROsim.a \
63    VZERO/tgt_$(ALICE_TARGET)/G__VZEROrec.o $(LIBPATH)/libVZEROrec.a \
64    EMCAL/tgt_$(ALICE_TARGET)/G__EMCALbase.o $(LIBPATH)/libEMCALbase.a \
65    EMCAL/tgt_$(ALICE_TARGET)/G__EMCALsim.o $(LIBPATH)/libEMCALsim.a \
66    EMCAL/tgt_$(ALICE_TARGET)/G__EMCALrec.o $(LIBPATH)/libEMCALrec.a \
67    EMCAL/tgt_$(ALICE_TARGET)/G__EMCALjet.o $(LIBPATH)/libEMCALjet.a \
68    T0/tgt_$(ALICE_TARGET)/G__T0base.o $(LIBPATH)/libT0base.a \
69    T0/tgt_$(ALICE_TARGET)/G__T0sim.o $(LIBPATH)/libT0sim.a \
70    T0/tgt_$(ALICE_TARGET)/G__T0rec.o $(LIBPATH)/libT0rec.a \
71    TOF/tgt_$(ALICE_TARGET)/G__TOFbase.o $(LIBPATH)/libTOFbase.a \
72    TOF/tgt_$(ALICE_TARGET)/G__TOFsim.o $(LIBPATH)/libTOFsim.a \
73    TOF/tgt_$(ALICE_TARGET)/G__TOFrec.o $(LIBPATH)/libTOFrec.a \
74    TRD/tgt_$(ALICE_TARGET)/G__TRDbase.o $(LIBPATH)/libTRDbase.a \
75    TRD/tgt_$(ALICE_TARGET)/G__TRDsim.o $(LIBPATH)/libTRDsim.a \
76    TRD/tgt_$(ALICE_TARGET)/G__TRDrec.o $(LIBPATH)/libTRDrec.a \
77    TRD/tgt_$(ALICE_TARGET)/G__TRDfast.o $(LIBPATH)/libTRDfast.a \
78    PMD/tgt_$(ALICE_TARGET)/G__PMDbase.o $(LIBPATH)/libPMDbase.a \
79    PMD/tgt_$(ALICE_TARGET)/G__PMDsim.o $(LIBPATH)/libPMDsim.a \
80    PMD/tgt_$(ALICE_TARGET)/G__PMDrec.o $(LIBPATH)/libPMDrec.a \
81    MUON/tgt_$(ALICE_TARGET)/G__MUONgeometry.o $(LIBPATH)/libMUONgeometry.a \
82    MUON/tgt_$(ALICE_TARGET)/G__MUONmapping.o $(LIBPATH)/libMUONmapping.a \
83    MUON/tgt_$(ALICE_TARGET)/G__MUONbase.o $(LIBPATH)/libMUONbase.a \
84    MUON/tgt_$(ALICE_TARGET)/G__MUONsim.o $(LIBPATH)/libMUONsim.a \
85    MUON/tgt_$(ALICE_TARGET)/G__MUONrec.o $(LIBPATH)/libMUONrec.a \
86    MUON/tgt_$(ALICE_TARGET)/G__MUONraw.o $(LIBPATH)/libMUONraw.a \
87    PHOS/tgt_$(ALICE_TARGET)/G__PHOSbase.o $(LIBPATH)/libPHOSbase.a \
88    PHOS/tgt_$(ALICE_TARGET)/G__PHOSsim.o $(LIBPATH)/libPHOSsim.a \
89    PHOS/tgt_$(ALICE_TARGET)/G__PHOSrec.o $(LIBPATH)/libPHOSrec.a \
90    HLT/tgt_$(ALICE_TARGET)/G__HLTbase.o $(LIBPATH)/libHLTbase.a \
91    HLT/tgt_$(ALICE_TARGET)/G__AliHLTPHOS.o $(LIBPATH)/libAliHLTPHOS.a \
92    ITS/tgt_$(ALICE_TARGET)/G__ITSbase.o $(LIBPATH)/libITSbase.a \
93    ITS/tgt_$(ALICE_TARGET)/G__ITSsim.o $(LIBPATH)/libITSsim.a \
94    ITS/tgt_$(ALICE_TARGET)/G__ITSrec.o $(LIBPATH)/libITSrec.a \
95    STRUCT/tgt_$(ALICE_TARGET)/G__STRUCT.o $(LIBPATH)/libSTRUCT.a \
96    TPC/tgt_$(ALICE_TARGET)/G__TPCbase.o $(LIBPATH)/libTPCbase.a \
97    TPC/tgt_$(ALICE_TARGET)/G__TPCsim.o $(LIBPATH)/libTPCsim.a \
98    TPC/tgt_$(ALICE_TARGET)/G__TPCrec.o $(LIBPATH)/libTPCrec.a \
99    TPC/tgt_$(ALICE_TARGET)/G__TPCfast.o $(LIBPATH)/libTPCfast.a \
100    STEER/tgt_$(ALICE_TARGET)/G__STEER.o $(LIBPATH)/libSTEER.a \
101    STEER/tgt_$(ALICE_TARGET)/G__ESD.o $(LIBPATH)/libESD.a \
102    STEER/tgt_$(ALICE_TARGET)/G__CDB.o $(LIBPATH)/libCDB.a \
103    RAW/tgt_$(ALICE_TARGET)/G__RAWDatabase.o $(LIBPATH)/libRAWDatabase.a \
104    RAW/tgt_$(ALICE_TARGET)/G__RAWDatasim.o $(LIBPATH)/libRAWDatasim.a \
105    RAW/tgt_$(ALICE_TARGET)/G__RAWDatarec.o $(LIBPATH)/libRAWDatarec.a \
106    RAW/tgt_$(ALICE_TARGET)/G__MDC.o $(LIBPATH)/libMDC.a
107
108 SHLIBS:= $(BINLIBDIRS) -lEVGEN -lEGPythia6 -lPythia6 -lpythia6 -lAliPythia6 -llhapdf -lTHijing -lhijing -lTMEVSIM -lmevsim -lTHbtp -lHBTP -lTHerwig -lherwig -lTEPEMGEN -lEPEMGEN -lTPHIC -lFASTSIM -lmicrocern
109