fix contrib makefile for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fd52ec657f
commit
1a55595e69
17
contrib/samples/svg/makefile.wat
Normal file
17
contrib/samples/svg/makefile.wat
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Makefile for WATCOM
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
WXDIR = $(%WXWIN)
|
||||||
|
|
||||||
|
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
|
||||||
|
THISDIR = $(WXDIR)\contrib\samples\svg
|
||||||
|
OUTPUTDIR = $(THISDIR)\
|
||||||
|
|
||||||
|
PROGRAM = svgtest
|
||||||
|
EXTRALIBS = $(WXDIR)\lib\svg.lib
|
||||||
|
OBJECTS = $(PROGRAM).obj
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makeprog.wat
|
||||||
|
|
@ -757,7 +757,7 @@ void wxSVGFileDC::DoDrawIcon(const class wxIcon & myIcon, wxCoord x, wxCoord y)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void wxSVGFileDC::DoDrawBitmap(const class wxBitmap & bmp, wxCoord x, wxCoord y , bool bTransparent /*=0*/ )
|
void wxSVGFileDC::DoDrawBitmap(const class wxBitmap & bmp, wxCoord x, wxCoord y , bool WXUNUSED(bTransparent) /*=0*/ )
|
||||||
{
|
{
|
||||||
if (m_graphics_changed) NewGraphics ();
|
if (m_graphics_changed) NewGraphics ();
|
||||||
|
|
||||||
|
24
contrib/src/svg/makefile.wat
Normal file
24
contrib/src/svg/makefile.wat
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# svg makefile for Watcom C++
|
||||||
|
|
||||||
|
WXDIR = ..\..\..
|
||||||
|
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makewat.env
|
||||||
|
|
||||||
|
SVGLIB = $(WXDIR)\lib\svg.lib
|
||||||
|
THISDIR = $(WXDIR)\contrib\src\svg
|
||||||
|
OUTPUTDIR = $(THISDIR)\
|
||||||
|
|
||||||
|
NAME = svg
|
||||||
|
LNK = $(name).lnk
|
||||||
|
|
||||||
|
OBJECTS = dcsvg.obj
|
||||||
|
|
||||||
|
all: $(SVGLIB)
|
||||||
|
|
||||||
|
$(SVGLIB): $(OBJECTS)
|
||||||
|
*wlib /b /c /n /P=256 $(SVGLIB) $(OBJECTS)
|
||||||
|
|
||||||
|
clean: .SYMBOLIC
|
||||||
|
-erase *.obj *.bak *.err *.pch $(SVGLIB) *.lbc
|
||||||
|
|
17
samples/svg/makefile.wat
Normal file
17
samples/svg/makefile.wat
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Makefile for WATCOM
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
WXDIR = $(%WXWIN)
|
||||||
|
|
||||||
|
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
|
||||||
|
THISDIR = $(WXDIR)\contrib\samples\svg
|
||||||
|
OUTPUTDIR = $(THISDIR)\
|
||||||
|
|
||||||
|
PROGRAM = svgtest
|
||||||
|
EXTRALIBS = $(WXDIR)\lib\svg.lib
|
||||||
|
OBJECTS = $(PROGRAM).obj
|
||||||
|
|
||||||
|
!include $(WXDIR)\src\makeprog.wat
|
||||||
|
|
@ -757,7 +757,7 @@ void wxSVGFileDC::DoDrawIcon(const class wxIcon & myIcon, wxCoord x, wxCoord y)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void wxSVGFileDC::DoDrawBitmap(const class wxBitmap & bmp, wxCoord x, wxCoord y , bool bTransparent /*=0*/ )
|
void wxSVGFileDC::DoDrawBitmap(const class wxBitmap & bmp, wxCoord x, wxCoord y , bool WXUNUSED(bTransparent) /*=0*/ )
|
||||||
{
|
{
|
||||||
if (m_graphics_changed) NewGraphics ();
|
if (m_graphics_changed) NewGraphics ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user