summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:20:52 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:20:52 +0000
commitaef08effe6190f3793eba01f8a1a6fcf4e2ba5ed (patch)
tree7689214cc55e7ec9c191904d3ecd873f3dfbcb6c /include/makeinclude
parenta3087518bb259edd784c56eb74966d05dded0ba8 (diff)
downloadATCD-aef08effe6190f3793eba01f8a1a6fcf4e2ba5ed.tar.gz
ChangeLogTag: Tue Sep 4 09:14:36 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/platform_vxworks5.x_ghs.GNU17
1 files changed, 12 insertions, 5 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_ghs.GNU b/include/makeinclude/platform_vxworks5.x_ghs.GNU
index c7a4072643a..0fdf04dd0c3 100644
--- a/include/makeinclude/platform_vxworks5.x_ghs.GNU
+++ b/include/makeinclude/platform_vxworks5.x_ghs.GNU
@@ -32,7 +32,7 @@
#### endif # PATH
####
#### CPU = 86
-#### GHS = /project/doc/pkg/wind/green/vx$(CPU)
+#### GHSROOT = /project/doc/pkg/wind/green
#### include $(ACE_ROOT)/include/makeinclude/platform_vxworks5.x_ghs.GNU
VXWORKS = 1
@@ -53,8 +53,11 @@ endif # CPU
ifeq ($(CPU),86)
# With GHS' ax, ld386 complains that it can't read the
# archive symbol table.
+ ifndef GHSROOT
+ GHSROOT = /project/doc/pkg/wind/green
+ endif
ifndef GHS
- GHS = /project/doc/pkg/wind/green/vx$(CPU)
+ GHS = $(GHSROOT)/vx$(CPU)
endif # GHS
AR = $(WIND_BASE)/host/$(WIND_HOST_TYPE)/bin/ar386
ARFLAGS = rsu
@@ -63,8 +66,11 @@ ifeq ($(CPU),86)
#### LIBS += $(GHS)/libedgnoe.a
else
ifeq ($(CPU),ppc)
+ ifndef GHSROOT
+ GHSROOT = /appl/newgreen
+ endif
ifndef GHS
- GHS = /appl/newgreen/vx$(CPU)603
+ GHS = $(GHSROOT)/vx$(CPU)603
endif # GHS
AR = ax
ARFLAGS = cr
@@ -75,12 +81,13 @@ endif # ppc
endif # CPU
#### For GHS 1.8.9:
-LIBS += $(GHS)/libscnoe.a $(GHS)/libsedgnoe.a $(GHS)/liblockinit_sc.o
+LIBS += $(GHS)/libscnoe.a $(GHS)/libsedgnoe.a $(GHS)/liblockinit_sc.o $(GHSROOT)/$(CPU)/libarch.a
CC = cxvx$(CPU)
CXX = $(CC)
-CCFLAGS += $(CFLAGS) --no_rtti -tnone
+CCFLAGS += $(CFLAGS) --no_rtti -tnone -Dghs -I$(GHSROOT)/vxworks/include -I$(WIND_BASE)/target/h
DCFLAGS += -g
+SOFLAGS += -shared
DLD = $(CXX)
LD = $(CXX)
LDFLAGS = --no_auto_instantiation