]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/MakefileDA
Using date-config in order to steer the make. Adding amore into the DA.
[u/mrichter/AliRoot.git] / build / MakefileDA
index acb37e0ec580da14aa40e502a7118dccf15fb011..d45a0f7c181ae40fe00fb7f47899ba2bea140075 100644 (file)
@@ -71,6 +71,15 @@ DAQDADIR=${DAQDALIB_PATH}
 endif
 DAQDALIB=$(DAQDADIR)/libdaqDA.a
 
+ifneq ($(shell amore-config 2>&1 |grep -i usage),)
+AMOREFLAGS = -DALI_AMORE $(shell amore-config --cflags --includes)
+CXXFLAGS  += $(AMOREFLAGS)
+CFLAGS    += $(AMOREFLAGS)
+CINTFLAGS += $(AMOREFLAGS)
+DEPINC    += $(AMOREFLAGS)
+DAQDALIB  += $(shell amore-config --auxlibs)
+endif
+
 ROOTLIBDIR=$(shell root-config --libdir)
 
 SYSLIBS=-ldl -lpthread