The correct env variable pointing to the DIM lib directory is ODIR and not ALICE_TARG...
[u/mrichter/AliRoot.git] / MONITOR / libMONITOR.pkg
index 8330bbdf7c90504dabc05008e92934dd9cecfc98..12544206973c6481a1e3ff90366093cc39d70fdb 100644 (file)
@@ -13,12 +13,6 @@ SRCS:=  AliMonitorPlot.cxx AliMonitorHisto.cxx AliMonitorTrend.cxx \
 
 CINTHDRS:= $(SRCS:.cxx=.h)
 
-ifdef DIMDIR
-
-SRCS += SORNotifier.cxx
-
-endif
-
 HDRS:= $(SRCS:.cxx=.h)
 
 DHDR:= MONITORLinkDef.h
@@ -27,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