Revision f83cb328f6e6bc81c67e49c5dd1972716c42d165 authored by Paul Russo on 23 June 2008, 15:48:41 UTC, committed by Paul Russo on 23 June 2008, 15:48:41 UTC
to the rawtype node, not the top node. Fix G__test_static, G__AUTOARYDISCRETEOBJ needs to test the statictype property directly. -- Philippe Canal and Paul Russo git-svn-id: http://root.cern.ch/svn/root/trunk@24487 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 230b409
Makefile.macosxxlc
# -*- mode: makefile -*-
#
# Makefile of ROOT for MacOS X, using IBM xl compilers
PLATFORM = macosx
DEBUGFLAGS = -g
OPTFLAGS = -O
ifeq (debug,$(findstring debug,$(ROOTBUILD)))
OPT = $(DEBUGFLAGS)
NOOPT = -qnoopt
else
OPT = $(OPTFLAGS)
NOOPT = -qnoopt
endif
# Compiler:
CXX = xlC
CC = xlc
CXXFLAGS = -qpic -qchar=signed \
-I/usr/X11R6/include $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS)
CFLAGS = -qpic -qchar=signed \
-I/usr/X11R6/include $(EXTRA_CFLAGS) $(FINK_CFLAGS)
CINTCXXFLAGS = -qpic -qchar=signed \
-DG__REGEXP $(EXTRA_CXXFLAGS) $(FINK_CXXFLAGS) \
-DG__UNIX -DG__SHAREDLIB \
-DG__ROOT -DG__REDIRECTIO -DG__OSFDLL
CINTCFLAGS = -qpic -qchar=signed \
-DG__ANSI -DG__REGEXP -DG__UNIX -DG__SHAREDLIB \
-DG__ROOT -DG__REDIRECTIO -DG__OSFDLL \
$(EXTRA_CFLAGS) $(FINK_CFLAGS)
# OS version
MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2)
MACOSX_CPU := $(shell uname -p)
# Linker:
LD = xlC
LDFLAGS = $(OPT) -Wl,-bind_at_load
FORCELINK = yes
NEEDFINK = yes
MACOSXTARGET := MACOSX_DEPLOYMENT_TARGET=10.$(MACOSX_MINOR)
ifeq ($(subst $(MACOSX_MINOR),,123),123)
SOFLAGS = $(OPT) -qmkshrobj -undefined dynamic_lookup \
-single_module -Wl,-install_name -Wl,$(LIBDIR)/
FORCELINK = no
NEEDFINK = no
else
ifeq ($(MACOSX_MINOR),3)
SOFLAGS = $(OPT) -qmkshrobj -undefined dynamic_lookup \
-single_module -Wl,-install_name -Wl,$(LIBDIR)/
else
SOFLAGS = $(OPT) -qmkshrobj -undefined suppress \
-single_module -Wl,-install_name -Wl,$(LIBDIR)/
endif
endif
SOEXT = dylib
# System libraries:
SYSLIBS = -lm $(EXTRA_LDFLAGS) $(FINK_LDFLAGS) $(OSTHREADLIBDIR) \
$(OSTHREADLIB) -ldl
XLIBS = $(XPMLIBDIR) $(XPMLIB) $(X11LIBDIR) -lXext -lX11
CILIBS = -lm $(EXTRA_LDFLAGS) $(FINK_LDFLAGS) -ldl
# Fortran:
F77 = xlf
F77FLAGS = -qextname
F77LIBS = -lg2c -L/opt/ibmcmp/xlf/8.1/lib \
-lxlf90 -lxlomp_ser -lxlfmath
# Override default in Makefile.config
INSTALL := /bin/cp -pPR
INSTALLDATA := /bin/cp -pPR
# Extras
ifeq ($(NEEDFINK),yes)
FINK_DIR = $(shell which fink 2>&1 | sed -ne "s/\/bin\/fink//p")
FINK_CXXFLAGS = $(shell [ -d $(FINK_DIR)/include ] && echo -I$(FINK_DIR)/include)
FINK_CFLAGS = $(shell [ -d $(FINK_DIR)/include ] && echo -I$(FINK_DIR)/include)
FINK_LDFLAGS = $(shell [ -d $(FINK_DIR)/lib ] && echo -L$(FINK_DIR)/lib)
endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...