summaryrefslogtreecommitdiffstats
path: root/src/mac/FragmentAlias.mpw
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1998-08-28 17:05:37 +0000
committerMiro Jurisic <meeroh@mit.edu>1998-08-28 17:05:37 +0000
commit0593c87131d57a694349febe74abd2ba363c9d2b (patch)
treeb8fc893707b6f3c686feef29073c96cf5ddaaaa7 /src/mac/FragmentAlias.mpw
parent1da862fb9b3937cca9c60028f1c7bb2ea6b30747 (diff)
downloadkrb5-0593c87131d57a694349febe74abd2ba363c9d2b.tar.gz
krb5-0593c87131d57a694349febe74abd2ba363c9d2b.tar.xz
krb5-0593c87131d57a694349febe74abd2ba363c9d2b.zip
Added MPW fragment aliasing script
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10890 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/FragmentAlias.mpw')
-rw-r--r--src/mac/FragmentAlias.mpw24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mac/FragmentAlias.mpw b/src/mac/FragmentAlias.mpw
new file mode 100644
index 000000000..d09a2132f
--- /dev/null
+++ b/src/mac/FragmentAlias.mpw
@@ -0,0 +1,24 @@
+# StreamEdit script to find a GSSLibrary fragment in a derez output and
+# create an alias to it
+
+# If a line matches "/* [number] */", it's the first line of a cfrg array element.
+# copy the next 11 lines, and if the last one matches "GSSLibrary", print them out with
+# a different fragment name
+
+ Print "#include ¶"CodeFragments.r¶""
+
+/¶/¶* ¶[[0-9]*¶] ¶*¶//
+ Set FragEntry ""
+
+/GSSLibrary/
+ Print "¶t¶t¶"MIT_¥GSSLib¶",¶t¶t"
+ Print FragEntry
+
+/K5Library/
+ Print "¶t¶t¶"MIT_¥Kerberos5Lib¶",¶t¶t"
+ Print FragEntry
+
+/Å/
+ Set -a FragEntry .
+ Set -a FragEntry "¶n"