Mods for MacOSX 10.4
[u/mrichter/AliRoot.git] / MONITOR / binmonitorCheck.pkg
CommitLineData
0cf7de2b 1#-*- Mode: Makefile -*-
2# $Id$
3
4include HLT/hlt.conf
5
6EDEFINE := ${HLTDEFS}
7PACKCXXFLAGS := ${HLTCXXFLAGS}
8PACKCFLAGS := ${HLTCLFAGS}
9PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
10
df0f3179 11SRCS:=monitorCheck.cxx
12
df94eb71 13EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
df0f3179 14
15
16ifdef DATE_ROOT
17
18ELIBSDIR:=${DATE_MONITOR_DIR}/${DATE_SYS}
d05ca1a4 19ELIBS:= ESD STEER CONTAINERS RAWData monitor shift pythia6 pdf microcern TPCbase TPCsim TPCrec ITS AliL3Src AliL3Comp AliL3Misc AliL3Hough AliL3ITS
df0f3179 20EINCLUDE+= ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR}
21
22else
23
24ELIBS:= pythia6 pdf microcern
25
26endif
651e35f1 27
a4b51f60 28ifneq (,$(findstring macosx,$(ALICE_TARGET)))
651e35f1 29@PACKAGE@LIBSINIT:=$(filter-out microcern,$(ELIBS))
30@PACKAGE@LIBSINIT:=$(filter-out pdf,$(@PACKAGE@LIBSINIT))
31PACKLDFLAGS:=$(LDFLAGS) $(@PACKAGE@LIBSINIT:%=-Wl,-u,_G__cpp_setupG__%)
a4b51f60 32# On Mac OS X gcc we need g2c for versions before 10.4
33ifneq ($(MACOSX_MINOR),4)
651e35f1 34ELIBS+=g2c
a4b51f60 35ELIBSDIR+=$(dir $(shell find $(FINK_ROOT) -name 'libg2c.*'))
36endif
651e35f1 37endif