diff options
| author | Richard Brooksby | 2012-09-03 00:32:49 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-09-03 00:32:49 +0100 |
| commit | 682bd80b85b2cdf3e6dc7922859ff6b6a0eac9ef (patch) | |
| tree | e353026b5ab95110a3dac7e4728ecbb58cdf65fa /mps/code | |
| parent | 369994f49f8955b0d4b5353e4ec92b49a46a02b9 (diff) | |
| download | emacs-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.gmk | 4 | ||||
| -rw-r--r-- | mps/code/fri6gc.gmk | 8 | ||||
| -rw-r--r-- | mps/code/gc.gmk | 4 | ||||
| -rw-r--r-- | mps/code/lii3gc.gmk | 2 | ||||
| -rw-r--r-- | mps/code/lii6gc.gmk | 2 | ||||
| -rw-r--r-- | mps/code/xci3gc.gmk | 1 |
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 | ||
| 6 | PFM = fri3gc | 6 | PFM = 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. | ||
| 8 | PFMDEFS = -D_REENTRANT | 11 | PFMDEFS = -D_REENTRANT |
| 9 | 12 | ||
| 10 | MPMPF = lockix.c thix.c pthrdext.c vmix.c \ | 13 | MPMPF = 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 |
| 12 | SWPF = than.c vmfr.c protsw.c prmcan.c ssan.c | ||
| 13 | 15 | ||
| 14 | LIBS = -lm -pthread | 16 | LIBS = -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 | ||
| 6 | PFM = fri6gc | 6 | PFM = 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. | ||
| 8 | PFMDEFS = -D_REENTRANT | 11 | PFMDEFS = -D_REENTRANT |
| 9 | 12 | ||
| 10 | MPMPF = lockix.c thix.c pthrdext.c vmix.c \ | 13 | MPMPF = 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 |
| 12 | SWPF = than.c vmfr.c protsw.c prmcan.c ssan.c | ||
| 13 | 15 | ||
| 14 | LIBS = -lm -pthread | 16 | LIBS = -lm -pthread |
| 15 | 17 | ||
| 16 | include gc.gmk | 18 | include gc.gmk |
| 17 | 19 | ||
| 18 | CFLAGSCOMPILER := $(subst -pedantic,,$(CFLAGSCOMPILER)) | 20 | CFLAGSCOMPILER := $(subst -pedantic,,$(CFLAGSCOMPILER)) |
| 19 | CFLAGSDEBUG = -g3 | 21 | CFLAGSDEBUG = -O -g3 |
| 20 | CFLAGSOPT = -O -g3 | 22 | CFLAGSOPT = -O3 -g3 |
| 21 | 23 | ||
| 22 | CC = cc | 24 | CC = 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 |
| 16 | CFLAGSDEBUG = -O0 -g | 16 | CFLAGSDEBUG = -O -g3 |
| 17 | CFLAGSOPT = -O3 -g | 17 | CFLAGSOPT = -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 | ||
| 13 | PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE | 14 | PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE |
| 14 | 15 | ||
| 15 | MPMPF = ${THREADSRC} vmix.c \ | 16 | MPMPF = ${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 |
| 17 | SWPF = than.c vmli.c protsw.c prmcan.c ssan.c | ||
| 18 | 18 | ||
| 19 | LIBS = -lm ${THREADLIB} | 19 | LIBS = -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 | ||
| 13 | PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE | 14 | PFMDEFS = -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE |
| 14 | 15 | ||
| 15 | MPMPF = ${THREADSRC} vmix.c \ | 16 | MPMPF = ${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 |
| 17 | SWPF = than.c vmli.c protsw.c prmcan.c ssan.c | ||
| 18 | 18 | ||
| 19 | LIBS = -lm ${THREADLIB} | 19 | LIBS = -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 | ||
| 10 | MPMPF = lockix.c than.c vmix.c \ | 10 | MPMPF = 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 |
| 12 | SWPF = than.c vmxc.c protsw.c prmcan.c ssan.c | ||
| 13 | 12 | ||
| 14 | LIBS = | 13 | LIBS = |
| 15 | 14 | ||