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