]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/Makefile.conf
Changed definition of TOPDIR
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
CommitLineData
01ee3a4e 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
10ifndef USEPACKAGE
01ee3a4e 11USEPACKAGE = ALIROOT
c1123a44 12#USEPACKAGE = ROOT
13#USEPACKAGE = STANDALONE
01ee3a4e 14endif
15
16#Specify the directory where the level3code tree is located.
17ifndef TOPDIR
18TOPDIR = $(HOME)/workcode/level3code
19endif
d2e100c5 20
21#Define directory to contain additional L3 code, such as logging classes.
22ifndef LEVEL3
23LEVEL3 = /prog/alice/level3
24endif
01ee3a4e 25ifndef LIBDIR
26LIBDIR = $(LEVEL3)/lib_$(USERNAME)
27endif
01ee3a4e 28
29#Switch on/off HLT logging classes
5672e807 30#NOLOGGING = 1
01ee3a4e 31
32#Switch on/off saving MC data through the chain.
33#This will only have an effect if you are running with aliroot.
47b00675 34#DO_MC = 1
01ee3a4e 35
748e01f4 36#Switch of if you are not using patched AliTPC
37#This will only have an effect if you are running with aliroot.
38ASVVERSION = 1
39
5672e807 40#If you are compiling on the alpha, use this flag:
41#EXTRACXXFLAGS += -mcpu=ev6
42
47b00675 43CXX = g++
44LD = g++
45GCCVERSION = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1)
b1f97365 46
47b00675 47CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
48#CXXGCC3FLAGS += -pedantic
49#CXXGCC3FLAGS += -Wno-deprecated
50
51CXXFLAGS = -O2 -Wall -fPIC -Woverloaded-virtual $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
52LDFLAGS = -O2 $(EXTRALDFLAGS)
53SOFLAGS = -shared