2 ################################
3 # Makefile.conf for HLT code. #
5 # Author: Anders Vestbo, #
7 ################################
12 #Specify the directory where the level3code tree is located.
14 ALIHLT_TOPDIR = $(HOME)/workcode/level3code
17 #Define directory to contain additional hlt code, such as logging classes.
19 ALIHLT_BASEDIR = /prog/alice/level3
22 #Define directory where libs will be stored
24 ALIHLT_LIBDIR = $(ALIHLT_BASEDIR)/lib_$(USER)
27 #Define whether you want to run with ALIROOT or only ROOT
28 #Only one of them should be defined
29 ifndef ALIHLT_USEPACKAGE
30 ALIHLT_USEPACKAGE = ALIROOT
31 #ALIHLT_USEPACKAGE = ROOT
32 #ALIHLT_USEPACKAGE = STANDALONE
35 #Switch off special HLT logging classes
36 ifeq ($(ALIHLT_NOLOGGING),true)
40 #Switch on saving MC data through the chain.
41 #This will only have an effect if you are running with aliroot.
42 ifeq ($(ALIHLT_DOMC),true)
46 #Switch on ALIROOT version detection by cvs command
47 ifeq ($(ALIHLT_ALIDETECT),true)
51 #switch on NEWIO if aliroot version needs it
52 ifndef ALIHLT_USENEWIO
53 ALIHLT_USENEWIO = false
54 ifeq ($(ALICE_LEVEL),ali-head)
55 ALIHLT_USENEWIO = true
59 ifeq ($(ALIHLT_ROWHOUGH),true)
63 ifeq ($(ALIHLT_USENEWIO),true)
67 #----------------------------------------------------
68 #Some compiler flags or defines: You can use your
69 #own setting by defining them outside (make -e)
70 #----------------------------------------------------
75 CXXFLAGS = -O -pipe -Wall -fsigned-char $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
76 CINTCXXFLAGS = -pipe -W -Wall -fsigned-char \
77 -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
78 -DG__ROOT -DG__REDIRECTIO -DG__OSFDLL
80 #SOFLAGS = -bundle -flat_namespace -Xlinker -bind_at_load -undefined suppress
81 SOFLAGS = -bundle -flat_namespace -undefined suppress
82 DYFLAGS = -dynamiclib -flat_namespace -undefined suppress \
83 -compatibility_version 1 -current_version 1.0.0
84 LDFLAGS = -O $(EXTRALDFLAGS) -L/sw/lib -ldl
87 CXXFLAGS = -O2 -fPIC -Wall $(CXXGCC3FLAGS) $(EXTRACXXFLAGS)
89 LDFLAGS = -O2 $(EXTRALDFLAGS)
93 #static flags for profiling