/etc/root/vmc/Makefile.macosxxlc is in libroot-montecarlo-vmc-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # -*- mode: makefile -*-
# $Id$
# MacOS X with xlc platform dependent definitions
# The compilers
CXX = $(shell root-config --cxx)
CC = $(shell root-config --cc)
F77 = $(shell root-config --f77)
# Global optimisation
OPT = -qnoopt #-g -O
#OPT = -O3
# Shared library suffix
SL = dylib
#
# The options
#
CXXOPTS = $(OPT) -qpic \
-qflttrap=overflow:zerodivide:invalid:inexact:enable
COPT = $(OPT) -qpic \
-qflttrap=overflow:zerodivide:invalid:inexact:enable
FOPT = $(OPT) -qextname -qpic \
-qflttrap=overflow:zerodivide:invalid:inexact:enable
# CERNLIB defines
CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ -DCERNLIB_PPC
CLIBCXXOPTS = $(CLIBDEFS)
CLIBCOPT = $(CLIBDEFS)
CLIBFOPT = $(shell echo $(CLIBDEFS) | sed -e's/-D/-WF,-D/g')
LD = export MACOSX_DEPLOYMENT_TARGET=10.3 ; unset LD_PREBIND; $(shell root-config --ld)
LDFLAGS = $(OPT) -bind_at_load
SHLD = export MACOSX_DEPLOYMENT_TARGET=10.3 ; unset LD_PREBIND; $(shell root-config --ld)
SOFLAGS = -dynamiclib -undefined dynamic_lookup -single_module
SHLIB = -lg2c
|