Double check if SM is running added. Some redundant output removed from SM
[u/mrichter/AliRoot.git] / RAW / Makefile
index afc2a67..9d29aa1 100644 (file)
@@ -1,11 +1,11 @@
 # Makefile for ALICE MDC program for Linux
 
-include $(ROOTSYS)/test/Makefile.arch
+include Makefile.arch
 
 LDFLAGS      += -Wl,-rpath,/ROOT/Linux/CurrentRelease/root/lib \
                 -Wl,-rpath,/date/smi/linux \
                 -Wl,-rpath,/date/dim/linux \
-                -Wl,-rpath,/adcRoot/alimdc4
+                -Wl,-rpath,/adcRoot/alimdc5
 
 ifneq ($(findstring rdm,$(MAKECMDGOALS)),)
 CXXFLAGS += -DUSE_RDM
@@ -18,8 +18,8 @@ endif
 ifneq ($(findstring smi,$(MAKECMDGOALS)),)
 #SMIDIR    = ./smi
 #DIMDIR    = ./dim
-SMIDIR    = ../date/smi
-DIMDIR    = ../date/dim
+SMIDIR    = /date/smi
+DIMDIR    = /date/dim
 CXXFLAGS += -DUSE_SMI -I$(SMIDIR)/smixx -I$(DIMDIR)/dim
 LIBS     += -L$(SMIDIR)/linux -lsmiui -lsmi -L$(DIMDIR)/linux -ldim
 endif
@@ -33,12 +33,12 @@ DBDIR     = ./eb
 FIFODIR   = ./eb
 INFODIR   = ./eb
 else
-EBDIR     = ../date/eventBuilder
-BMDIR     = ../date/banksManager
-DBMDIR    = ../date/bufferManager
-DBDIR     = ../date/db
-FIFODIR   = ../date/simpleFifo
-INFODIR   = ../date/infoLogger
+EBDIR     = /date/eventBuilder
+BMDIR     = /date/banksManager
+DBMDIR    = /date/bufferManager
+DBDIR     = /date/db
+FIFODIR   = /date/simpleFifo
+INFODIR   = /date/infoLogger
 endif
 CXXFLAGS += -DUSE_EB -I$(EBDIR)
 LIBS     += -L$(EBDIR)/Linux -L$(BMDIR)/Linux -L$(DBMDIR)/Linux \
@@ -48,15 +48,18 @@ LIBS     += -L$(EBDIR)/Linux -L$(BMDIR)/Linux -L$(DBMDIR)/Linux \
 endif
 
 ifneq ($(findstring hlt,$(MAKECMDGOALS)),)
-CXXFLAGS += -DUSE_HLT -I$(ALITPC)
-LIBS     += -L$(ALITPC) -lSTEER -lTPC
+include ../HLT/hlt.conf
+CXXFLAGS += -DUSE_HLT ${HLTDEFS} -I${ALICE_ROOT}/include -I../HLT/src -I../HLT/hough -I../HLT/comp
+LIBS     += -lEG -lVMC -lGeom -lThread -L../lib/tgt_linuxDEBUG -lSTEER -lRAWData -lTPCbase -lTPCsim -lTPCrec -lCONTAINERS -lAliHLTSrc -lAliHLTMisc -lAliHLTHough -lAliHLTComp
 endif
 
-##### MACROS and TARGETS #####
-
-include Make-macros
+##### DATE #####
 
+ifdef DATE_ROOT
+DATEFLAGS = -DALI_DATE -D${DATE_SYS} -DDATE_SYS=${DATE_SYS} -Dlong32=${DATE_LONG32} -Dlong64='${DATE_LONG64}' -DdatePointer=${DATE_POINTER} -I${DATE_COMMON_DEFS}
+CXXFLAGS += $(DATEFLAGS)
+endif
 
-##### DEPENDENCIES #####
+##### MACROS and TARGETS #####
 
-include Make-depend
+       $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)