# HG changeset patch # User mhessling@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1239493356 0 # Node ID 3ce487327afdf985eaa425233de1e9baac80865f # Parent 9fa3cb5b329098b1d44b0521872f35d133e7dfb3 Support for building binary for OS/2 diff -r 9fa3cb5b3290 -r 3ce487327afd makefile.emx --- 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 diff -r 9fa3cb5b3290 -r 3ce487327afd os2/readme-os2.txt --- /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