]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.conf
ac32e5e5fc0a9c5f2d0f1bbad74b5212a9818dd1
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
1 #$Id$
2 ################################
3 # Makefile.conf for HLT code.  #
4 #                              #
5 # Author: Anders Vestbo,       #
6 #         Constantin Loizide   #                    
7 ################################
8
9 #Specify the directory where the level3code tree is located.
10 ifndef ALIHLT_TOPDIR
11 ALIHLT_TOPDIR = $(HOME)/workcode/level3code
12 endif
13
14 #Define directory to contain additional hlt code, such as logging classes.
15 ifndef ALIHLT_BASEDIR
16 ALIHLT_BASEDIR = /prog/alice/level3
17 endif
18
19 #Define directory where libs will be stored
20 ifndef ALIHLT_LIBDIR
21 ALIHLT_LIBDIR = $(ALIHLT_BASEDIR)/lib_$(USER)
22 endif
23
24 #Define whether you want to run with ALIROOT or only ROOT
25 #Only one of them should be defined
26 ifndef ALIHLT_USEPACKAGE
27 ALIHLT_USEPACKAGE = ALIROOT
28 #ALIHLT_USEPACKAGE = ROOT
29 #ALIHLT_USEPACKAGE = STANDALONE
30 endif
31
32 #Switch off special HLT logging classes
33 ifeq ($(ALIHLT_NOLOGGING),true)
34 NOLOGGING = 1
35 endif
36
37 #Switch on saving MC data through the chain.
38 #This will only have an effect if you are running with aliroot.
39 ifeq ($(ALIHLT_DOMC),true)
40 DOMC = 1
41 endif
42
43 #Switch on effective digit data handling 
44 #in case you are not using patched AliTPC. 
45 #This only has an effect if using ALIROOT.
46 ifeq ($(ALIHLT_HAVEASV),true)
47 ASVVERSION = 1
48 endif
49
50 #Switch on ALIROOT version detection by cvs command
51 ifeq ($(ALIHLT_ALIDETECT),true)
52 USECVS = 1
53 endif
54
55 #----------------------------------------------------
56 #Some compiler flags or defines: You can use your
57 #own setting by defining them outside (make -e)
58 #----------------------------------------------------
59
60 CXX          = g++
61 LD           = $(CXX)
62 GCCVERSION   = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1 | cut -d" " -f1)
63
64 CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
65 #CXXGCC3FLAGS += -pedantic
66 #CXXGCC3FLAGS += -Wno-deprecated
67 #CXXGCC3FLAGS += -Woverloaded-virtual
68
69 #If you are compiling on the alpha, use this flag:
70 #EXTRACXXFLAGS += -mcpu=ev6
71
72 CXXFLAGS     = -O2 -Wall -fPIC $(CXXGCC3FLAGS) $(EXTRACXXFLAGS) 
73 LDFLAGS      = -O2 $(EXTRALDFLAGS)
74 SOFLAGS      = -shared