The R Project SVN R

Rev

Rev 66035 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#-*- Makefile -*-

## This is only used when building R itself but it does customize
## etc/*/Makeconf using LOCAL_SOFT, BINPREF[64], IMPLIB and R_ARCH

## =========== configuration macros for building packages ================
# Absolute path to '/usr/local' software collection.  The versions used
# on CRAN can be found under http://www.stats.ox.ac.uk/pub/Rtools/goodies
# It can be interrogated by 'R CMD config LOCAL_SOFT'
LOCAL_SOFT =

## ============== configuration macros for building R ===================

# an alternative is to use -gstabs here, if the debugger supports only stabs.
G_FLAG=-gdwarf-2

# Comment out if the msvcrt.dll malloc/free is required (not tested recently)
LEA_MALLOC=YES

# Set to YES and specify the path if you want to use the ATLAS BLAS.
USE_ATLAS=NO
ATLAS_PATH=/R/ATLAS/lib/WinNT_P4SSE2

# Support for the ACML and Goto BLASes has been withdrawn: see R-admin.html

# Define to use svnversion to set SVN-REVISION (slow, and requires a clean
# checkout with no modifications).
# USE_SVNVERSION = YES

# With the recommended toolchain, set this to 32 or 64
MULTI =
# If the toolchain's bin directory is not in your path, set this to the path
# (including the trailing /, and use / not \).
TOOL_PATH =
# for other toolchains leave these empty and set the more detailed options below


### BEGIN more detailed options
# Some of the toolchains have prefixes for e.g. ar, gcc.
# This can also be used to give the full path to the compiler, 
# including a trailing / .
# prefix for 32-bit: path or i686-w64-mingw32-
BINPREF =
# prefix for 64-bit: path or x86_64-w64-mingw32-
BINPREF64 = x86_64-w64-mingw32-

# Others use a -m64 or -m32 option to select architectures
M_ARCH =
# and for as (--32 or --64)
AS_ARCH =
# and for windres (-F pe-i386 or pe-x86-64)
RC_ARCH =
# and for dlltool ("-m i386 --as-flags --32" vs "-m i386:x86-64 --as-flags --64")
DT_ARCH =

# 32- or 64-bit Windows?
WIN = 32

# We normally link directly against DLLs, 
# but this macro forces the use of import libs
# Has been needed for some versions of MinGW-w64
# USE_IMPLIBS = YES

# some toolchains set up for the 'medium code' model need
# NM_FILTER = | $(SED) -e '/.refptr./d'
### END more detailed options


# set to use ICU
# USE_ICU = YES
# path to parent of ICU headers
ICU_PATH = /path/to/ICU
ICU_LIBS = -lsicuin -lsicuuc -lsicudt -lstdc++

# optional overrides for making bitmapdll: names of source directories
# JPEGDIR = jpeg-9
# PNGDIR = libpng
# TIFFDIR = libtiff

# For the cairographics devices
# Optionally use a static build of cairographics from
#   http://www.rforge.net/Cairo/files/cairo-current-win.tar.gz
# and set CAIRO_HOME to the parent of the win32/win64 directories
#
# If CAIRO_HOME is not set the devices are not built.
CAIRO_HOME =

# set this to YES to build static HTML help
BUILD_HTML = NO

# unset this if you are *not* using MiKTeX
MIKTEX = TRUE

# for texinfo < 5.0
MAKEINFO = makeinfo
# for texinfo >= 5.0.  Might also need -I/path/to/modules
# MAKEINFO = /path/to/perl /path/to/texi2any
# or perhaps something like

# additional optimization flags (use -mtune=native for a private build)
EOPTS = -mtune=core2

# define to -fopenmp if the toolchain has OpenMP support
OPENMP = -fopenmp

# define to -pthread if the toolchain has pthreads support
PTHREAD = -pthread

## ====== configuration macros for building installer ===========

# location where Inno Setup 5.[34].x was installed. Spaces allowed.
ISDIR=C:/packages/Inno

# optional location where qpdf was installed (in $(QPDF)/bin). Spaces allowed.
QPDF=

# home of 32-bit files for combined installer on 64-bit build
HOME32=

# Full paths of extra DLLs that need to be shipped
# e.g
# DLLs32 = c:/R/bin/pthreadGC2-w32.dll
# DLLs64 = c:/R/bin64/pthreadGC2-w64.dll
DLLs32 =
DLLs64 =

## ====== configuration macros for building MSI installer ===========

# location where WiX 3.x executables were installed. Spaces allowed.
# The MSI uses '/bin': other packagings may not
WIX3DIR=C:/packages/WiX3.5/bin

# set to 1 for a non-elevated per-user installer
WIX_PERSONAL=0

## =============== end of user-customizable parts  ===================