summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrpollock <rpollock@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 23:33:40 +0000
committerrpollock <rpollock@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 23:33:40 +0000
commit8b5429cdf5a74fb0ea1e81275a59cb969a00e904 (patch)
tree098693df1daa2ae24707d9b3180d4466444650ea /include
parent57b4b18803c36a2a410163db4631522e9c0d7608 (diff)
downloadATCD-8b5429cdf5a74fb0ea1e81275a59cb969a00e904.tar.gz
ChangeLogTag:Fri Apr 11 18:05:00 2003 Roy Pollock <rpollock@ghs.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_integrity_ghs.GNU64
1 files changed, 64 insertions, 0 deletions
diff --git a/include/makeinclude/platform_integrity_ghs.GNU b/include/makeinclude/platform_integrity_ghs.GNU
new file mode 100644
index 00000000000..17786c44e36
--- /dev/null
+++ b/include/makeinclude/platform_integrity_ghs.GNU
@@ -0,0 +1,64 @@
+CROSS-COMPILE = 1
+
+ifndef debug
+ debug = 1
+endif
+ifndef optimize
+ optimize = 1
+endif
+ifndef rtti
+ rtti = 0
+endif # rtti
+shared_libs =
+static_libs = 1
+ifndef exceptions
+ exceptions = 1
+endif
+
+#### CPU type
+ifndef CPU
+ CPU = ppc
+endif # CPU
+
+INTEGRITYTARGET = 1
+
+#### Green Hills location, and target-specific definitions.
+ifndef GHSROOT
+ GHSROOT = /home/scooter2/i40_solaris2
+endif
+
+ifndef RTOSROOT
+ RTOSROOT = /export/integrity/rtos
+endif
+
+ifndef BSP
+ BSP = mcp750
+endif
+
+CC = $(GHSROOT)/cc$(CPU)
+CXX = $(GHSROOT)/cx$(CPU)
+
+# undefine "vector" because it's predefined for 7400 boards
+IOPS = -bspname=$(RTOSROOT)/target/$(BSP).bld -os_dir $(RTOSROOT) --one_instantiation_per_object -non_shared -Uvector
+ifeq (1, $(exceptions))
+ IOPS += --exceptions
+ override rtti = 1
+endif # exceptions
+
+CCFLAGS += $(CFLAGS) -integrate -dynamic -I$(RTOSROOT)/INTEGRITY-include-SCA $(IOPS) -bspfile=$(ACE_ROOT)/tests/ACE.bsp $(ACE_ROOT)/tests/INTEGRITY.ld
+DCFLAGS += -G
+SOFLAGS += -shared
+DLD = $(CXX)
+LD = $(CXX)
+LDLIBS += -lACE -lshm_client -lnet -livfssca -lposixsca -lsocket
+LDFLAGS = -lACE -lshm_client -lnet -livfssca -lposixsca -lsocket
+#LDFLAGS = --no_auto_instantiation
+#OCFLAGS += -OL -OM
+PIC =
+AR := $(CXX) -archive $(IOPS)
+ARFLAGS = -o
+
+
+ifeq (0, $(rtti))
+ CCFLAGS += --no_rtti
+endif # rtti