]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/Makefile
- Bug fix: in the creation/reading of the trigger DCS values, the HV and currents...
[u/mrichter/AliRoot.git] / HLT / PHOS / Makefile
index bba709131788809bcc2d9ecbd376c819da1c715b..dcb62e93bf3261607d5fd79fd57ac4ec61976ff8 100755 (executable)
@@ -1,12 +1,22 @@
 include Makefile.arch
 
+ROOTLIBS         = `root-config --libs`  -lVMC -lGeom -lEG
+ALIROOTLIBS      = -L$(ALICE_ROOT)/lib/tgt_linux  -lESD -lRAWDatarec -lRAWDatabase -lSTEERBase
 
-MAINO       = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf)  AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf)
 
-MAINS       = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf)  AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf)
+#LIBS           = $(LIBS) $(ROOTLIBS) $(ALIROOTLIBS)
+LIBS            = $(ROOTLIBS) $(ALIROOTLIBS)
 
-MAIN        = testDecoder$(ExeSuf)
+ROOTINCLUDE      = -I$(ROOTSYS)/include
+ALIROOTINCLUDE   = -I$(ALICE_ROOT)/include  -I$(ALICE_ROOT)/RAW
+INCLUDES        =  $(ROOTINCLUDE) $(ALIROOTINCLUDE)
+
+#MAINO       = testDecoder.$(ObjSuf) AliHLTAltroData.$(ObjSuf)  AliHLTAltroBunch.$(ObjSuf) AliHLTDDLDecoder.$(ObjSuf)
+#MAINS       = testDecoder.$(SrcSuf) AliHLTAltroData.$(SrcSuf)  AliHLTAltroBunch.$(SrcSuf) AliHLTDDLDecoder.$(SrcSuf)
 
+MAINO       = testDecoder.$(ObjSuf)
+MAINS       = testDecoder.$(SrcSuf) 
+MAIN        = testDecoder$(ExeSuf)
 
 OBJS          = $(MAINO) 
 PROGRAMS      = $(MAIN) 
@@ -18,7 +28,7 @@ all:            $(PROGRAMS)
 
 
 $(MAIN):       $(MAINO)
-               $(LD) $(LDFLAGS) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN)
+               $(LD) $(LDFLAGS) $(INCLUDES) $^ $(LIBS) $(GLIBS) -lTreePlayer -lMathCore -lThread -lpthread $(OutPutOpt)$(MAIN)
                @echo "$@ done"
 
 
@@ -34,10 +44,12 @@ distclean:      clean
                -@cd RootShower && $(MAKE) distclean
 
 .SUFFIXES: .$(SrcSuf)
-       
-AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h
-AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h
-testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h
+
+
+#AliHLTAltroData.$(ObjSuf): AliHLTAltroData.h
+#AliHLTDDLDecoder.$(ObjSuf): AliHLTDDLDecoder.h
+#testDecoder.$(ObjSuf): AliHLTAltroData.h AliHLTDDLDecoder.h
+testDecoder.$(ObjSuf): 
 
 .$(SrcSuf).$(ObjSuf):
-       $(CXX) $(CXXFLAGS) -c $<
+       $(CXX) $(CXXFLAGS) $(INCLUDES) -c $<