External instead of internal covariance matrix used
[u/mrichter/AliRoot.git] / HLT / Makefile.conf
CommitLineData
01ee3a4e 1#$Id$
3e87ef69 2################################
3# Makefile.conf for HLT code. #
4# #
5# Author: Anders Vestbo, #
6# Constantin Loizide #
7################################
01ee3a4e 8
1f1942b8 9#Added for MACOSX
10ARCH = $(shell uname)
11
3e87ef69 12#Specify the directory where the level3code tree is located.
13ifndef ALIHLT_TOPDIR
14ALIHLT_TOPDIR = $(HOME)/workcode/level3code
01ee3a4e 15endif
16
3e87ef69 17#Define directory to contain additional hlt code, such as logging classes.
18ifndef ALIHLT_BASEDIR
19ALIHLT_BASEDIR = /prog/alice/level3
01ee3a4e 20endif
d2e100c5 21
3e87ef69 22#Define directory where libs will be stored
23ifndef ALIHLT_LIBDIR
24ALIHLT_LIBDIR = $(ALIHLT_BASEDIR)/lib_$(USER)
d2e100c5 25endif
3e87ef69 26
27#Define whether you want to run with ALIROOT or only ROOT
28#Only one of them should be defined
29ifndef ALIHLT_USEPACKAGE
30ALIHLT_USEPACKAGE = ALIROOT
31#ALIHLT_USEPACKAGE = ROOT
32#ALIHLT_USEPACKAGE = STANDALONE
01ee3a4e 33endif
01ee3a4e 34
3e87ef69 35#Switch off special HLT logging classes
36ifeq ($(ALIHLT_NOLOGGING),true)
37NOLOGGING = 1
38endif
01ee3a4e 39
3e87ef69 40#Switch on saving MC data through the chain.
01ee3a4e 41#This will only have an effect if you are running with aliroot.
3e87ef69 42ifeq ($(ALIHLT_DOMC),true)
43DOMC = 1
44endif
01ee3a4e 45
3e87ef69 46#Switch on ALIROOT version detection by cvs command
47ifeq ($(ALIHLT_ALIDETECT),true)
48USECVS = 1
49endif
50
b2a02bce 51#switch on NEWIO if aliroot version needs it
52ifndef ALIHLT_USENEWIO
53ALIHLT_USENEWIO = false
54ifeq ($(ALICE_LEVEL),ali-head)
55ALIHLT_USENEWIO = true
56endif
57ifeq ($(ALICE_LEVEL),ali-v4-01-00)
58ALIHLT_USENEWIO = true
59endif
60endif
61
62ifeq ($(ALIHLT_USENEWIO),true)
63USENEWIO = 1
64endif
65
66
3e87ef69 67#----------------------------------------------------
68#Some compiler flags or defines: You can use your
69#own setting by defining them outside (make -e)
70#----------------------------------------------------
5672e807 71
3e87ef69 72GCCVERSION = $(shell $(CXX) --version | head -n 1 | cut -d" " -f 3 | cut -d. -f 1 | cut -d" " -f1)
47b00675 73CXXGCC3FLAGS = -DGCCVERSION=$(GCCVERSION)
1f1942b8 74
75ifeq ($(ARCH),Darwin)
76FINKDIR = /sw
77CXX = g++
78CXXFLAGS = -O -pipe -Wall -fsigned-char $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
79LD = $(CXX)
80#SOFLAGS = -bundle -flat_namespace -Xlinker -bind_at_load -undefined suppress
81SOFLAGS = -bundle -flat_namespace -undefined suppress
82DYFLAGS = -dynamiclib -flat_namespace -undefined suppress \
83 -compatibility_version 1 -current_version 1.0.0
84LDFLAGS = -O $(EXTRALDFLAGS) -L/sw/lib -ldl
85
86CINTCXXFLAGS = -pipe -W -Wall -fsigned-char \
87 -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
88 -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL
89else
90CXX = g++
91LD = $(CXX)
47b00675 92#CXXGCC3FLAGS += -pedantic
93#CXXGCC3FLAGS += -Wno-deprecated
3e87ef69 94#CXXGCC3FLAGS += -Woverloaded-virtual
95
96#If you are compiling on the alpha, use this flag:
97#EXTRACXXFLAGS += -mcpu=ev6
3e87ef69 98CXXFLAGS = -O2 -Wall -fPIC $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
47b00675 99LDFLAGS = -O2 $(EXTRALDFLAGS)
100SOFLAGS = -shared
1f1942b8 101endif