]> git.uio.no Git - u/mrichter/AliRoot.git/blame - build/Makefile.macosx
Put split level for the HLT ESD tree to zero.
[u/mrichter/AliRoot.git] / build / Makefile.macosx
CommitLineData
b934f194 1# Makefile for AliRoot for MacOS X with gcc
2
02a1d5c1 3# The compilers
4CXX = g++
5F77 = g77
6CC = gcc
7
8# Global optimisation
1bc3cc71 9OPT = -O0 -g
19ca05d1 10NOOPT = -g
02a1d5c1 11
19ca05d1 12CXXOPT = $(OPT)
13CXXNOOPT = $(NOOPT)
14COPT = $(OPT)
02a1d5c1 15FOPT = $(OPT) -fno-second-underscore
02a1d5c1 16
17# CERNLIB defines
02a1d5c1 18CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
19CLIBCXXOPTS =
20CLIBCOPT =
19ca05d1 21CLIBFOPT = $(CLIBDEFS)
22
23# Compiler flags
24CXXFLAGS = $(CXXOPT) -Wall -W -pipe -fsigned-char -fno-common -fweak-coalesced -fmessage-length=0 -I/sw/include
25CXXFLAGSNO = $(CXXNOOPT) -Wall -W -pipe -fsigned-char -fno-common -fweak-coalesced -fmessage-length=0 -I/sw/include
26CFLAGS = $(COPT) -Wall -W -fno-common -fweak-coalesced -pipe -I/sw/include
27FFLAGS = $(CLIBFOPT) $(FOPT)
28# rmkdepend flags for building dependencies of FORTRAN files
29DEPENDFFLAGS = $(FFLAGS)
30
31# rootcint flags
32CINTFLAGS =
02a1d5c1 33
02a1d5c1 34LD = export MACOSX_DEPLOYMENT_TARGET=10.3 ; \
35 unset LD_PREBIND ; \
36 g++
2bdfa405 37LDFLAGS = $(OPT) $(DICTLOAD)
02a1d5c1 38
39SHLD := $(LD)
2469b598 40SOFLAGS := -bundle -undefined dynamic_lookup
02a1d5c1 41SHLIB :=
42SOEXT := so
43
44DYLD := $(LD)
2469b598 45DYFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
02a1d5c1 46DYLIB :=
47DYEXT := dylib
48
49ALLD = ar
50ALFLAGS = cr
51ALLIB =
52AEXT = a
53
02a1d5c1 54DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
55
56GLIBS = -L/usr/X11R6/lib -lX11
57
58#System libraries
59SYSLIBS = -ldl
60
2bdfa405 61EXEFLAGS+= -bind_at_load
02a1d5c1 62