# Author: Anders Vestbo #
###########################
-ifndef USEPACKAGE
-#USEPACKAGE = ROOT
-USEPACKAGE = ALIROOT
+ifndef TOPDIR
+TOPDIR = `pwd`/..
endif
-#used if USEPACKAGE=anything else
-DEFSTR = -Dno_root
-
-CXX = g++
-LD = g++
-CXXFLAGS = -O2 -Wall -fPIC
-LDFLAGS = -O2
-SOFLAGS = -shared
+include $(TOPDIR)/Makefile.conf
-ifndef TOPDIR
-TOPDIR = $(HOME)/level3code
-endif
-ifndef LIBDIR
-LIBDIR = $(LEVEL3)/lib_$(USERNAME)
-endif
-OBJDIR = lib
+DEFSTR = -Dno_root
ifeq ($(USEPACKAGE),ROOT)
INCLUDES = -I$(ROOTSYS)/include -I$(TOPDIR)/hough -I$(TOPDIR)/src -I$(TOPDIR)/comp
DEFSTR = -Duse_root
+OBJDIR = lib_ROOT
endif
ifeq ($(USEPACKAGE),ALIROOT)
DEFSTR = -Duse_aliroot
endif
-#Save the particle id's
-#DEFSTR += -Ddo_mc
+ifdef DO_MC
+DEFSTR += -Ddo_mc
+endif
-#Use logging classes
ifndef NOLOGGING
DEFSTR += -Duse_logging
endif
INCLUDES += -I/prog/alice/level3/kip/MLUC/include
endif
-SRCS = AliTransBit.cxx
+SRCS = AliTransBit.cxx AliL3AltroMemHandler.cxx AliL3DataHandler.cxx AliL3VHDLClusterFinder.cxx
DICT = AliL3MiscCint.cxx
DICTH = AliL3MiscCint.h
clean :
rm -f $(OBJDIR)/*.o
rm -f $(LIBDIR)/libAliL3Misc.so
- rm $(DICT) $(DICTH)
+ rm -f $(DICT) $(DICTH)
so :
rm -f $(LIBDIR)/libAliL3Misc.so
-
-
-
-
-
-
-