1 # Makefile for AliRoot for MacOS X with gcc
15 FOPT = $(OPT) -fno-second-underscore
18 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
21 CLIBFOPT = $(CLIBDEFS)
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)
34 LD = export MACOSX_DEPLOYMENT_TARGET=10.3 ; \
40 SOFLAGS := -bundle -undefined dynamic_lookup
46 DYFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
55 DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
57 GLIBS = -L/usr/X11R6/lib -lX11
62 EXEFLAGS+= -Xlinker -bind_at_load -Xlinker -m #-lg2c