* config/tc-m68k.h (tc_frob_label): Define to warn about a
[deliverable/binutils-gdb.git] / gas / mpw-make.sed
index a5f407002d5cb1d2b817cd2228290d7c8a54ada9..16f12a5055009403a83bd206a842b4c828397dff 100644 (file)
@@ -18,6 +18,13 @@ LOCAL_LOADLIBES = \
 /@OPCODES_LIB@/s/@OPCODES_LIB@/::opcodes:libopcodes.o/
 /@BFDLIB@/s/@BFDLIB@/::bfd:libbfd.o/
 
+# Point at the libraries directly.
+/@OPCODES_DEP@/s/@OPCODES_DEP@/::opcodes:libopcodes.o/
+/@BFDDEP@/s/@BFDDEP@/::bfd:libbfd.o/
+
+# Don't need this.
+/@HLDFLAGS@/s/@HLDFLAGS@//
+
 /extra_objects@/s/extra_objects@/{EXTRA_OBJECTS}/
 
 /LOADLIBES/s/{LOADLIBES}/{EXTRALIBS}/
@@ -53,6 +60,9 @@ LOCAL_LOADLIBES = \
 /{OBJS}/s/{OBJS} \\Option-f "{o}"config.h/{OBJS} \\Option-f/
 /gasp.c/s/gasp\.c "{o}"config.h/gasp.c/
 
+# ALL_CFLAGS includes TDEFINES, which is not desirable at link time.
+/CC_LD/s/ALL_CFLAGS/CFLAGS/g
+
 # The resource file is called mac-as.r.
 /as.new.r/s/as\.new\.r/mac-as.r/
 /gasp.new.r/s/gasp\.new\.r/mac-as.r/
@@ -64,16 +74,27 @@ LOCAL_LOADLIBES = \
 # Whack out recursive makes, they won't work.
 /^[    ][      ]*srcroot=/,/^[         ][      ]*(cd /d
 
+# Work around quoting problems by using multiple echo commands.
 /'#define GAS_VERSION "{VERSION}"'/c\
        Echo -n '#define GAS_VERSION "' >> "{o}"config.new\
        Echo -n "{VERSION}" >> "{o}"config.new\
        Echo -n '"' >> "{o}"config.new
 
+# Add a "stamps" target.
+$a\
+stamps \\Option-f config-stamp\
+
+/^install \\Option-f/,/^$/c\
+install \\Option-f all install-only\
+\
+install-only \\Option-f\
+       NewFolderRecursive "{bindir}"\
+       Duplicate -y :as.new "{bindir}"as\
+       Duplicate -y :gasp.new "{bindir}"gasp\
+
+
 # Whack out config-rebuilding targets, they won't work.
+/^Makefile \\Option-f/,/^$/d
 /^config.status \\Option-f/,/^$/d
 
 /^"{o}"config.h \\Option-f/s/^/#/
-
-# Add a "stamps" target.
-$a\
-stamps \\Option-f config-stamp\
This page took 0.02453 seconds and 4 git commands to generate.