New file used for rebuilding dependencies.
authorIan Lance Taylor <ian@airs.com>
Mon, 13 Dec 1993 19:37:22 +0000 (19:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 13 Dec 1993 19:37:22 +0000 (19:37 +0000)
ld/.Sanitize
ld/dep-in.sed [new file with mode: 0644]

index 7b212e60cb1acf715c7b7a6a1d9e01dc2e936309..6c47375e00516e10df9a7b9820ea019d7acd3e3b 100644 (file)
@@ -43,6 +43,7 @@ config
 config.h
 configure.bat
 configure.in
+dep-in.sed
 emulparams
 emultempl
 genscripts.sh
diff --git a/ld/dep-in.sed b/ld/dep-in.sed
new file mode 100644 (file)
index 0000000..78a9cb5
--- /dev/null
@@ -0,0 +1,16 @@
+:loop
+/\\$/N
+/\\$/b loop
+
+s!@INCDIR@!$(INCDIR)!g
+s!@srcdir@/!!g
+s!\.\./bfd/hosts/[^ ]*\.h ! !g
+
+s/\\\n */ /g
+
+s/ *$//
+s/  */ /g
+/:$/d
+
+s/\(.\{50\}[^ ]*\) /\1 \\\
+  /g