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 -Wno-long-double #-Weffc++ -Woverloaded-virtual
25 CXXFLAGSNO = $(CXXNOOPT) -Wall -W -pipe -fsigned-char -fno-common -fweak-coalesced -fmessage-length=0 -I/sw/include -Wno-long-double
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 ; \
37 LDFLAGS = $(OPT) $(DICTLOAD)
40 SOFLAGS := -bundle -undefined dynamic_lookup
41 SHLIB := -L/sw/lib -lg2c
45 DYFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
46 DYLIB := -L/sw/lib -lg2c
54 DEPENDCXXFLAGS = $(CXXFLAGS) -I/usr/include/sys
56 GLIBS = -L/usr/X11R6/lib -lX11
61 EXEFLAGS+= -bind_at_load