/etc/root/vmc/Makefile.macosx64 is in libroot-montecarlo-vmc-dev 5.34.30-0ubuntu8.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | # -*- mode: makefile -*-
# $Id: Makefile.macosx 20845 2007-11-16 15:48:58Z rdm $
# MacOSX 64-bit platform dependent definitions
# OS version
MACOSX_MAJOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 1))
MACOSX_MINOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2))
# Architecture: PPC or x86
ARCH_PPCI386 := $(shell arch)
# fink directories
FINK_ROOT := $(shell which fink | sed -e 's?/bin/fink??')
# The compilers
CXX = $(shell root-config --cxx)
CC = $(shell root-config --cc)
F77 = $(shell root-config --f77)
# Global optimisation
OPT = -g #-O
# Shared library suffix
SL = dylib
# AWK
AWK = awk
# The options
#
#
CXXOPTS = $(OPT) -m64 -pipe -Wall -W -Woverloaded-virtual
COPT = $(OPT) -m64
FOPT = $(OPT) -m64 -fno-second-underscore
# CERNLIB defines
CLIBDEFS_TMP = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
ifeq (i386,$(findstring i386,$(ARCH_PPCI386)))
CLIBDEFS = $(CLIBDEFS_TMP)
else
CLIBDEFS = $(CLIBDEFS_TMP) -DCERNLIB_PPC
endif
ifneq (,$(findstring g95,$(F77)))
CLIBDEFS += -DCERNLIB_G95
else
CLIBDEFS += -DCERNLIB_GFORTRAN
endif
CLIBCXXOPTS = $(CLIBDEFS)
CLIBCOPT = $(CLIBDEFS)
CLIBFOPT = $(CLIBDEFS)
LD = export MACOSX_DEPLOYMENT_TARGET=$(MACOSX_MAJOR).$(MACOSX_MINOR) ; \
unset LD_PREBIND ; \
$(shell root-config --ld)
LDFLAGS = $(OPT) -m64 -bind_at_load
SHLD = $(LD)
SOFLAGS = -m64 -dynamiclib -undefined dynamic_lookup -single_module
ifneq (,$(findstring g95,$(F77)))
SHLIB += -L$(shell $(F77) --print-search-dirs | sed -n -e 's/install: //p') -lf95
else
SHLIB := $(shell $(F77) -m64 -print-file-name=libgfortran.dylib)
SHLIB += $(shell $(F77) -m64 -print-file-name=libgfortranbegin.a)
SHLIB += -ldl
endif
|