]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.conf
Can specify patch=-1, this means all numbers will be relative to a whole
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
1 #$Id$
2 ###########################
3 # Makefile for HLT code.  #
4 #                         #
5 # Author: Anders Vestbo   #                    
6 ###########################
7
8 #Define whether you want to run with ALIROOT or only ROOT
9 #Only one of them should be defined
10 ifndef USEPACKAGE
11 USEPACKAGE = ALIROOT
12 #USEPACKAGE = ROOT
13 #USEPACKAGE = STANDALONE
14 endif
15
16 #Specify the directory where the level3code tree is located.
17 ifndef TOPDIR
18 TOPDIR = $(HOME)/workcode/level3code
19 endif
20 ifndef LIBDIR
21 LIBDIR = $(LEVEL3)/lib_$(USERNAME)
22 endif
23
24 #Switch on/off HLT logging classes
25 #NOLOGGING = 1
26
27 #Switch on/off saving MC data through the chain.
28 #This will only have an effect if you are running with aliroot.
29 #DO_MC = 1 
30
31 #Switch of  if you are not using patched AliTPC 
32 #This will only have an effect if you are running with aliroot.
33 ASVVERSION = 1
34
35 #If you are compiling on the alpha, use this flag:
36 #EXTRACXXFLAGS += -mcpu=ev6
37
38 CXX          = g++
39 LD           = g++
40 GCCVERSION   = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
41
42 CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
43 #CXXGCC3FLAGS += -pedantic
44 #CXXGCC3FLAGS += -Wno-deprecated
45
46 CXXFLAGS     = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS) 
47 LDFLAGS      = -O2 $(EXTRALDFLAGS)
48 SOFLAGS      = -shared