Removed unsupported Watcom files
authorSam Lantinga <slouken@libsdl.org>
Sun, 22 Jan 2012 17:41:33 -0500
changeset 62544aa9714c1983
parent 6253 c571220b40f4
child 6255 25bfc0f21c56
Removed unsupported Watcom files
Makefile.in
README.Watcom
Watcom-Win32.zip
     1.1 --- a/Makefile.in	Sun Jan 22 17:33:44 2012 -0500
     1.2 +++ b/Makefile.in	Sun Jan 22 17:41:33 2012 -0500
     1.3 @@ -36,7 +36,7 @@
     1.4  SDLMAIN_TARGET = libSDL2main.a
     1.5  SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
     1.6  
     1.7 -SRC_DIST = acinclude Android.mk autogen.sh BUGS build-scripts configure configure.in COPYING CREDITS include INSTALL Makefile.minimal Makefile.in README* sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in src test TODO VisualC.html VisualC VisualCE Watcom-Win32.zip WhatsNew Xcode Xcode-iOS
     1.8 +SRC_DIST = acinclude Android.mk autogen.sh BUGS build-scripts configure configure.in COPYING CREDITS include INSTALL Makefile.minimal Makefile.in README* sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in src test TODO VisualC.html VisualC VisualCE WhatsNew Xcode Xcode-iOS
     1.9  GEN_DIST = SDL2.spec
    1.10  
    1.11  HDRS = \
     2.1 --- a/README.Watcom	Sun Jan 22 17:33:44 2012 -0500
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,139 +0,0 @@
     2.4 -
     2.5 -Using SDL 1.3 under Windows with the OpenWatcom compiler
     2.6 -
     2.7 -====================================================
     2.8 -
     2.9 -Prerequisites
    2.10 --------------
    2.11 -
    2.12 -I have done the port under Windows XP Professional with SP2 installed.
    2.13 -Windows 2000 should also be working. I'm not so sure about ancient Windows NT,
    2.14 -since only DirectX 3 is available there. Building should be possible,
    2.15 -but running the compiled applications will probalbly fail with
    2.16 -SDL_VIDEODRIVER=directx. The windib driver should work, though.
    2.17 -
    2.18 -To compile and use the SDL with Open Watcom you will need the following:
    2.19 -- Open Watcom compiler. I used version 1.8. The environment variables
    2.20 -  PATH, WATCOM and INCLUDE need to be set appropriately - please consult
    2.21 -  the OpenWatcom documentation and instructions given during the
    2.22 -  installation of the compiler.
    2.23 -  My setup looks like this in owvars.bat:
    2.24 -    set WATCOM=C:\dev\ow18
    2.25 -    set INCLUDE=%WATCOM%\h;%WATCOM%\h\nt
    2.26 -    set PATH=%PATH%;%WATCOM%\binnt;%WATCOM%\binw
    2.27 -- A recent DirectX SDK. The library needs D3d9.h so at leat the
    2.28 -  directx 9 sdk is to be used. I used DirectX 10 SDK from August 2009
    2.29 -  taken directly from the microsoft site.
    2.30 -- The SDL 1.3 sources from Subversion
    2.31 -- The file Watcom-Win32.zip (now available in Subversion)
    2.32 -
    2.33 -
    2.34 -Building the Library
    2.35 ---------------------
    2.36 -
    2.37 -1) In the SDL base directory extract the archive Watcom-Win32.zip. This
    2.38 -   creates a subdirectory named 'watcom'.
    2.39 -2) The makefile expects the environment variable DXDIR to be set to the
    2.40 -   base directory of a DirectX SDK. I have tried the August 2009
    2.41 -   DirectX SDK from Microsoft
    2.42 -   You can also edit the makefile directly and hard code your path to
    2.43 -   the SDK on your system.
    2.44 -   I have this in my setup:
    2.45 -     set DXDIR=..\dx10
    2.46 -3) Enter the watcom directory and run
    2.47 -     wmake sdl
    2.48 -4) All tests from the test directory are working and can be built by
    2.49 -   running
    2.50 -     wmake tests
    2.51 -
    2.52 -Notes:
    2.53 -
    2.54 - The makefile offers some options to tweak the way the library is built.
    2.55 - You have at your disposal the option to build a static (default)
    2.56 - library, or a DLL (with tgt=dll). You can also choose whether to build
    2.57 - a Release (default) or a Debug version (with build=debug) of the tests
    2.58 - and library. Please consult the usage comment at the top of the
    2.59 - makefile for usage instructions.
    2.60 -
    2.61 - If you specify a test target (i.e. 'wmake tests' for all tests, or
    2.62 - selected targets like 'wmake testgl testvidinfo testoverlay2'), the
    2.63 - tests are always freshly compiled and linked. This is done to
    2.64 - minimise hassle when switching between library versions (static vs.
    2.65 - DLL), because they require subtly different options.
    2.66 - Also, the test executables are put directly into the test directory,
    2.67 - so they can find their data files. The clean target of the makefile
    2.68 - removes the test executables and the SDL.dll file from the test
    2.69 - directory.
    2.70 -
    2.71 - To use the library in your own projects with Open Watcom, you can use
    2.72 - the way the tests are built as base of your own build environment.
    2.73 -
    2.74 - The library can also be built with the stack calling convention of the
    2.75 - compiler (-6s instead of -6r).
    2.76 -
    2.77 -Test applications
    2.78 ------------------
    2.79 -$FixME: which test works ? which one compiles ?
    2.80 -
    2.81 -I've tried to make all tests work. The following table gives an overview
    2.82 -of the current status.
    2.83 -
    2.84 - Testname        Status
    2.85 -~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2.86 -checkkeys       +
    2.87 -graywin         +
    2.88 -loopwave        +
    2.89 -testalpha       +
    2.90 -testbitmap      +
    2.91 -testdyngl       +
    2.92 -testerror       +
    2.93 -testfile        +
    2.94 -testgamma       +
    2.95 -testgl          +
    2.96 -testhread       +
    2.97 -testiconv       - (all failed)
    2.98 -testkeys        +
    2.99 -testlock        +
   2.100 -testoverlay     + (needs 'set SDL_VIDEODRIVER=directx')
   2.101 -testoverlay2    + (needs 'set SDL_VIDEODRIVER=directx')
   2.102 -testpalette     +
   2.103 -testplatform    +
   2.104 -testsem         +
   2.105 -testsprite      +
   2.106 -testtimer       +
   2.107 -testver         +
   2.108 -testvidinfo     +
   2.109 -testwin         ? (fading doesn't seem right)
   2.110 -testwm          +
   2.111 -torturethread   +
   2.112 -testcdrom       +
   2.113 -testjoystick    not tested
   2.114 -threadwin       +
   2.115 -testcursor      +
   2.116 -
   2.117 -
   2.118 -TODO
   2.119 -----
   2.120 -
   2.121 -There is room for further improvement:
   2.122 -- Test joystick functionality.
   2.123 -- Investigate fading issue in 'testwin' test.
   2.124 -- Fix the UTF-8 support.
   2.125 -- Adapt the makefile/object file list to support more target systems
   2.126 -- Use "#pragma aux" syntax for the CPU info functions.
   2.127 -
   2.128 -
   2.129 -Questions and Comments
   2.130 -----------------------
   2.131 -
   2.132 -Please direct any questions or comments to me:
   2.133 -
   2.134 -        ow_sdl [at] digitalfantasy [dot] it
   2.135 -
   2.136 -The original porting to the open watcom compiler was made by
   2.137 -Marc Peter <mailto:macpete@gmx.de>
   2.138 -
   2.139 -   Happy Coding!
   2.140 -
   2.141 -   Daniele Forghieri
   2.142 -
     3.1 Binary file Watcom-Win32.zip has changed