summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_chorus_ghs.GNU
blob: 3295eed447ca55c8cfa7e0c99bb2540cd5b73ab2 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $Id$
#
# Chorus with Green Hills

# Locations of Green Hills installation, MVME installation, etc.  The
# ifndef protection allows setting via environment variables.
ifndef GHS_DIR
  GHS_DIR=/project/doc/green68k/GreenHills/releases/chorus-m68k
endif # GHS_DIR

ifndef MVME_DIR
  MVME_DIR=/project/doc/mvme177/appl
endif # MVME_DIR

ifndef MVME_INCL
  MVME_INCL = $(MVME_DIR)/include
endif # MVME_INCL

ifndef MVME_LIB
  MVME_LIB = $(MVME_DIR)/lib
endif # MVME_LIB

CHORUS = 1

debug = 1
optimize = 1
shared_libs =
static_libs = 1

CC      = $(GHS_DIR)/build -driver ch68
CXX     = $(CC)
CFLAGS  = -I$(MVME_INCL)/posix \
          -I$(MVME_INCL)/stdc \
          -I$(MVME_INCL)/chorus \
          -I$(MVME_INCL)/CC
CCFLAGS += $(CFLAGS) --no_rtti --multibyte_chars --wchar_t_keyword -tnone
DCFLAGS += -g
DLD     = $(CXX)
LD      = $(CXX)
LDFLAGS = --no_auto_instantiation \
          -L$(MVME_LIB)/classix -L$(MVME_LIB)/CC
OFLAGS  += -O -OM -OL
AR      = $(GHS_DIR)/gnuch68/bin/ar
ARFLAGS = rv
RANLIB  = /bin/true