changeset 638:3ce487327afd

Support for building binary for OS/2
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 11 Apr 2009 23:42:36 +0000
parents 9fa3cb5b3290
children 06be879f5137
files makefile.emx os2/readme-os2.txt
diffstat 2 files changed, 21 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/makefile.emx	Sat Apr 11 04:54:51 2009 +0000
+++ b/makefile.emx	Sat Apr 11 23:42:36 2009 +0000
@@ -1,4 +1,4 @@
-# $Id$ 
+# $Id$
 
 # Dynamic Windows EMX Makefile
 
@@ -7,6 +7,8 @@
 RC = rc
 MAKE = make
 COMPRESS = lxlite
+VER = 11
+VERDOT = 1.1
 
 DEFS =
 LIBS =
@@ -28,7 +30,7 @@
 	emximp -o dw.lib dw.def
 	copy dw.dll dll
 	copy dw.lib lib
-        
+
 dwcompat.dll:  $(COMPATOBJECTS) dwcompat.def
 	$(CC) $(CFLAGS) $(DEFS) -o dwcompat.dll $(COMPATOBJECTS) $(LDFLAGS) -lsocket dwcompat.def
 
@@ -40,7 +42,7 @@
 dwtest.exe: dwtest.o dw.lib dwcompat.lib
 	$(CC) $(CFLAGS) -Zcrtdll -Zomf -Zmt -o dwtest.exe dwtest.o -Llib -ldw -ldwcompat dwtest.def
 
-clean: 
+clean:
 	$(RM) $(OBJECTS) dwtest.exe
 
 dw.obj: dw.c
@@ -55,3 +57,6 @@
 dwtest.obj: dwtest.c
 	$(CC) $(CFLAGS) -c $<	
 
+zip: dw.dll
+	copy os2\readme-os2.txt .
+	zip dwindows-os2-$(VERDOT).zip readme-os2.txt dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/os2/readme-os2.txt	Sat Apr 11 23:42:36 2009 +0000
@@ -0,0 +1,13 @@
+This package contains Dynamic Windows (dwindows) v 1.1 for OS/2 and eCS.
+
+It contains:
+
+dw.dll - main dwindows DLL
+dwcompat.dll - compatibility DLL (optional)
+dw.h - header file
+dw.lib - import library for functions in dw.dll
+dwcompat.lib - import library for functions in dwcompat.dll
+readme-os2.txt - this file
+
+The DLLs in this package were built with gcc 3.3.5 and require the runtime
+DLL: libc063.dll