summaryrefslogtreecommitdiff
path: root/libiberty/mpw-make.sed
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2005-03-07 21:12:04 +0000
committerIan Lance Taylor <ian@airs.com>2005-03-07 21:12:04 +0000
commitb8771549d67b984ae9c9df0378f3f0b1bce5a107 (patch)
tree3642b398411690b42cbed853857328d626a5aca1 /libiberty/mpw-make.sed
parentd57039803febdc2030720986af7b0583922889da (diff)
downloadgdb-b8771549d67b984ae9c9df0378f3f0b1bce5a107.tar.gz
* mpw-config.in: Remove.
* mpw-make.sed: Remove. * mpw.c: Remove. * Makefile.in (CFILES): Remove pex-mpw.c. (CONFIGURED_OFILES): Remove pex-mpw.o. (mpw.o, pex-mpw.o): Remove targets. * maint-tool (undoc): Remove reference to mpw.c.
Diffstat (limited to 'libiberty/mpw-make.sed')
-rw-r--r--libiberty/mpw-make.sed51
1 files changed, 0 insertions, 51 deletions
diff --git a/libiberty/mpw-make.sed b/libiberty/mpw-make.sed
deleted file mode 100644
index 6f2a5e77b2b..00000000000
--- a/libiberty/mpw-make.sed
+++ /dev/null
@@ -1,51 +0,0 @@
-# Sed commands to finish translating libiberty's Unix makefile to MPW syntax.
-
-# Comment out a useless thing.
-/^\.always\./s/^/#/
-
-# Replace the auto-generated list with the list of what we know we need.
-s/`cat needed-list`/"{o}"alloca.c.o "{o}"bcopy.c.o "{o}"getpagesize.c.o "{o}"insque.c.o "{o}"mpw.c.o "{o}"strcasecmp.c.o "{o}"strdup.c.o "{o}"strncasecmp.c.o/
-
-# Paste in some desirable definitions.
-# The default rule here completely replaces the tricky stuff in the Unix
-# Makefile.in.
-/^###$/a\
-\
-HDEFINES = -d NEED_sys_siglist -d NEED_sys_errlist -d NEED_basename -d NEED_strcasecmp -d NEED_strncasecmp\
-INCLUDES = -i : -i {INCDIR}: -i {INCDIR}:mpw: -i ::extra-include: -i "{s}"\
-\
-.c.o \\Option-f .c\
- {CC} @DASH_C_FLAG@ {DepDir}{Default}.c {LIBCFLAGS} {INCLUDES} {HDEFINES} @SEGMENT_FLAG({Default})@ -o {TargDir}{Default}.c.o\
-
-# Remove dependency on needed-list, which we don't use.
-/DO_ALSO =/s/needed-list//
-
-/INCDIR=/s/"{srcdir}"{MULTISRCTOP}::/"{topsrcdir}"/
-
-# Whack out the COMPILE.c trickiness.
-/^COMPILE.c /,/^$/d
-
-# Remove the multido trickiness from the "all" target.
-/^all \\Option-f/,/^$/c\
-all \\Option-f {TARGETLIB}\
-
-
-# Remove the RULE1/RULE2 crud.
-/if \[/,/fi/d
-/^RULE1 =/,/RULE2 =/d
-/RULE2/s/RULE2/TARGETLIB/
-
-# Don't want fdmatch ever.
-s/ "{o}"fdmatch.c.o//
-
-# Fix paths to generated files.
-/config.h/s/"{s}"config.h/"{o}"config.h/
-
-# Whack out config rebuild rules.
-/^"{o}"config.h \\Option-f/,/^$/d
-
-
-
-
-
-