The R Project SVN R

Rev

Rev 51627 | Rev 52518 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51627 Rev 51796
Line 7... Line 7...
7
else
7
else
8
R_ARCH = /i386
8
R_ARCH = /i386
9
DEFINES = -DR_ARCH='"i386"' $(DEFS_W64)
9
DEFINES = -DR_ARCH='"i386"' $(DEFS_W64)
10
endif
10
endif
11
 
11
 
12
## c99 would force __STRICT_ANSI__ disabling strdup etc, and also alloca
12
## -std=c99 would force __STRICT_ANSI__ disabling strdup etc, and also alloca
13
C99FLAG=-std=gnu99
13
C99FLAG=-std=gnu99
-
 
14
 
14
## for mingw-runtime <= 3.11
15
# No other alternative is currently supported, but this could be used for ICC
15
# C99FLAG=-std=gnu99 -fgnu89-inline
16
BUILD=GCC4
-
 
17
 
16
 
18
 
17
ifeq ($(strip $(BUILD)),GCC4)
19
ifeq ($(strip $(BUILD)),GCC4)
18
F77=$(BINPREF)gfortran$(GCC4_SUFF)
20
F77=$(BINPREF)gfortran$(GCC4_SUFF)
19
FLIBS=-lgfortran
21
FLIBS=-lgfortran
20
## earlier Rtools needs -sjlj; the alternative is -dw2, which fails building R.
22
## earlier Rtools needed -sjlj; the alternative is -dw2, which failed building R.
21
GCC4_SUFF=
23
GCC4_SUFF=
22
endif
24
endif
23
 
25
 
24
ifeq ($(strip $(BUILD)),F2C)
-
 
25
F77=sh $(RHOME)/src/scripts/f77_f2c
-
 
26
FLIBS=-lf2c
-
 
27
endif
-
 
28
 
-
 
29
BINDIR=bin$(R_ARCH)
26
BINDIR=bin$(R_ARCH)
30
 
27
 
31
ifdef USE_IMPLIBS
28
ifdef USE_IMPLIBS
32
IMPDIR=lib
29
IMPDIR=lib
33
else
30
else
Line 65... Line 62...
65
# as set by make
62
# as set by make
66
RM=rm -f
63
RM=rm -f
67
SED=sed
64
SED=sed
68
SORT=sort
65
SORT=sort
69
 
66
 
70
## from etc/Renviron.site on Unix
-
 
71
# EGREP=grep -e
-
 
72
# LN_S=cp -p
-
 
73
# TAR=tar
-
 
74
 
-
 
75
.SUFFIXES:
67
.SUFFIXES:
76
.SUFFIXES: .c .cc .cpp .C .f .o .a .def .exp .dll .exe .d .f90 .f95 .m .S
68
.SUFFIXES: .c .cc .cpp .C .f .o .a .def .exp .dll .exe .d .f90 .f95 .m .S
77
 
69
 
78
.c.d:
70
.c.d:
79
	@echo "making $@ from $<"
71
	@echo "making $@ from $<"