aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code
diff options
context:
space:
mode:
authorRichard Brooksby2012-09-03 00:32:49 +0100
committerRichard Brooksby2012-09-03 00:32:49 +0100
commit682bd80b85b2cdf3e6dc7922859ff6b6a0eac9ef (patch)
treee353026b5ab95110a3dac7e4728ecbb58cdf65fa /mps/code
parent369994f49f8955b0d4b5353e4ec92b49a46a02b9 (diff)
downloademacs-682bd80b85b2cdf3e6dc7922859ff6b6a0eac9ef.tar.gz
emacs-682bd80b85b2cdf3e6dc7922859ff6b6a0eac9ef.zip
Removing obsolete swpf definitions from makefiles.
Increasing default optimisation levels for GCC. Copied from Perforce Change: 179179 ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
-rw-r--r--mps/code/fri3gc.gmk4
-rw-r--r--mps/code/fri6gc.gmk8
-rw-r--r--mps/code/gc.gmk4
-rw-r--r--mps/code/lii3gc.gmk2
-rw-r--r--mps/code/lii6gc.gmk2
-rw-r--r--mps/code/xci3gc.gmk1
6 files changed, 12 insertions, 9 deletions
diff --git a/mps/code/fri3gc.gmk b/mps/code/fri3gc.gmk
index 17ce26833a0..2a79160c1e0 100644
--- a/mps/code/fri3gc.gmk
+++ b/mps/code/fri3gc.gmk
@@ -5,11 +5,13 @@
5 5
6PFM = fri3gc 6PFM = fri3gc
7 7
8# FIXME: What is this for? Clues at
9# http://www.kernel.org/doc/man-pages/online/pages/man7/feature_test_macros.7.html
10# Discover whether it's still necessary and if so, document why.
8PFMDEFS = -D_REENTRANT 11PFMDEFS = -D_REENTRANT
9 12
10MPMPF = lockix.c thix.c pthrdext.c vmix.c \ 13MPMPF = lockix.c thix.c pthrdext.c vmix.c \
11 protix.c protsgix.c prmcan.c prmci3fr.c ssixi3.c span.c 14 protix.c protsgix.c prmcan.c prmci3fr.c ssixi3.c span.c
12SWPF = than.c vmfr.c protsw.c prmcan.c ssan.c
13 15
14LIBS = -lm -pthread 16LIBS = -lm -pthread
15 17
diff --git a/mps/code/fri6gc.gmk b/mps/code/fri6gc.gmk
index 44358be0767..de1102190e6 100644
--- a/mps/code/fri6gc.gmk
+++ b/mps/code/fri6gc.gmk
@@ -5,19 +5,21 @@
5 5
6PFM = fri6gc 6PFM = fri6gc
7 7
8# FIXME: What is this for? Clues at
9# http://www.kernel.org/doc/man-pages/online/pages/man7/feature_test_macros.7.html
10# Discover whether it's still necessary and if so, document why.
8PFMDEFS = -D_REENTRANT 11PFMDEFS = -D_REENTRANT
9 12
10MPMPF = lockix.c thix.c pthrdext.c vmix.c \ 13MPMPF = lockix.c thix.c pthrdext.c vmix.c \
11 protix.c protsgix.c prmcan.c prmci6fr.c ssixi6.c span.c 14 protix.c protsgix.c prmcan.c prmci6fr.c ssixi6.c span.c
12SWPF = than.c vmfr.c protsw.c prmcan.c ssan.c
13 15
14LIBS = -lm -pthread 16LIBS = -lm -pthread
15 17
16include gc.gmk 18include gc.gmk
17 19
18CFLAGSCOMPILER := $(subst -pedantic,,$(CFLAGSCOMPILER)) 20CFLAGSCOMPILER := $(subst -pedantic,,$(CFLAGSCOMPILER))
19CFLAGSDEBUG = -g3 21CFLAGSDEBUG = -O -g3
20CFLAGSOPT = -O -g3 22CFLAGSOPT = -O3 -g3
21 23
22CC = cc 24CC = cc
23 25
diff --git a/mps/code/gc.gmk b/mps/code/gc.gmk
index 2aeb61cdbc1..9b0a087afee 100644
--- a/mps/code/gc.gmk
+++ b/mps/code/gc.gmk
@@ -13,8 +13,8 @@ CFLAGSCOMPILER := \
13 -Wstrict-prototypes -Wmissing-prototypes \ 13 -Wstrict-prototypes -Wmissing-prototypes \
14 -Winline -Waggregate-return -Wnested-externs \ 14 -Winline -Waggregate-return -Wnested-externs \
15 -Wcast-qual -Wshadow 15 -Wcast-qual -Wshadow
16CFLAGSDEBUG = -O0 -g 16CFLAGSDEBUG = -O -g3
17CFLAGSOPT = -O3 -g 17CFLAGSOPT = -O3 -g3
18 18
19# gcc -MM generates a dependency line of the form: 19# gcc -MM generates a dependency line of the form:
20# thing.o : thing.c ... 20# thing.o : thing.c ...
diff --git a/mps/code/lii3gc.gmk b/mps/code/lii3gc.gmk
index 3652016cc45..148df6fed04 100644
--- a/mps/code/lii3gc.gmk
+++ b/mps/code/lii3gc.gmk
@@ -10,11 +10,11 @@ THREADLIB = -lpthread
10 10
11# _XOPEN_SOURCE is to get the modern POSIX signal handling 11# _XOPEN_SOURCE is to get the modern POSIX signal handling
12# _GNU_SOURCE is to get register numbers in prmci3li.c 12# _GNU_SOURCE is to get register numbers in prmci3li.c
13# http://www.kernel.org/doc/man-pages/online/pages/man7/feature_test_macros.7.html
13PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE 14PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE
14 15
15MPMPF = ${THREADSRC} vmix.c \ 16MPMPF = ${THREADSRC} vmix.c \
16 protix.c protli.c proti3.c prmci3li.c ssixi3.c span.c 17 protix.c protli.c proti3.c prmci3li.c ssixi3.c span.c
17SWPF = than.c vmli.c protsw.c prmcan.c ssan.c
18 18
19LIBS = -lm ${THREADLIB} 19LIBS = -lm ${THREADLIB}
20 20
diff --git a/mps/code/lii6gc.gmk b/mps/code/lii6gc.gmk
index 47d1bb744e0..9c47b0926fb 100644
--- a/mps/code/lii6gc.gmk
+++ b/mps/code/lii6gc.gmk
@@ -10,11 +10,11 @@ THREADLIB = -lpthread
10 10
11# _XOPEN_SOURCE is to get the modern POSIX signal handling 11# _XOPEN_SOURCE is to get the modern POSIX signal handling
12# _GNU_SOURCE is to get register numbers in prmci3li.c 12# _GNU_SOURCE is to get register numbers in prmci3li.c
13# http://www.kernel.org/doc/man-pages/online/pages/man7/feature_test_macros.7.html
13PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE 14PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE
14 15
15MPMPF = ${THREADSRC} vmix.c \ 16MPMPF = ${THREADSRC} vmix.c \
16 protix.c protli.c proti6.c prmci6li.c ssixi6.c span.c 17 protix.c protli.c proti6.c prmci6li.c ssixi6.c span.c
17SWPF = than.c vmli.c protsw.c prmcan.c ssan.c
18 18
19LIBS = -lm ${THREADLIB} 19LIBS = -lm ${THREADLIB}
20 20
diff --git a/mps/code/xci3gc.gmk b/mps/code/xci3gc.gmk
index a8bed82a7f1..1aea3bc22d5 100644
--- a/mps/code/xci3gc.gmk
+++ b/mps/code/xci3gc.gmk
@@ -9,7 +9,6 @@ PFM = xci3gc
9 9
10MPMPF = lockix.c than.c vmix.c \ 10MPMPF = lockix.c than.c vmix.c \
11 protix.c protsgix.c prmcan.c span.c ssixi3.c 11 protix.c protsgix.c prmcan.c span.c ssixi3.c
12SWPF = than.c vmxc.c protsw.c prmcan.c ssan.c
13 12
14LIBS = 13LIBS =
15 14