Messages on a single line for easy parsing
[u/mrichter/AliRoot.git] / build / Makefile.Darwin
CommitLineData
40c469d5 1PLATFORM:=Darwin
2
3# The compilers
4CXX = g++
5F77 = g77
6CC = gcc
7
8# Global optimisation
9OPT = -O -g
10
3c5cb192 11CXXOPTS = $(OPT) -Wall -W -pipe -fsigned-char -fno-common -fweak-coalesced -fmessage-length=0
40c469d5 12COPT = $(OPT) -Wall -W -fno-common -fweak-coalesced
13FOPT = $(OPT) -fno-second-underscore -fweak-coalesced
14CXXFLAGS = $(CXXOPTS) -I/sw/include
15CFLAGS = -Wall -pipe
16
17# rootcint flags
18CINTFLAGS = #$(CXXFLAGS)
19
20# CERNLIB defines
21
22CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
23CLIBCXXOPTS =
24CLIBCOPT =
25CLIBFOPT =
26
27# Common Fortran compilation flags
28FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
29
30LD = export MACOSX_DEPLOYMENT_TARGET=10.2 ; g++
31LDFLAGS = $(OPT)
32
33SHLD := $(LD)
34SOFLAGS := -bundle -flat_namespace -undefined suppress
88cb7938 35#SHLIB := -lg2c
40c469d5 36SHLIB :=
37SOEXT := so
38
39DYLD := $(LD)
40DYFLAGS = -dynamiclib -flat_namespace -undefined suppress -single_module
41DYLIB :=
42DYEXT := dylib
43
44ALLD = ar
45ALFLAGS = cr
46ALLIB =
47AEXT = a
48
49
50# rmkdepend flags for building dependencies of FORTRAN files
51DEPENDFFLAGS = $(FFLAGS)
52
53DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
54
55GLIBS = -L/usr/X11R6/lib -lX11
56
57#System libraries
58SYSLIBS = -ldl
59
88cb7938 60EXEFLAGS+= -Xlinker -bind_at_load -Xlinker -m #-lg2c
40c469d5 61
62
63
64