aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/xcppgc.gmk
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/xcppgc.gmk')
-rw-r--r--mps/code/xcppgc.gmk29
1 files changed, 29 insertions, 0 deletions
diff --git a/mps/code/xcppgc.gmk b/mps/code/xcppgc.gmk
new file mode 100644
index 00000000000..6c2cd7e64a8
--- /dev/null
+++ b/mps/code/xcppgc.gmk
@@ -0,0 +1,29 @@
1# impl.gmk.xcppgc: BUILD FOR MACOS X (CARBON)/POWERPC/GCC PLATFORM
2#
3# $HopeName: MMsrc!xcppgc.gmk(MM_epcore_brisling.1) $
4# Copyright (C) 2001 Harlequin Limited. All rights reserved.
5
6PFM = xcppgc
7
8MPMPF = mpsliban.c mpsioan.c lockan.c than.c vmxc.c \
9 protan.c prmcan.c span.c ssan.c
10SWPF = than.c vmxc.c protsw.c prmcan.c ssan.c
11
12LIBS =
13
14RANLIB=ranlib
15
16include gc.gmk
17
18CC = cc
19
20# Suppress some warnings (last checked in DP3).
21# .cabs: -Wstrict-prototypes cannot be used because the math.h header has a
22# traditional declaration of cabs.
23# .sputc: -Wno-unused is needed, because stdio.h declares __sputc as an
24# inline function.
25# .types: sys/types.h uses 'long long' even under -ansi.
26CFLAGSCOMPILER := $(subst -Wstrict-prototypes,,$(CFLAGSCOMPILER)) \
27 -Wno-unused -Wno-long-long
28
29include comm.gmk