The R Project SVN R

Rev

Rev 71085 | Rev 78893 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6994 pd 1
#-*- Makefile -*-
4394 ripley 2
 
51479 ripley 3
## This is only used when building R itself but it does customize
57670 ripley 4
## etc/*/Makeconf using LOCAL_SOFT, BINPREF[64], IMPLIB and R_ARCH
51479 ripley 5
 
67240 murdoch 6
## Customize by copying to MkRules.local and uncommenting and editing 
7
## some of the definitions there.  
8
## 
9
 
51102 ripley 10
## =========== configuration macros for building packages ================
11
# Absolute path to '/usr/local' software collection.  The versions used
69727 ripley 12
# on CRAN can be found at https://www.stats.ox.ac.uk/pub/Rtools/libs.html
62841 ripley 13
# It can be interrogated by 'R CMD config LOCAL_SOFT'
67240 murdoch 14
# Use 'make rsync-extsoft' to populate the default directory.
15
# LOCAL_SOFT = $(R_HOME)/extsoft
17913 ripley 16
 
51102 ripley 17
## ============== configuration macros for building R ===================
18
 
67155 ripley 19
# Path of library directory containing zlib, bzlib, liblzma, pcre,
67111 ripley 20
# libpng, libjpeg, libtiff.
71085 murdoch 21
# Use 'make rsync-extsoft' to populate the default directory.
67240 murdoch 22
# EXT_LIBS = $(LOCAL_SOFT)
67080 ripley 23
 
46034 ripley 24
# an alternative is to use -gstabs here, if the debugger supports only stabs.
67240 murdoch 25
# G_FLAG = -gdwarf-2
38642 ripley 26
 
17913 ripley 27
# Set to YES and specify the path if you want to use the ATLAS BLAS.
67240 murdoch 28
# USE_ATLAS = NO
67302 ripley 29
# ATLAS_PATH =
17913 ripley 30
 
43261 ripley 31
# Support for the ACML and Goto BLASes has been withdrawn: see R-admin.html
36320 ripley 32
 
45560 murdoch 33
# Define to use svnversion to set SVN-REVISION (slow, and requires a clean
34
# checkout with no modifications).
34404 murdoch 35
# USE_SVNVERSION = YES
36
 
70363 murdoch 37
# With the previously recommended gcc 4.6.3 toolchain, set this to 32 or 64
68007 murdoch 38
# MULTI =
39
# If the toolchain's bin directory is not in your path, set this to the path
40
# (including the trailing /, and use / not \).
41
# TOOL_PATH =
42
# for other toolchains leave these empty and set the more detailed options below
35546 murdoch 43
 
70363 murdoch 44
# With the recommended gcc 4.9.3 toolchain or another toolchain, set 
68007 murdoch 45
# BINPREF and BINPREF64 (below) to the respective bin directories.  
46
# Include the trailing /, and use / not \.
47
# Do this in the more detailed options below
70363 murdoch 48
# Set this to 32 or 64
49
# WIN = 32
57924 ripley 50
 
68007 murdoch 51
 
57924 ripley 52
### BEGIN more detailed options
57700 ripley 53
# Some of the toolchains have prefixes for e.g. ar, gcc.
57924 ripley 54
# This can also be used to give the full path to the compiler, 
70363 murdoch 55
# including a trailing / .  
56
# BINPREF = c:/Rtools/mingw_32/bin/
68007 murdoch 57
# prefix for 64-bit:
70363 murdoch 58
# BINPREF64 = c:/Rtools/mingw_64/bin/
70374 murdoch 59
# Set this to indicate a non-gcc compiler and version
60
# COMPILED_BY = <determined automatically>
47846 ripley 61
 
55076 ripley 62
# Others use a -m64 or -m32 option to select architectures
67240 murdoch 63
# M_ARCH =
55078 ripley 64
# and for as (--32 or --64)
67240 murdoch 65
# AS_ARCH =
55141 ripley 66
# and for windres (-F pe-i386 or pe-x86-64)
67240 murdoch 67
# RC_ARCH =
55218 ripley 68
# and for dlltool ("-m i386 --as-flags --32" vs "-m i386:x86-64 --as-flags --64")
67240 murdoch 69
# DT_ARCH =
55076 ripley 70
 
52549 ripley 71
# 32- or 64-bit Windows?
67240 murdoch 72
# WIN = 32
42609 ripley 73
 
70266 murdoch 74
# The gcc 4.9.3 64 bit toolchain is set up for the 'medium code' model and needs
75
# to remove the .refptr and .weak entries from the exports list; this is the default
67837 murdoch 76
# when WIN = 64, with blank for WIN = 32:
70358 murdoch 77
# NM_FILTER = | $(SED) -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d'
67837 murdoch 78
 
57924 ripley 79
# We normally link directly against DLLs, 
80
# but this macro forces the use of import libs
81
# Has been needed for some versions of MinGW-w64
82
# USE_IMPLIBS = YES
83
 
84
### END more detailed options
85
 
86
 
66031 ripley 87
# set to use ICU
66034 ripley 88
# USE_ICU = YES
45518 ripley 89
# path to parent of ICU headers
67302 ripley 90
# ICU_PATH =
67240 murdoch 91
# ICU_LIBS = -lsicuin -lsicuuc -lsicudt -lstdc++
45518 ripley 92
 
67444 ripley 93
# set to use libcurl
94
# USE_LIBCURL = YES
95
# path to parent of libcurl headers
96
# CURL_PATH =
97
# libs: for 32-bit
98
# CURL_LIBS = -lcurl -lrtmp -lssl -lssh2 -lcrypto -lgdi32 -lcrypt32 -lz -lws2_32 -lgdi32 -lcrypt32 -lwldap32 -lwinmm -lidn
99
# libs: for 64-bit
100
# CURL_LIBS = -lcurl -lrtmp -lssl -lssh2 -lcrypto -lgdi32 -lcrypt32 -lz -lws2_32 -lgdi32 -lcrypt32 -lwldap32 -lwinmm
101
 
55657 ripley 102
# For the cairographics devices
56653 ripley 103
# Optionally use a static build of cairographics from
69727 ripley 104
#   https://www.rforge.net/Cairo/files/cairo-current-win.tar.gz
56653 ripley 105
# and set CAIRO_HOME to the parent of the win32/win64 directories
55700 ripley 106
#
107
# If CAIRO_HOME is not set the devices are not built.
67240 murdoch 108
# CAIRO_HOME =
55657 ripley 109
 
50366 murdoch 110
# set this to YES to build static HTML help
67240 murdoch 111
# BUILD_HTML = NO
48071 ripley 112
 
54749 ripley 113
# unset this if you are *not* using MiKTeX
67240 murdoch 114
# MIKTEX = TRUE
69459 ripley 115
# Recent MiKTEX does not provide texi2dvi and needs something like
116
# TEXI2DVI = TEXINDEX=/Rtools/bin/texindex.exe texify
54749 ripley 117
 
67343 murdoch 118
# for texinfo >= 5.1. If the texinfo files are installed at /packages/texinfo,
119
# TEXI2ANY = /path/to/perl -I/packages/texinfo /packages/texinfo/texi2any
120
# if you do not have texinfo (default),
121
# TEXI2ANY = missing
64019 ripley 122
 
76828 kalibera 123
# additional optimization flags (e.g. -mtune=native for a private build)
124
# EOPTS =
56065 ripley 125
 
57417 ripley 126
# define to -fopenmp if the toolchain has OpenMP support
67240 murdoch 127
# OPENMP = -fopenmp
57417 ripley 128
 
58553 ripley 129
# define to -pthread if the toolchain has pthreads support
67240 murdoch 130
# PTHREAD = -pthread
57944 ripley 131
 
36544 ripley 132
## ====== configuration macros for building installer ===========
17913 ripley 133
 
55140 ripley 134
# location where Inno Setup 5.[34].x was installed. Spaces allowed.
67240 murdoch 135
# ISDIR = C:/packages/Inno
17913 ripley 136
 
54396 ripley 137
# optional location where qpdf was installed (in $(QPDF)/bin). Spaces allowed.
67240 murdoch 138
# QPDF =
54396 ripley 139
 
51492 ripley 140
# home of 32-bit files for combined installer on 64-bit build
67240 murdoch 141
# HOME32 =
51492 ripley 142
 
57436 ripley 143
# Full paths of extra DLLs that need to be shipped
144
# e.g
57754 ripley 145
# DLLs32 = c:/R/bin/pthreadGC2-w32.dll
146
# DLLs64 = c:/R/bin64/pthreadGC2-w64.dll
67240 murdoch 147
# DLLs32 =
148
# DLLs64 =
57436 ripley 149
 
67854 murdoch 150
 
38882 ripley 151
## ====== configuration macros for building MSI installer ===========
152
 
53954 ripley 153
# location where WiX 3.x executables were installed. Spaces allowed.
154
# The MSI uses '/bin': other packagings may not
67240 murdoch 155
# WIX3DIR = C:/packages/WiX3.5/bin
38882 ripley 156
 
51597 ripley 157
# set to 1 for a non-elevated per-user installer
67240 murdoch 158
# WIX_PERSONAL = 0
51597 ripley 159
 
17913 ripley 160
## =============== end of user-customizable parts  ===================