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