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:
Chris Elliott 2003-02-10 21:55:23 +00:00
parent fd52ec657f
commit 1a55595e69
5 changed files with 60 additions and 2 deletions

View 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

View File

@ -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 ();

View 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
View 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

View File

@ -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 ();