lnblnk needed by MacOSX gcc 4.0
[u/mrichter/AliRoot.git] / ALIROOT / binaliroot.pkg
CommitLineData
651e35f1 1#-*- Mode: Makefile -*-
2
efaab2ef 3SRCS:=aliroot.cxx
d94e688b 4CSRCS:=fpu.c
efaab2ef 5
2d8cad5a 6ELIBSDIR:=
efaab2ef 7
6612ace0 8ELIBS:= MUONgeometry MUONrec MUONsim MUONbase MUONmapping \
9 TPCbase TPCsim TPCrec TPCfast \
ba16156b 10 ITS PMDbase PMDsim PMDrec TRDbase TRDsim TRDrec TRDfast \
04c113e1 11 FMDbase FMDsim FMDrec TOFbase TOFrec TOFsim PHOS CRT \
12 RICHbase RICHrec RICHsim \
86411725 13 ZDCbase ZDCsim ZDCrec VZERObase VZEROsim VZEROrec EMCAL \
4b346687 14 STRUCT STARTbase STARTsim STARTrec EVGEN ESD STEER CONTAINERS \
44cc5e44 15 pythia6 AliPythia6 pdf THijing \
2ee21e83 16 hijing TMEVSIM mevsim THbtp HBTP THerwig herwig TEPEMGEN EPEMGEN \
d05ca1a4 17 TPHIC FASTSIM microcern RAWData AliL3Src AliL3Comp AliL3Misc AliL3Hough AliL3ITS
86411725 18
89804af3 19ifeq (macosx,$(ALICE_TARGET))
651e35f1 20
21@PACKAGE@LIBSINIT:=$(filter-out microcern,$(ELIBS))
22@PACKAGE@LIBSINIT:=$(filter-out pdf,$(@PACKAGE@LIBSINIT))
23@PACKAGE@LIBSINIT:=$(filter-out mevsim,$(@PACKAGE@LIBSINIT))
24@PACKAGE@LIBSINIT:=$(filter-out HBTP,$(@PACKAGE@LIBSINIT))
25@PACKAGE@LIBSINIT:=$(filter-out herwig,$(@PACKAGE@LIBSINIT))
26@PACKAGE@LIBSINIT:=$(filter-out EPEMGEN,$(@PACKAGE@LIBSINIT))
27PACKLDFLAGS:=$(LDFLAGS) $(@PACKAGE@LIBSINIT:%=-Wl,-u,_G__cpp_setupG__%)
89804af3 28# On Mac OS X gcc we need g2c
29ELIBS+=g2c
f3564e28 30ELIBSDIR+=$(dir $(shell find $(FINK_ROOT) -name 'libg2c.*'))
89804af3 31endif
2ee21e83 32
2d8cad5a 33# The two variables below are used for the creation of profile target.
34# ARLIBS stands for ARchive LIBrarieS and for each module one wants to profile
35# consists of dictionary object file and static library itself.
36# The shared libraries for modules without profiling are listed in the second
37# variable SHLIBS (SHared LIBrarieS).
38# Please note that the order of static libraries is important, the ones
39# which provide code for the others have to be placed after their "clients".
40# For example ITS uses TPC code, TPC uses CONTAINERS code, so the order has
41# to be ITS TPC CONTAINERS
42
43ARLIBS:= \
bbf76307 44 FMD/tgt_$(ALICE_TARGET)/G__FMDbase.o $(LIBPATH)/libFMDbase.a \
45 FMD/tgt_$(ALICE_TARGET)/G__FMDsim.o $(LIBPATH)/libFMDsim.a \
46 FMD/tgt_$(ALICE_TARGET)/G__FMDrec.o $(LIBPATH)/libFMDrec.a \
2d8cad5a 47 CRT/tgt_$(ALICE_TARGET)/G__CRT.o $(LIBPATH)/libCRT.a \
04c113e1 48 RICH/tgt_$(ALICE_TARGET)/G__RICHbase.o $(LIBPATH)/libRICHbase.a \
49 RICH/tgt_$(ALICE_TARGET)/G__RICHsim.o $(LIBPATH)/libRICHsim.a \
50 RICH/tgt_$(ALICE_TARGET)/G__RICHrec.o $(LIBPATH)/libRICHrec.a \
2d8cad5a 51 ZDC/tgt_$(ALICE_TARGET)/G__ZDC.o $(LIBPATH)/libZDC.a \
8d40d680 52 ZDC/tgt_$(ALICE_TARGET)/G__ZDCbase.o $(LIBPATH)/libZDCbase.a \
53 ZDC/tgt_$(ALICE_TARGET)/G__ZDCsim.o $(LIBPATH)/libZDCsim.a \
54 ZDC/tgt_$(ALICE_TARGET)/G__ZDCrec.o $(LIBPATH)/libZDCrec.a \
bbf76307 55 VZERO/tgt_$(ALICE_TARGET)/G__VZERObase.o $(LIBPATH)/libVZERObase.a \
56 VZERO/tgt_$(ALICE_TARGET)/G__VZEROsim.o $(LIBPATH)/libVZEROsim.a \
57 VZERO/tgt_$(ALICE_TARGET)/G__VZEROrec.o $(LIBPATH)/libVZEROrec.a \
2d8cad5a 58 EMCAL/tgt_$(ALICE_TARGET)/G__EMCAL.o $(LIBPATH)/libEMCAL.a \
bbf76307 59 START/tgt_$(ALICE_TARGET)/G__STARTbase.o $(LIBPATH)/libSTARTbase.a \
60 START/tgt_$(ALICE_TARGET)/G__STARTsim.o $(LIBPATH)/libSTARTsim.a \
61 START/tgt_$(ALICE_TARGET)/G__STARTrec.o $(LIBPATH)/libSTARTrec.a \
31d94b14 62 TOF/tgt_$(ALICE_TARGET)/G__TOFbase.o $(LIBPATH)/libTOFbase.a \
63 TOF/tgt_$(ALICE_TARGET)/G__TOFsim.o $(LIBPATH)/libTOFsim.a \
64 TOF/tgt_$(ALICE_TARGET)/G__TOFrec.o $(LIBPATH)/libTOFrec.a \
bbf76307 65 TRD/tgt_$(ALICE_TARGET)/G__TRDbase.o $(LIBPATH)/libTRDbase.a \
66 TRD/tgt_$(ALICE_TARGET)/G__TRDsim.o $(LIBPATH)/libTRDsim.a \
67 TRD/tgt_$(ALICE_TARGET)/G__TRDrec.o $(LIBPATH)/libTRDrec.a \
68 TRD/tgt_$(ALICE_TARGET)/G__TRDfast.o $(LIBPATH)/libTRDfast.a \
69 PMD/tgt_$(ALICE_TARGET)/G__PMDbase.o $(LIBPATH)/libPMDbase.a \
70 PMD/tgt_$(ALICE_TARGET)/G__PMDsim.o $(LIBPATH)/libPMDsim.a \
71 PMD/tgt_$(ALICE_TARGET)/G__PMDrec.o $(LIBPATH)/libPMDrec.a \
6612ace0 72 MUON/tgt_$(ALICE_TARGET)/G__MUONgeometry.o $(LIBPATH)/libMUONgeometry.a \
dd17c92c 73 MUON/tgt_$(ALICE_TARGET)/G__MUONmapping.o $(LIBPATH)/libMUONmapping.a \
6490a2d2 74 MUON/tgt_$(ALICE_TARGET)/G__MUONbase.o $(LIBPATH)/libMUONbase.a \
75 MUON/tgt_$(ALICE_TARGET)/G__MUONsim.o $(LIBPATH)/libMUONsim.a \
76 MUON/tgt_$(ALICE_TARGET)/G__MUONrec.o $(LIBPATH)/libMUONrec.a \
2d8cad5a 77 PHOS/tgt_$(ALICE_TARGET)/G__PHOS.o $(LIBPATH)/libPHOS.a \
78 ITS/tgt_$(ALICE_TARGET)/G__ITS.o $(LIBPATH)/libITS.a \
79 STRUCT/tgt_$(ALICE_TARGET)/G__STRUCT.o $(LIBPATH)/libSTRUCT.a \
bbf76307 80 TPC/tgt_$(ALICE_TARGET)/G__TPCbase.o $(LIBPATH)/libTPCbase.a \
81 TPC/tgt_$(ALICE_TARGET)/G__TPCsim.o $(LIBPATH)/libTPCsim.a \
82 TPC/tgt_$(ALICE_TARGET)/G__TPCrec.o $(LIBPATH)/libTPCrec.a \
83 TPC/tgt_$(ALICE_TARGET)/G__TPCfast.o $(LIBPATH)/libTPCfast.a \
2d8cad5a 84 STEER/tgt_$(ALICE_TARGET)/G__STEER.o $(LIBPATH)/libSTEER.a \
b2c624b2 85 STEER/tgt_$(ALICE_TARGET)/G__ESD.o $(LIBPATH)/libESD.a \
04a52722 86 CONTAINERS/tgt_$(ALICE_TARGET)/G__CONTAINERS.o $(LIBPATH)/libCONTAINERS.a \
d05ca1a4 87 RAW/tgt_$(ALICE_TARGET)/G__RAW.o $(LIBPATH)/libRAWData.a
2d8cad5a 88
0b5dd071 89SHLIBS:= $(BINLIBDIRS) -lEVGEN -lpythia6 -lAliPythia6 -lpdf -lTHijing -lhijing -lTMEVSIM -lmevsim -lTHbtp -lHBTP -lTHerwig -lherwig -lTEPEMGEN -lEPEMGEN -lTPHIC -lFASTSIM -lmicrocern
89804af3 90