git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36787
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
<if cond="MONOLITHIC=='0'">$(EXTRALIBS_GUI)</if>
</set>
<if cond="MONOLITHIC=='0'">$(EXTRALIBS_GUI)</if>
</set>
+ <if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
+ <set var="MGLLIBPATH">$(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10</set>
+ <set var="MGLPMLIBPATH">
+ <if cond="DOS32=='DOS4GW'">dos4gw</if>
+ </set>
+ </if>
+
<template id="wx" template="common_settings">
<set var="wxid">$(wxwin.mk_wxid(id))</set>
<define>__WX$(TOOLKIT)__</define>
<template id="wx" template="common_settings">
<set var="wxid">$(wxwin.mk_wxid(id))</set>
<define>__WX$(TOOLKIT)__</define>
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
<lib-path>$(LIBDIRNAME)</lib-path>
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
<lib-path>$(LIBDIRNAME)</lib-path>
+ <if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
+ <lib-path>$(MGLLIBPATH)</lib-path>
+ <lib-path>$(MGLLIBPATH)/$(MGLPMLIBPATH)</lib-path>
+ </if>
<warnings>max</warnings>
<cppflags-watcom>
-wcd=549 <!-- 'sizeof' operand contains compiler generated information -->
<warnings>max</warnings>
<cppflags-watcom>
-wcd=549 <!-- 'sizeof' operand contains compiler generated information -->
+ <!-- system libraries on mgl: -->
+ <if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
+ <sys-lib>mgl</sys-lib>
+ <sys-lib>mglcpp</sys-lib>
+ <sys-lib>pm</sys-lib>
+ </if>
+
<!-- system libraries on windows: -->
<if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
<sys-lib>$(UNICOWS_LIB)</sys-lib>
<!-- system libraries on windows: -->
<if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
<sys-lib>$(UNICOWS_LIB)</sys-lib>
</template>
<template id="wx_3rdparty_includes_gui" cond="USE_GUI=='1'">
</template>
<template id="wx_3rdparty_includes_gui" cond="USE_GUI=='1'">
+ <if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
+ <include>$(DOLLAR)(%SCITECH)/include</include>
+ </if>
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>
<include>$(INC_TIFF)</include>
<include>$(INC_JPEG)</include>
<include>$(INC_PNG)</include>
<set var="EXTRALIBS_ODBC"/>
<set var="EXTRALIBS_GUI"/>
<set var="EXTRALIBS_OPENGL">
<set var="EXTRALIBS_ODBC"/>
<set var="EXTRALIBS_GUI"/>
<set var="EXTRALIBS_OPENGL">
- <if cond="COMPILER=='wat'">opengl32.lib glu32.lib</if>
+ <if cond="COMPILER=='wat' and TOOLKIT=='MSW'">opengl32.lib glu32.lib</if>
<if cond="COMPILER in ['vc','evc']">opengl32.lib glu32.lib</if>
<if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
</set>
<if cond="COMPILER in ['vc','evc']">opengl32.lib glu32.lib</if>
<if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
</set>
<!-- Need for wxUniv within wxMGL: -->
<if cond="FORMAT!='autoconf' and TOOLKIT=='MGL'">
<set var="WXUNIV">1</set>
<!-- Need for wxUniv within wxMGL: -->
<if cond="FORMAT!='autoconf' and TOOLKIT=='MGL'">
<set var="WXUNIV">1</set>
+ <set var="USE_THREADS">0</set>