]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/Makefile.conf
AliTPCBuffer160 renamed to AliAltroBuffer
[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 #Added for MACOSX
10 ARCH := $(shell root-config --arch)
11
12 ifeq ($(ARCH),macosxxlc)
13 ARCH := macosx
14 endif
15
16 #Specify the directory where the level3code tree is located.
17 ifndef ALIHLT_TOPDIR
18 ALIHLT_TOPDIR = $(HOME)/workcode/level3code
19 endif
20
21 #Define directory to contain additional hlt code, such as logging classes.
22 ifndef ALIHLT_BASEDIR
23 ALIHLT_BASEDIR = /prog/alice/level3
24 endif
25
26 #Define directory where libs will be stored
27 ifndef ALIHLT_LIBDIR
28 ALIHLT_LIBDIR = $(ALIHLT_BASEDIR)/lib_$(USER)
29 endif
30
31 #Define whether you want to run with ALIROOT or only ROOT
32 #Only one of them should be defined
33 ifndef ALIHLT_USEPACKAGE
34 ALIHLT_USEPACKAGE = ALIROOT
35 #ALIHLT_USEPACKAGE = ROOT
36 #ALIHLT_USEPACKAGE = STANDALONE
37 endif
38
39 #Switch off special HLT logging classes
40 ifeq ($(ALIHLT_NOLOGGING),true)
41 NOLOGGING = 1
42 endif
43
44 #Switch on saving MC data through the chain.
45 #This will only have an effect if you are running with aliroot.
46 ifeq ($(ALIHLT_DOMC),true)
47 DOMC = 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 #switch on NEWIO if aliroot version needs it
56 ifndef ALIHLT_USENEWIO
57 ALIHLT_USENEWIO = false
58 ifeq ($(ALICE_LEVEL),ali-head)
59 ALIHLT_USENEWIO = true
60 endif
61 endif
62
63 ifeq ($(ALIHLT_ROWHOUGH),true)
64 USEROWHOUGH = 1
65 endif
66
67 ifeq ($(ALIHLT_USENEWIO),true)
68 USENEWIO = 1
69 endif
70
71 #----------------------------------------------------
72 #Some compiler flags or defines: You can use your
73 #own setting by defining them outside (make -e)
74 #----------------------------------------------------
75
76 ifeq ($(ARCH),Darwin)
77 FINKDIR         = /sw
78 CXX             = g++
79 CXXFLAGS        = -O -pipe -Wall -fsigned-char $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
80 CINTCXXFLAGS  = -pipe -W -Wall -fsigned-char \
81                 -DG__REGEXP  -DG__UNIX -DG__SHAREDLIB \
82                 -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL
83 LD              = $(CXX)
84 #SOFLAGS         = -bundle -flat_namespace -Xlinker -bind_at_load -undefined suppress
85 SOFLAGS         = -bundle -flat_namespace -undefined suppress
86 DYFLAGS         = -dynamiclib -flat_namespace -undefined suppress \
87                   -compatibility_version 1 -current_version 1.0.0 
88 LDFLAGS         = -O $(EXTRALDFLAGS) -L/sw/lib -ldl
89 else
90 CXX          = g++
91 CXXFLAGS     = -O2 -fPIC -Wall $(CXXGCC3FLAGS) $(EXTRACXXFLAGS) 
92 LD           = $(CXX)
93 LDFLAGS      = -O2 $(EXTRALDFLAGS)
94 SOFLAGS      = -shared
95 endif
96
97 #static flags for profiling
98 PROFILEFLAGS = -g -pg
99 LDSTATIC     = ar
100 STATICFLAGS  = rucs