aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/xcppgc.gmk
blob: ebce338ac868c57f0bddd3474f75c0d6fd0192bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# impl.gmk.xcppgc: BUILD FOR MACOS X (CARBON)/POWERPC/GCC PLATFORM
#
# $Id$
# $HopeName: MMsrc!xcppgc.gmk(trunk.2) $
# Copyright (c) 2001 Ravenbrook Limited.

PFM = xcppgc

MPMPF = mpsliban.c mpsioan.c lockan.c than.c vmxc.c \
        protan.c prmcan.c span.c ssan.c
SWPF = than.c vmxc.c protsw.c prmcan.c ssan.c

LIBS =

RANLIB=ranlib

include gc.gmk

CC = cc

# Suppress some warnings (last checked in DP3).
#   .cabs: -Wstrict-prototypes cannot be used because the math.h header has a
#   traditional declaration of cabs.
#   .sputc: -Wno-unused is needed, because stdio.h declares __sputc as an
#   inline function.
#   .types: sys/types.h uses 'long long' even under -ansi.
CFLAGSCOMPILER := $(subst -Wstrict-prototypes,,$(CFLAGSCOMPILER)) \
                  -Wno-unused -Wno-long-long

include comm.gmk