2
# Copyright (C) 2001, Ericsson Telecommunications
3
# Author: Peter Andersson
5
# This sed program file is intended to be used when creating Makefiles for OSE PPC750
6
# from the generic Makefile.in that is found in a number of directories (see configure.ose)
10
s|@system_type@|ose_ppc750|
11
s|@CC@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dcc|
13
s|@LD@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dld|
14
s|@DED_LD@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dld|
18
s|@AR@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dar|
24
# -tPPC750E<C>:ose, where C is N (no float), S (SW float) or H (HW float).
26
# Local static variables optimization (0x80000000) screws up addressing of some global variables,
27
# we'll disable it for all files using -Xkill-opt=0x80000000 (opt compilation only).
29
s|@CFLAGS_NOOPT@|@GENERAL_CFLAGS@ -tPPC750ES:ose @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
30
s|@CFLAGS@|@GENERAL_CFLAGS@ -tPPC750ES:ose -XO -Xkill-opt=0x80000000 @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
31
s|@DEBUG_CFLAGS@|@GENERAL_CFLAGS@ -tPPC750ES:ose @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
33
# Note! -DNO_JUMP_TABLE no good for performance, but beam_emu.c will not compile otherwise.
34
# beam_emu.c may be compiled separately with gcc (for VxWorks) instead
35
# (and linked with the rest - it works!).
36
s|@VXCC@|@VXTTPREFIX@ccppc|
37
s|@VXLD@|@VXTTPREFIX@ldppc|
39
# use ppc860 libs for soft float support
40
s|@VXCCLIBFLAGS@|-L@WIND_BASE@/host/@HOST_TYPE@/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126/soft-float -lgcc|
42
s|@STRIP@|@VXTTPREFIX@stripppc|
43
s|@VXCFLAGS@|-c -O2 -msoft-float -mstrict-align -fvolatile -fno-builtin -fno-for-scope -D_GNU_TOOL -I./ -DPOWERPC -DOSE_DELTA -DBIG_ENDIAN -D_OSE_ -D_OSE_PPC750_ -Ibeam -Isys/ose -Iose_ppc750 -Izlib -Ihipe -DOSPP @OSE_INCLS@ -I$$WIND_BASE/target/h @DIAB_INCLS@ -DCPU=PPC603|