The correct env variable pointing to the DIM lib directory is ODIR and not ALICE_TARG...
[u/mrichter/AliRoot.git] / MONITOR / libMONITOR.pkg
index 8678951045829381ff2e5b87540e73a731e40918..12544206973c6481a1e3ff90366093cc39d70fdb 100644 (file)
@@ -8,16 +8,11 @@ SRCS:=  AliMonitorPlot.cxx AliMonitorHisto.cxx AliMonitorTrend.cxx \
        AliMonitorProcess.cxx AliMonitorControl.cxx \
        AliMonitorDialog.cxx AliMonitorClient.cxx \
        AliQAHistNavigator.cxx AliQAHistViewer.cxx \
-       AliOnlineRecoTrigger.cxx
+       AliOnlineRecoTrigger.cxx \
+       AliDimIntNotifier.cxx AliChildProcTerminator.cxx AliOnlineReco.cxx AliTestChildProc.cxx
 
 CINTHDRS:= $(SRCS:.cxx=.h)
 
-ifdef DIMDIR
-
-SRCS += SORNotifier.cxx
-
-endif
-
 HDRS:= $(SRCS:.cxx=.h)
 
 DHDR:= MONITORLinkDef.h
@@ -26,9 +21,12 @@ EINCLUDE:= TPC ITS RAW
 
 ifdef DIMDIR
 
-EINCLUDE += $(DIMDIR)/dim
-ELIBS := dim
-ELIBSDIR := $(DIMDIR)/$(ALICE_TARGET)
+SRCS          += SORNotifier.cxx
+EINCLUDE      += $(DIMDIR)/dim
+ELIBS         := dim
+ELIBSDIR      := $(DIMDIR)/$(ODIR)
+PACKCXXFLAGS  := $(CXXFLAGS) -DALI_DIM
+PACKDCXXFLAGS := $(CXXFLAGSNO) -DALI_DIM
 
 endif