summaryrefslogtreecommitdiff
path: root/Build/source/libs/libttf/arch/win16/makedef
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/libttf/arch/win16/makedef')
-rw-r--r--Build/source/libs/libttf/arch/win16/makedef24
1 files changed, 24 insertions, 0 deletions
diff --git a/Build/source/libs/libttf/arch/win16/makedef b/Build/source/libs/libttf/arch/win16/makedef
new file mode 100644
index 00000000000..f16fbb15f96
--- /dev/null
+++ b/Build/source/libs/libttf/arch/win16/makedef
@@ -0,0 +1,24 @@
+# makedef
+#
+# This shell script creates a .DEF file necessary for building as DLL
+# on the Windows 16-bit platform.
+
+echo "\
+; This definition file to be used to built the library as DLL
+; has been generated automatically with the script \`makedef' on
+; `date +%d-%b-%Y`.
+
+LIBRARY ft14_16
+DESCRIPTION 'FreeType 1.4 16-bit DLL © 1996-2000 Turner, Wilhelm, Lemberg'
+EXETYPE WINDOWS
+CODE PRELOAD MOVEABLE DISCARDABLE
+DATA PRELOAD MOVEABLE SINGLE
+EXPORTS
+" > ttf.def
+
+(cd ../..
+ sed -n -e "/^ *EXPORT_DEF/!d ; n ; s/(.*$//" \
+ -e "s/;$//" -e "s/ const / /" -e "s/ *[a-zA-Z][a-zA-Z_\*]* //" \
+ -e "s/ *//g" -e "s/^\(.*\)/ _\1/" -e "p" *.h extend/*.h) >> ttf.def
+
+# eof