Does not compile GetGoodParticles in case of no AliROOT.
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Apr 2002 08:32:18 +0000 (08:32 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Apr 2002 08:32:18 +0000 (08:32 +0000)
HLT/hough/Makefile

index 935fcf7..1f7bf6b 100644 (file)
@@ -54,15 +54,21 @@ endif
 SRCS   = AliL3HoughTransformer.cxx AliL3Hough.cxx AliL3HoughTrack.cxx\
          AliL3HoughMaxFinder.cxx AliL3HoughEval.cxx AliL3HoughMerger.cxx \
          AliL3Histogram.cxx AliL3Histogram1D.cxx \
-         AliL3HoughIntMerger.cxx AliL3HoughGlobalMerger.cxx GetGoodParticles.cxx
+         AliL3HoughIntMerger.cxx AliL3HoughGlobalMerger.cxx 
 
 DICT = AliL3HoughCint.cxx
 DICTH = AliL3HoughCint.h
 DICTO = $(OBJDIR)/AliL3HoughCint.o
 
+ifeq ($(USEPACKAGE),ROOT) 
 HDRS = $(SRCS:.cxx=.h) AliL3HoughLinkDef.h
-
 OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(DICTO)
+endif
+
+ifeq ($(USEPACKAGE),ALIROOT)
+HDRS = $(SRCS:.cxx=.h) GetGoodParticles.h AliL3HoughLinkDef.h
+OBJS = $(patsubst %.cxx,$(OBJDIR)/%.o,$(SRCS)) $(OBJDIR)/GetGoodParticles.o $(DICTO)
+endif
 
 LEVELSO = $(LIBDIR)/libAliL3Hough.so