wxMGL revitalised with OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -315,7 +315,7 @@ it if SHARED=1 unless you know what you are doing.
|
|||||||
<set var="TOOLKIT" overwrite="0">
|
<set var="TOOLKIT" overwrite="0">
|
||||||
<if cond="FORMAT=='msevc4prj'">WINCE</if>
|
<if cond="FORMAT=='msevc4prj'">WINCE</if>
|
||||||
<if cond="FORMAT!='msevc4prj' and PLATFORM_WIN32=='1'">MSW</if>
|
<if cond="FORMAT!='msevc4prj' and PLATFORM_WIN32=='1'">MSW</if>
|
||||||
<if cond="PLATFORM_MSDOS=='1'">DOS</if>
|
<if cond="PLATFORM_MSDOS=='1'">MGL</if>
|
||||||
<if cond="PLATFORM_OS2=='1'">PM</if>
|
<if cond="PLATFORM_OS2=='1'">PM</if>
|
||||||
</set>
|
</set>
|
||||||
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
|
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
|
||||||
@@ -428,4 +428,9 @@ Set the version of your Mingw installation here.
|
|||||||
<set var="USE_EXCEPTIONS">0</set>
|
<set var="USE_EXCEPTIONS">0</set>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<!-- Need for wxUniv within wxMGL: -->
|
||||||
|
<if cond="TOOLKIT=='MGL'">
|
||||||
|
<set var="WXUNIV">1</set>
|
||||||
|
</if>
|
||||||
|
|
||||||
</makefile>
|
</makefile>
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<makefile>
|
<makefile>
|
||||||
|
|
||||||
<if cond="FORMAT=='autoconf'">
|
<if cond="FORMAT=='autoconf'">
|
||||||
@@ -32,6 +34,9 @@
|
|||||||
<define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
|
<define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
|
||||||
OS2_32
|
OS2_32
|
||||||
</define>
|
</define>
|
||||||
|
<define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
|
||||||
|
__MSDOS__
|
||||||
|
</define>
|
||||||
<cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
|
<cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
|
||||||
<sources>
|
<sources>
|
||||||
src/expat/lib/xmlparse.c
|
src/expat/lib/xmlparse.c
|
||||||
|
@@ -1544,6 +1544,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
|||||||
wx/mgl/app.h
|
wx/mgl/app.h
|
||||||
wx/mgl/bitmap.h
|
wx/mgl/bitmap.h
|
||||||
wx/mgl/brush.h
|
wx/mgl/brush.h
|
||||||
|
wx/mgl/chkconf.h
|
||||||
wx/mgl/clipbrd.h
|
wx/mgl/clipbrd.h
|
||||||
wx/mgl/colour.h
|
wx/mgl/colour.h
|
||||||
wx/mgl/cursor.h
|
wx/mgl/cursor.h
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<makefile>
|
<makefile>
|
||||||
|
|
||||||
<if cond="FORMAT=='autoconf'">
|
<if cond="FORMAT=='autoconf'">
|
||||||
@@ -43,6 +45,7 @@
|
|||||||
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
|
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
|
||||||
<cflags-dmars>-w2</cflags-dmars>
|
<cflags-dmars>-w2</cflags-dmars>
|
||||||
<define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
|
<define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
|
||||||
|
<define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
|
||||||
<sources>
|
<sources>
|
||||||
$(TIFF_PLATFORM_SRC)
|
$(TIFF_PLATFORM_SRC)
|
||||||
src/tiff/tif_aux.c
|
src/tiff/tif_aux.c
|
||||||
|
@@ -25,6 +25,8 @@
|
|||||||
# include "wx/mac/chkconf.h"
|
# include "wx/mac/chkconf.h"
|
||||||
#elif defined(__OS2__)
|
#elif defined(__OS2__)
|
||||||
# include "wx/os2/chkconf.h"
|
# include "wx/os2/chkconf.h"
|
||||||
|
#elif defined(__WXMGL__)
|
||||||
|
# include "wx/mgl/chkconf.h"
|
||||||
#elif defined(__WXMOTIF__)
|
#elif defined(__WXMOTIF__)
|
||||||
# include "wx/motif/chkconf.h"
|
# include "wx/motif/chkconf.h"
|
||||||
#endif
|
#endif
|
||||||
|
81
include/wx/mgl/chkconf.h
Normal file
81
include/wx/mgl/chkconf.h
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* Name: wx/mgl/chkconf.h
|
||||||
|
* Purpose: Compiler-specific configuration checking
|
||||||
|
* Author: Julian Smart
|
||||||
|
* Modified by:
|
||||||
|
* Created: 01/02/97
|
||||||
|
* RCS-ID: $Id$
|
||||||
|
* Copyright: (c) Julian Smart
|
||||||
|
* Licence: wxWindows licence
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
|
||||||
|
|
||||||
|
#ifndef _WX_MGL_CHKCONF_H_
|
||||||
|
#define _WX_MGL_CHKCONF_H_
|
||||||
|
|
||||||
|
#ifdef __WATCOMC__
|
||||||
|
|
||||||
|
/* Watcom builds for MGL port are setup.h driven and setup.h is
|
||||||
|
automatically generated from include/wx/setup_inc.h so we have
|
||||||
|
to disable here features not supported currently or enable
|
||||||
|
features required */
|
||||||
|
|
||||||
|
#if wxUSE_STACKWALKER
|
||||||
|
# undef wxUSE_STACKWALKER
|
||||||
|
# define wxUSE_STACKWALKER 0
|
||||||
|
#endif /* wxUSE_STACKWALKER */
|
||||||
|
|
||||||
|
#if wxUSE_ACCEL
|
||||||
|
# undef wxUSE_ACCEL
|
||||||
|
# define wxUSE_ACCEL 0
|
||||||
|
#endif /* wxUSE_ACCEL */
|
||||||
|
|
||||||
|
#if wxUSE_DYNLIB_CLASS
|
||||||
|
# undef wxUSE_DYNLIB_CLASS
|
||||||
|
# define wxUSE_DYNLIB_CLASS 0
|
||||||
|
#endif /* wxUSE_DYNLIB_CLASS */
|
||||||
|
|
||||||
|
#if wxUSE_DYNAMIC_LOADER
|
||||||
|
# undef wxUSE_DYNAMIC_LOADER
|
||||||
|
# define wxUSE_DYNAMIC_LOADER 0
|
||||||
|
#endif /* wxUSE_DYNAMIC_LOADER */
|
||||||
|
|
||||||
|
#if wxUSE_ODBC
|
||||||
|
# undef wxUSE_ODBC
|
||||||
|
# define wxUSE_ODBC 0
|
||||||
|
#endif /* wxUSE_ODBC */
|
||||||
|
|
||||||
|
#if wxUSE_DATAOBJ
|
||||||
|
# undef wxUSE_DATAOBJ
|
||||||
|
# define wxUSE_DATAOBJ 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_CLIPBOARD
|
||||||
|
# undef wxUSE_CLIPBOARD
|
||||||
|
# define wxUSE_CLIPBOARD 0
|
||||||
|
#endif /* wxUSE_CLIPBOARD */
|
||||||
|
|
||||||
|
#if wxUSE_SOCKETS
|
||||||
|
# undef wxUSE_SOCKETS
|
||||||
|
# define wxUSE_SOCKETS 0
|
||||||
|
#endif /* wxUSE_SOCKETS */
|
||||||
|
|
||||||
|
#if wxUSE_PROTOCOL
|
||||||
|
# undef wxUSE_PROTOCOL
|
||||||
|
# define wxUSE_PROTOCOL 0
|
||||||
|
#endif /* wxUSE_PROTOCOL */
|
||||||
|
|
||||||
|
#if wxUSE_URL
|
||||||
|
# undef wxUSE_URL
|
||||||
|
# define wxUSE_URL 0
|
||||||
|
#endif /* wxUSE_URL */
|
||||||
|
|
||||||
|
#if wxUSE_FS_INET
|
||||||
|
# undef wxUSE_FS_INET
|
||||||
|
# define wxUSE_FS_INET 0
|
||||||
|
#endif /* wxUSE_FS_INET */
|
||||||
|
|
||||||
|
#endif /* __WATCOM__ */
|
||||||
|
|
||||||
|
#endif /* _WX_MGL_CHKCONF_H_ */
|
@@ -55,6 +55,11 @@
|
|||||||
# include "wx/os2/private.h"
|
# include "wx/os2/private.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// include mgl headers
|
||||||
|
#ifdef __WXMGL__
|
||||||
|
# include "wx/mgl/private.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// include the most common wx headers
|
// include the most common wx headers
|
||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
|
|
||||||
|
25
src/expat/lib/dosconfig.h
Normal file
25
src/expat/lib/dosconfig.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*================================================================
|
||||||
|
** Copyright 2000, Clark Cooper
|
||||||
|
** All rights reserved.
|
||||||
|
**
|
||||||
|
** This is free software. You are permitted to copy, distribute, or modify
|
||||||
|
** it under the terms of the MIT/X license (contained in the COPYING file
|
||||||
|
** with this distribution.)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef DOSCONFIG_H
|
||||||
|
#define DOSCONFIG_H
|
||||||
|
|
||||||
|
#include <memory.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#define XML_NS 1
|
||||||
|
#define XML_DTD 1
|
||||||
|
#define XML_CONTEXT_BYTES 1024
|
||||||
|
|
||||||
|
/* we will assume all DOS platforms are little endian */
|
||||||
|
#define BYTEORDER 1234
|
||||||
|
|
||||||
|
#define HAVE_BCOPY
|
||||||
|
|
||||||
|
#endif /* ndef DOSCONFIG_H */
|
@@ -15,6 +15,11 @@
|
|||||||
#include "os2config.h"
|
#include "os2config.h"
|
||||||
#include "expat.h"
|
#include "expat.h"
|
||||||
|
|
||||||
|
#elif defined(__MSDOS__)
|
||||||
|
|
||||||
|
#include "dosconfig.h"
|
||||||
|
#include "expat.h"
|
||||||
|
|
||||||
#elif defined(MACOS_CLASSIC)
|
#elif defined(MACOS_CLASSIC)
|
||||||
|
|
||||||
#include "macconfig.h"
|
#include "macconfig.h"
|
||||||
|
@@ -6,6 +6,8 @@
|
|||||||
#include "winconfig.h"
|
#include "winconfig.h"
|
||||||
#elif defined(OS2_32)
|
#elif defined(OS2_32)
|
||||||
#include "os2config.h"
|
#include "os2config.h"
|
||||||
|
#elif defined(__MSDOS__)
|
||||||
|
#include "dosconfig.h"
|
||||||
#elif defined(MACOS_CLASSIC)
|
#elif defined(MACOS_CLASSIC)
|
||||||
#include "macconfig.h"
|
#include "macconfig.h"
|
||||||
#else
|
#else
|
||||||
|
@@ -6,6 +6,8 @@
|
|||||||
#include "winconfig.h"
|
#include "winconfig.h"
|
||||||
#elif defined(OS2_32)
|
#elif defined(OS2_32)
|
||||||
#include "os2config.h"
|
#include "os2config.h"
|
||||||
|
#elif defined(__MSDOS__)
|
||||||
|
#include "dosconfig.h"
|
||||||
#elif defined(MACOS_CLASSIC)
|
#elif defined(MACOS_CLASSIC)
|
||||||
#include "macconfig.h"
|
#include "macconfig.h"
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user