The correct env variable pointing to the DIM lib directory is ODIR and not ALICE_TARG...
[u/mrichter/AliRoot.git] / MONITOR / libMONITOR.pkg
index 0cc2660dbd27a2ae0e599520daaa816cbb11f1cd..12544206973c6481a1e3ff90366093cc39d70fdb 100644 (file)
@@ -1,23 +1,39 @@
 #-*- Mode: Makefile -*-
 # $Id$
 
-include HLT/hlt.conf
-
-EDEFINE      := ${HLTDEFS}
-PACKCXXFLAGS := ${HLTCXXFLAGS}
-PACKCFLAGS   := ${HLTCLFAGS}
-PACKDCXXFLAGS:= ${HLTDCXXFLAGS}
-
 SRCS:=  AliMonitorPlot.cxx AliMonitorHisto.cxx AliMonitorTrend.cxx \
        AliMonitor.cxx \
        AliMonitorTPC.cxx AliMonitorITS.cxx AliMonitorV0s.cxx \
-       AliMonitorHLT.cxx AliMonitorHLTHough.cxx \
        AliMonitorDataTPC.cxx \
        AliMonitorProcess.cxx AliMonitorControl.cxx \
-       AliMonitorDialog.cxx AliMonitorClient.cxx
+       AliMonitorDialog.cxx AliMonitorClient.cxx \
+       AliQAHistNavigator.cxx AliQAHistViewer.cxx \
+       AliOnlineRecoTrigger.cxx \
+       AliDimIntNotifier.cxx AliChildProcTerminator.cxx AliOnlineReco.cxx AliTestChildProc.cxx
+
+CINTHDRS:= $(SRCS:.cxx=.h)
 
 HDRS:= $(SRCS:.cxx=.h)
 
 DHDR:= MONITORLinkDef.h
 
-EINCLUDE:=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp
+EINCLUDE:= TPC ITS RAW
+
+ifdef DIMDIR
+
+SRCS          += SORNotifier.cxx
+EINCLUDE      += $(DIMDIR)/dim
+ELIBS         := dim
+ELIBSDIR      := $(DIMDIR)/$(ODIR)
+PACKCXXFLAGS  := $(CXXFLAGS) -DALI_DIM
+PACKDCXXFLAGS := $(CXXFLAGSNO) -DALI_DIM
+
+endif
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lSTEERBase -lESD \
+                         -lTPCbase -lTPCrec -lTPCsim \
+                         -lITSbase -lITSrec -lRAWDatarec \
+                         -L$(shell root-config --libdir) -lGui
+endif