OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [mpw-make.sed] - Blame information for rev 1782

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# OBSOLETE # Sed commands that finish translating the GDB Unix Makefile to MPW syntax.
2
# OBSOLETE
3
# OBSOLETE /^host_alias =/s/^/#/
4
# OBSOLETE /^target_alias =/s/^/#/
5
# OBSOLETE
6
# OBSOLETE /^host_makefile_frag@$/d
7
# OBSOLETE /^target_makefile_frag@$/d
8
# OBSOLETE
9
# OBSOLETE /@ENABLE_CFLAGS@/s/@ENABLE_CFLAGS@/{ENABLE_CFLAGS}/g
10
# OBSOLETE /^ENABLE_CFLAGS=/s/^/#/
11
# OBSOLETE
12
# OBSOLETE # Edit all the symbolic definitions pointing to various libraries and such.
13
# OBSOLETE
14
# OBSOLETE /^INCLUDE_DIR = /s/"{srcdir}":include/"{topsrcdir}"include:/
15
# OBSOLETE
16
# OBSOLETE /^MMALLOC_DIR = /s/::mmalloc/mmalloc:/
17
# OBSOLETE /^MMALLOC_SRC = /s/"{srcdir}"/"{topsrcdir}"/
18
# OBSOLETE /^MMALLOC =/s/=.*$/=/
19
# OBSOLETE /MMALLOC_CFLAGS =/s/=.*$/= -u USE_MMALLOC/
20
# OBSOLETE
21
# OBSOLETE /^BFD_DIR = /s/::bfd/bfd:/
22
# OBSOLETE /^BFD = /s/{BFD_DIR}:libbfd/{BFD_DIR}libbfd/
23
# OBSOLETE /^BFD_SRC = /s/"{srcdir}"/"{topsrcdir}"/
24
# OBSOLETE
25
# OBSOLETE /^READLINE_DIR = /s/::readline/readline:/
26
# OBSOLETE /^READLINE =/s/=.*$/=/
27
# OBSOLETE /^READLINE_SRC = /s/"{srcdir}"/"{topsrcdir}"/
28
# OBSOLETE
29
# OBSOLETE /^INCLUDE_CFLAGS = /s/$/ -i "{topsrcdir}"include:mpw: -i ::extra-include:/
30
# OBSOLETE
31
# OBSOLETE /^SER_HARDWIRE =/s/ser-unix/ser-mac/
32
# OBSOLETE
33
# OBSOLETE /^TERMCAP =/s/ =.*$/ =/
34
# OBSOLETE
35
# OBSOLETE # Whack out various autoconf vars that we don't need.
36
# OBSOLETE /@CONFIG_LDFLAGS@/s/@CONFIG_LDFLAGS@//g
37
# OBSOLETE /@HLDFLAGS@/s/@HLDFLAGS@//g
38
# OBSOLETE /@DEFS@/s/@DEFS@//g
39
# OBSOLETE /@YACC@/s/@YACC@/byacc/g
40
# OBSOLETE /@ENABLE_OBS@/s/@ENABLE_OBS@//g
41
# OBSOLETE /@ENABLE_CLIBS@/s/@ENABLE_CLIBS@//g
42
# OBSOLETE /@LIBS@/s/@LIBS@//g
43
# OBSOLETE
44
# OBSOLETE # Whack out autoconf hook for thread debugging.
45
# OBSOLETE /@THREAD_DB_OBS@/s/@THREAD_DB_OBS@//g
46
# OBSOLETE
47
# OBSOLETE # Fix up paths to include directories.
48
# OBSOLETE /INCLUDE_DIR/s/"{s}"{INCLUDE_DIR}/{INCLUDE_DIR}/g
49
# OBSOLETE /INCLUDE_DIR/s/{INCLUDE_DIR}:/{INCLUDE_DIR}/g
50
# OBSOLETE /INCLUDE_DIR/s/"{INCLUDE_DIR}":/"{INCLUDE_DIR}"/g
51
# OBSOLETE
52
# OBSOLETE /{BFD_DIR}/s/"{BFD_DIR}":/"{BFD_DIR}"/g
53
# OBSOLETE /{BFD_DIR}/s/\([     ]\){BFD_DIR}/\1::{BFD_DIR}/g
54
# OBSOLETE /{BFD_DIR}/s/\([     ]\)"{BFD_DIR}"/\1::"{BFD_DIR}"/g
55
# OBSOLETE
56
# OBSOLETE /{BFD_SRC}/s/"{s}"{BFD_SRC}/{BFD_SRC}/g
57
# OBSOLETE /{BFD_SRC}/s/{BFD_SRC}:/{BFD_SRC}/g
58
# OBSOLETE
59
# OBSOLETE /{READLINE_SRC}/s/"{s}"{READLINE_SRC}/{READLINE_SRC}/g
60
# OBSOLETE
61
# OBSOLETE /^readline_headers =/,/^$/c\
62
# OBSOLETE readline_headers =\
63
# OBSOLETE
64
# OBSOLETE
65
# OBSOLETE # This isn't really useful, and seems to cause nonsensical complaints.
66
# OBSOLETE /{ALLDEPFILES}/s/{ALLDEPFILES}//g
67
# OBSOLETE
68
# OBSOLETE /^copying.c \\Option-f /,/^$/d
69
# OBSOLETE
70
# OBSOLETE # Fix the syntax of bits of C code that go into version.c.
71
# OBSOLETE /char /s/'char .Option-x/'char */
72
# OBSOLETE
73
# OBSOLETE # Point at files in the obj dir rather than src dir.
74
# OBSOLETE /version/s/"{s}"version\.c/"{o}"version.c/g
75
# OBSOLETE /version/s/^version\.c/"{o}"version.c/
76
# OBSOLETE /config/s/"{s}"config\.h/"{o}"config.h/g
77
# OBSOLETE /config/s/^config\.h/"{o}"config.h/
78
# OBSOLETE /xm/s/"{s}"xm\.h/"{o}"xm.h/g
79
# OBSOLETE /xm/s/^xm\.h/"{o}"xm.h/
80
# OBSOLETE /tm/s/"{s}"tm\.h/"{o}"tm.h/g
81
# OBSOLETE /tm/s/^tm\.h/"{o}"tm.h/
82
# OBSOLETE /nm/s/"{s}"nm\.h/"{o}"nm.h/g
83
# OBSOLETE /nm/s/^nm\.h/"{o}"nm.h/
84
# OBSOLETE
85
# OBSOLETE /exp.tab.c/s/"{s}"\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/g
86
# OBSOLETE /exp.tab.c/s/^\([a-z0-9]*\)-exp\.tab\.c/"{o}"\1-exp.tab.c/
87
# OBSOLETE
88
# OBSOLETE /y.tab/s/"{s}"y.tab\.c/"{o}"y.tab.c/g
89
# OBSOLETE /y.tab/s/^y.tab\.c/"{o}"y.tab.c/
90
# OBSOLETE
91
# OBSOLETE /init/s/"{s}"init\.c-tmp/"{o}"init.c-tmp/g
92
# OBSOLETE /init/s/^init\.c-tmp/"{o}"init.c-tmp/
93
# OBSOLETE /init/s/"{s}"init\.c/"{o}"init.c/g
94
# OBSOLETE /init/s/^init\.c/"{o}"init.c/
95
# OBSOLETE
96
# OBSOLETE # Fix up the generation of version.c.
97
# OBSOLETE /"{o}"version.c \\Option-f Makefile/,/^$/c\
98
# OBSOLETE "{o}"version.c \\Option-f Makefile\
99
# OBSOLETE      echo -n 'char *version = "'      >"{o}"version.c\
100
# OBSOLETE      echo -n "{VERSION}"             >>"{o}"version.c\
101
# OBSOLETE      echo '";'                       >>"{o}"version.c\
102
# OBSOLETE      echo -n 'char *host_name = "'   >>"{o}"version.c\
103
# OBSOLETE      echo -n "{host_alias}"          >>"{o}"version.c\
104
# OBSOLETE      echo '";'                       >>"{o}"version.c\
105
# OBSOLETE      echo -n 'char *target_name = "' >>"{o}"version.c\
106
# OBSOLETE      echo -n "{target_alias}"        >>"{o}"version.c\
107
# OBSOLETE      echo '";'                       >>"{o}"version.c\
108
# OBSOLETE
109
# OBSOLETE
110
# OBSOLETE /ansidecl/s/include "{s}""ansidecl.h"/include "ansidecl.h"/
111
# OBSOLETE
112
# OBSOLETE # Open-brace in a command causes much confusion; replace with the
113
# OBSOLETE # result from a script.
114
# OBSOLETE /initialize_all_files ()/c\
115
# OBSOLETE      Echo -n 'void initialize_all_files () ' >> "{o}"init.c-tmp\
116
# OBSOLETE      open-brace >> "{o}"init.c-tmp
117
# OBSOLETE
118
# OBSOLETE # Replace the whole sed bit for init.c; it's simpler that way...
119
# OBSOLETE /echo {OBS} {TSOBS}/,/echo '}'/c\
120
# OBSOLETE      For i in {OBS} {TSOBS}\
121
# OBSOLETE           Set filename "`Echo {i} | sed \\Option-d\
122
# OBSOLETE             -e '/^Onindy.c.o/d' \\Option-d\
123
# OBSOLETE             -e '/^nindy.c.o/d' \\Option-d\
124
# OBSOLETE             -e '/ttyflush.c.o/d' \\Option-d\
125
# OBSOLETE             -e '/xdr_ld.c.o/d' \\Option-d\
126
# OBSOLETE             -e '/xdr_ptrace.c.o/d' \\Option-d\
127
# OBSOLETE             -e '/xdr_rdb.c.o/d' \\Option-d\
128
# OBSOLETE             -e '/udr.c.o/d' \\Option-d\
129
# OBSOLETE             -e '/udip2soc.c.o/d' \\Option-d\
130
# OBSOLETE             -e '/udi2go32.c.o/d' \\Option-d\
131
# OBSOLETE             -e '/version.c.o/d' \\Option-d\
132
# OBSOLETE             -e '/[a-z0-9A-Z_]*-exp.tab.c.o/d' \\Option-d\
133
# OBSOLETE             -e 's/\\.c\\.o/.c/' \\Option-d\
134
# OBSOLETE             -e 's/^://'`"\
135
# OBSOLETE           If "{filename}" != ""\
136
# OBSOLETE             sed <"{s}""{filename}" >>"{o}"init.c-tmp -n \\Option-d\
137
# OBSOLETE             -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\\([a-z_0-9A-Z]*\\).*/  {extern void \\1 (); \\1 ();}/p'\
138
# OBSOLETE           End If\
139
# OBSOLETE      End For\
140
# OBSOLETE      Echo '}' >>"{o}"init.c-tmp
141
# OBSOLETE
142
# OBSOLETE # Fix the main compile/link command.
143
# OBSOLETE /{CC_LD} {INTERNAL_LDFLAGS} -o gdb/,/"{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES}/c\
144
# OBSOLETE      {CC_LD} {INTERNAL_LDFLAGS} -o gdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {LOADLIBES} {EXTRALIBS}\
145
# OBSOLETE      {MAKEPEF} gdb{PROG_EXT} -o gdb {MAKEPEF_TOOL_FLAGS} {MAKEPEF_FLAGS}\
146
# OBSOLETE      {REZ} "{s}"mac-gdb.r -o gdb -append -d PROG_NAME='"'gdb'"' -d VERSION_STRING='"'{version}'"'\
147
# OBSOLETE
148
# OBSOLETE # Replace the install actions with MPW-friendly script.
149
# OBSOLETE /^install \\Option-f /,/^$/c\
150
# OBSOLETE install \\Option-f all install-only\
151
# OBSOLETE \
152
# OBSOLETE install-only \\Option-f \
153
# OBSOLETE      NewFolderRecursive "{bindir}"\
154
# OBSOLETE      Duplicate -y gdb "{bindir}"gdb\
155
# OBSOLETE      If "`Exists SiowGDB`" != ""\
156
# OBSOLETE              Duplicate -y SiowGDB "{bindir}"SiowGDB\
157
# OBSOLETE      End If\
158
# OBSOLETE
159
# OBSOLETE
160
# OBSOLETE # Don't do any recursive subdir stuff.
161
# OBSOLETE / subdir_do/s/{MAKE}/null-command/
162
# OBSOLETE
163
# OBSOLETE # Edit out actions that only confuse MPW Make.
164
# OBSOLETE /^config.status \\Option-f/,/^$/d
165
# OBSOLETE /^Makefile \\Option-f/,/^$/d
166
# OBSOLETE
167
# OBSOLETE # Don't test config.h dependencies.
168
# OBSOLETE /^"{o}"config.h \\Option-f/s/^/#/
169
# OBSOLETE
170
# OBSOLETE # Add an action to build SIOWgdb.
171
# OBSOLETE $a\
172
# OBSOLETE SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\
173
# OBSOLETE      Delete -i -y SIOWgdb\
174
# OBSOLETE      {CC_LD} {INTERNAL_LDFLAGS} -t 'APPL' -c 'gdb ' -o SIOWgdb{PROG_EXT} "{o}"init.c.o {OBS} {TSOBS} {ADD_FILES} {CLIBS} {SIOW_LIB} {LOADLIBES} {EXTRALIBS}\
175
# OBSOLETE      {MAKEPEF} SIOWgdb{PROG_EXT} -o SIOWgdb -ft 'APPL' -fc 'gdb ' {MAKEPEF_FLAGS} \
176
# OBSOLETE      {REZ} -o SIOWgdb "{RIncludes}"siow.r -append -d __kPrefSize=5000 -d __kMinSize=2000 -d APPNAME='"'SIOWgdb'"' \
177
# OBSOLETE      {REZ} "{s}"mac-gdb.r -o SIOWgdb -append -d VERSION_STRING='"'{version}'"'\
178
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.