summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wilhelm <robert.wilhelm@gmx.net>2001-05-28 21:29:58 +0000
committerRobert Wilhelm <robert.wilhelm@gmx.net>2001-05-28 21:29:58 +0000
commit92f3b135fd05a1bad01c9cdca86331e9b579a4dd (patch)
tree33e689f5a5250bf1bc03c309cceaaef739cc4192
parent1ddd46d90359ca8c603ea47f1c74176ae6219122 (diff)
downloadfreetype2-92f3b135fd05a1bad01c9cdca86331e9b579a4dd.tar.gz
Netware port by Ulrich Neumann.
-rw-r--r--builds/netware/caller.c45
-rw-r--r--builds/netware/freetype2.mcpbin0 -> 61787 bytes
-rw-r--r--builds/netware/freetype2_Data/CWSettingsWindows.stgbin0 -> 3470 bytes
-rw-r--r--builds/netware/freetype2_Data/libft2/TargetDataWindows.tdtbin0 -> 682373 bytes
-rw-r--r--builds/netware/libft2.exp44
-rw-r--r--builds/netware/libft2.imp44
-rw-r--r--builds/netware/libft2.nlmbin0 -> 173908 bytes
-rw-r--r--builds/netware/main_NLM.c16
8 files changed, 149 insertions, 0 deletions
diff --git a/builds/netware/caller.c b/builds/netware/caller.c
new file mode 100644
index 000000000..e8efa8368
--- /dev/null
+++ b/builds/netware/caller.c
@@ -0,0 +1,45 @@
+#include <stdio.h>
+
+extern long NLM_threadCnt;
+/* linker does not complain about this line:
+
+long NLM_threadCnt;
+
+i.e., no warning/error when you redefine an imported object
+-LS*/
+
+void *DEMOLIB2_Malloc(long size);
+int DEMOLIB2_Free(void *vp);
+
+void main(void)
+ {
+ void *vp;
+ int cCode;
+
+
+ vp=DEMOLIB2_Malloc(100);
+ if(vp == NULL)
+ {
+ printf("DEMOLIB2_Malloc(100) failed.\n");
+ goto END_ERR;
+ }
+ printf("Memory has been allocated. vp=%08X\n", vp);
+
+ END_ERR:
+
+
+ if(vp != NULL)
+ {
+ cCode=DEMOLIB2_Free(vp);
+ if(cCode != 0)
+ printf("DEMOLIB2_Free(vp) failed: %d\n", cCode);
+ else
+ printf("Memory has been freed.\n");
+ }
+
+ printf("Waiting for a keystroke before unloading....");
+ getch();
+
+ return;
+ }
+ \ No newline at end of file
diff --git a/builds/netware/freetype2.mcp b/builds/netware/freetype2.mcp
new file mode 100644
index 000000000..b8f544318
--- /dev/null
+++ b/builds/netware/freetype2.mcp
Binary files differ
diff --git a/builds/netware/freetype2_Data/CWSettingsWindows.stg b/builds/netware/freetype2_Data/CWSettingsWindows.stg
new file mode 100644
index 000000000..bcdaa1127
--- /dev/null
+++ b/builds/netware/freetype2_Data/CWSettingsWindows.stg
Binary files differ
diff --git a/builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt b/builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt
new file mode 100644
index 000000000..05dabfdc0
--- /dev/null
+++ b/builds/netware/freetype2_Data/libft2/TargetDataWindows.tdt
Binary files differ
diff --git a/builds/netware/libft2.exp b/builds/netware/libft2.exp
new file mode 100644
index 000000000..6b09ad61b
--- /dev/null
+++ b/builds/netware/libft2.exp
@@ -0,0 +1,44 @@
+FT_List_Add
+FT_List_Insert
+FT_List_Find
+FT_List_Remove
+FT_List_Up
+FT_List_Iterate
+FT_List_Finalize
+FT_Add_Module
+FT_Get_Module
+FT_Remove_Module
+FT_New_Library
+FT_Done_Library
+FT_Set_Debug_Hook
+FT_Add_Default_Modules
+FT_Init_FreeType
+FT_Done_FreeType
+FT_New_Face
+FT_Done_Face
+FT_New_Memory_Face
+FT_Open_Face
+FT_Attach_File
+FT_Attach_Stream
+FT_Set_Char_Size
+FT_Set_Pixel_Sizes
+FT_Set_Transform
+FT_Load_Glyph
+FT_Get_Char_Index
+FT_Load_Char
+FT_Render_Glyph
+FT_Get_Kerning
+FT_Get_Glyph_Name
+FT_Select_Charmap
+FT_Set_Charmap
+FT_Set_Renderer
+FT_Outline_New
+FT_Outline_Done
+FT_Outline_Copy
+FT_Outline_Translate
+FT_Outline_Transform
+FT_Outline_Reverse
+FT_Outline_Get_CBox
+FT_Outline_Get_Bitmap
+FT_Outline_Render
+FT_Outline_Decompose
diff --git a/builds/netware/libft2.imp b/builds/netware/libft2.imp
new file mode 100644
index 000000000..6b09ad61b
--- /dev/null
+++ b/builds/netware/libft2.imp
@@ -0,0 +1,44 @@
+FT_List_Add
+FT_List_Insert
+FT_List_Find
+FT_List_Remove
+FT_List_Up
+FT_List_Iterate
+FT_List_Finalize
+FT_Add_Module
+FT_Get_Module
+FT_Remove_Module
+FT_New_Library
+FT_Done_Library
+FT_Set_Debug_Hook
+FT_Add_Default_Modules
+FT_Init_FreeType
+FT_Done_FreeType
+FT_New_Face
+FT_Done_Face
+FT_New_Memory_Face
+FT_Open_Face
+FT_Attach_File
+FT_Attach_Stream
+FT_Set_Char_Size
+FT_Set_Pixel_Sizes
+FT_Set_Transform
+FT_Load_Glyph
+FT_Get_Char_Index
+FT_Load_Char
+FT_Render_Glyph
+FT_Get_Kerning
+FT_Get_Glyph_Name
+FT_Select_Charmap
+FT_Set_Charmap
+FT_Set_Renderer
+FT_Outline_New
+FT_Outline_Done
+FT_Outline_Copy
+FT_Outline_Translate
+FT_Outline_Transform
+FT_Outline_Reverse
+FT_Outline_Get_CBox
+FT_Outline_Get_Bitmap
+FT_Outline_Render
+FT_Outline_Decompose
diff --git a/builds/netware/libft2.nlm b/builds/netware/libft2.nlm
new file mode 100644
index 000000000..2a171dcb4
--- /dev/null
+++ b/builds/netware/libft2.nlm
Binary files differ
diff --git a/builds/netware/main_NLM.c b/builds/netware/main_NLM.c
new file mode 100644
index 000000000..16a3c3d55
--- /dev/null
+++ b/builds/netware/main_NLM.c
@@ -0,0 +1,16 @@
+/* main_NLM.c
+ *
+ * This main is neccessary on NetWare so that libft2 remains resident.
+ * 2001 Ulrich Neumann
+ *
+ */
+
+
+#include <advanced.h>
+#include <stdlib.h>
+
+
+void main(void)
+{
+ ExitThread(TSR_THREAD, 0); /*so libft2īs symbols remain resident in symbol table*/
+} \ No newline at end of file