Removing unused ZDC library
[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++
37LDFLAGS = $(OPT)
38
39SHLD := $(LD)
2469b598 40SOFLAGS := -bundle -undefined dynamic_lookup
02a1d5c1 41#SHLIB := -lg2c
42SHLIB :=
43SOEXT := so
44
45DYLD := $(LD)
2469b598 46DYFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
02a1d5c1 47DYLIB :=
48DYEXT := dylib
49
50ALLD = ar
51ALFLAGS = cr
52ALLIB =
53AEXT = a
54
02a1d5c1 55DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
56
57GLIBS = -L/usr/X11R6/lib -lX11
58
59#System libraries
60SYSLIBS = -ldl
61
1bc3cc71 62EXEFLAGS+= -bind_at_load
02a1d5c1 63
64
65
66