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