changes to watcom makefiles for OpenWatcom

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2003-04-05 10:14:07 +00:00
parent 6344162a81
commit ddea7eb614
104 changed files with 1219 additions and 25148 deletions

View File

@ -6,9 +6,11 @@
#
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
PROGRAM = anitest
OBJECTS = $(PROGRAM).obj animate.obj
EXTRALIBS = $(WXDIR)\lib\anim_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -3,9 +3,10 @@
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
PROGRAM = mtest
OBJECTS = $(PROGRAM).obj ..\src\multicell.obj
EXTRAINC=-I..\include
EXTRALIBS = $(WXDIR)\lib\gizmos_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,14 +1,13 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
# Purpose: makefile for multicell example (Watcom)
# Created 2000-07-28
WXDIR = $(%WXWIN)
PROGRAM = minimal
OBJECTS = $(PROGRAM).obj
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
PROGRAM = tree
EXTRALIBS = $(WXDIR)\lib\gizmos_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -8,7 +8,7 @@
WXDIR = $(%WXWIN)
PROGRAM = mmboard
OBJECTS = $(PROGRAM).obj mmbman.obj
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj mmbman.obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -7,9 +7,11 @@
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
PROGRAM = ogledit
EXTRALIBS = $(WXDIR)\lib\ogl.lib
OBJECTS = $(PROGRAM).obj doc.obj view.obj palette.obj
EXTRALIBS = $(WXDIR)\lib\ogl_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj $(OUTPUTDIR)\doc.obj $(OUTPUTDIR)\view.obj $(OUTPUTDIR)\palette.obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -7,10 +7,20 @@
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
PROGRAM = studio
EXTRALIBS = $(WXDIR)\lib\ogl.lib
OBJECTS = $(PROGRAM).obj doc.obj shapes.obj symbols.obj view.obj cspalette.obj &
mainfrm.obj project.obj dialogs.obj csprint.obj
EXTRALIBS = $(WXDIR)\lib\ogl_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj &
$(OUTPUTDIR)\doc.obj &
$(OUTPUTDIR)\shapes.obj &
$(OUTPUTDIR)\symbols.obj &
$(OUTPUTDIR)\view.obj &
$(OUTPUTDIR)\cspalette.obj &
$(OUTPUTDIR)\mainfrm.obj &
$(OUTPUTDIR)\project.obj &
$(OUTPUTDIR)\dialogs.obj &
$(OUTPUTDIR)\csprint.obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,17 +1,13 @@
#
# Makefile for WATCOM
#
# Purpose: makefile for SVG example (Watcom)
# Created 2000-07-28
WXDIR = $(WXWIN)
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\samples\stc
OUTPUTDIR = $(THISDIR)\
PROGRAM = stctest
EXTRALIBS = $(WXDIR)\lib\stc.lib
OBJECTS = $(PROGRAM).obj
EXTRALIBS = $(WXDIR)\lib\stc_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,17 +1,13 @@
#
# Makefile for WATCOM
#
# Purpose: makefile for SVG example (Watcom)
# Created 2000-07-28
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\samples\svg
OUTPUTDIR = $(THISDIR)\
PROGRAM = svgtest
EXTRALIBS = $(WXDIR)\lib\svg.lib
OBJECTS = $(PROGRAM).obj
EXTRALIBS = $(WXDIR)\lib\svg_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,32 +1,27 @@
#############################################################################
#
# Copyright (C) 1999 SciTech Software
# All rights reserved.
#
# Descripton: Generic makefile for the SciTech wxApplet library
#
#############################################################################
# Generated automatically from Makefile.in by configure.
# $Id$
# We are building with the Win32 version
top_srcdir = ../../..
top_builddir = ../../..
libsrc_dir = contrib/src/applet
USE_RTTI := 1
USE_CPPEXCEPT := 1
PRECOMP_HDR := wx/wxprec.h
CFLAGS += -D__WIN95__ -D__WXMSW__ -D__WINDOWS__
TARGET_LIBNAME=libwx_msw_applet-2.5
# Link with wxWindows static link libraries or with the DLL. DLL is default.
LIBVERSION_CURRENT=0
LIBVERSION_REVISION=0
LIBVERSION_AGE=0
.IF $(STATIC_LINK)
.ELSE
CFLAGS += -DWXUSINGDLL
.ENDIF
# Define the library name and objects
HEADER_PATH=$(top_srcdir)/contrib/include/wx
HEADER_SUBDIR=applet
LIBFILE = wxapplet$L
LIBCLEAN = *.il? *.dll *.lib
OBJECTS := applet$O appletwindow$O
HEADERS=applet.h appletwindow.h
DEPEND_OBJ = $(OBJECTS)
.INCLUDE: "$(SCITECH)\makedefs\common.mk"
OBJECTS=applet.o appletwindow.o
DEPFILES=$(OBJECTS:.o=.d)
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makelib.env
-include $(DEPFILES)

View File

@ -1,24 +1,17 @@
# Gizmos makefile for Watcom C++
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
WXDIR = ..\..\..
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
!include $(WXDIR)\src\makewat.env
LIBTARGET = $(WXDIR)\lib\gizmos_w.lib
GIZMOSLIB = $(WXDIR)\lib\gizmos.lib
THISDIR = $(WXDIR)\contrib\src\gizmos
OUTPUTDIR = $(THISDIR)\
OBJECTS = &
$(OUTPUTDIR)\multicell.obj &
$(OUTPUTDIR)\splittree.obj &
$(OUTPUTDIR)\editlbox.obj &
$(OUTPUTDIR)\dynamicsash.obj &
$(OUTPUTDIR)\ledctrl.obj
NAME = gizmos
LNK = $(name).lnk
!include $(WXDIR)\src\makelib.wat
OBJECTS = multicell.obj splittree.obj editlbox.obj dynamicsash.obj ledctrl.obj
all: $(GIZMOSLIB) .SYMBOLIC
$(GIZMOSLIB): $(OBJECTS)
*wlib /b /c /n /P=256 $(GIZMOSLIB) $(OBJECTS)
clean: .SYMBOLIC
-erase *.obj *.bak *.err *.pch $(GIZMOSLIB) *.lbc

View File

@ -6,15 +6,33 @@
#
# Makefile : Builds MMedia library for Watcom C++, WIN32
WXDIR = $(%WXWIN)
!error This will not work - there is no digitalv.h in Open Watcom as of 26 Feb 03
LIBTARGET=$(WXDIR)\contrib\lib\mmedia.lib
WXDIR = ..\..\..
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
OBJECTS = cdbase.obj cdwin.obj g711.obj g721.obj g723_24.obj &
g723_40.obj g72x.obj sndaiff.obj sndbase.obj sndcodec.obj &
sndcpcm.obj sndfile.obj sndg72x.obj sndpcm.obj sndulaw.obj &
sndwav.obj sndwin.obj vidbase.obj vidwin.obj
LIBTARGET=$(WXDIR)\lib\mmedia_w.lib
OBJECTS = &
$(OUTPUTDIR)\cdbase.obj &
$(OUTPUTDIR)\cdwin.obj &
$(OUTPUTDIR)\g711.obj &
$(OUTPUTDIR)\g721.obj &
$(OUTPUTDIR)\g723_24.obj &
$(OUTPUTDIR)\g723_40.obj &
$(OUTPUTDIR)\g72x.obj &
$(OUTPUTDIR)\sndaiff.obj &
$(OUTPUTDIR)\sndbase.obj &
$(OUTPUTDIR)\sndcodec.obj &
$(OUTPUTDIR)\sndcpcm.obj &
$(OUTPUTDIR)\sndfile.obj &
$(OUTPUTDIR)\sndg72x.obj &
$(OUTPUTDIR)\sndpcm.obj &
$(OUTPUTDIR)\sndulaw.obj &
$(OUTPUTDIR)\sndwav.obj &
$(OUTPUTDIR)\sndwin.obj &
$(OUTPUTDIR)\vidbase.obj &
$(OUTPUTDIR)\vidwin.obj
!include $(WXDIR)\src\makelib.wat

View File

@ -1,25 +1,24 @@
# Objects makefile
# OGL makefile
WXDIR = ..\..\..
EXTRACPPFLAGS=-I$(WXDIR)\contrib\include;/DPROLOGIO
!include $(WXDIR)\src\makewat.env
LIBTARGET= $(WXDIR)\lib\ogl_w.lib
OGLLIB = $(WXDIR)\lib\ogl.lib
THISDIR = $(WXDIR)\contrib\src\ogl
OUTPUTDIR = $(THISDIR)\
OBJECTS = &
$(OUTPUTDIR)\basic.obj &
$(OUTPUTDIR)\basic2.obj &
$(OUTPUTDIR)\canvas.obj &
$(OUTPUTDIR)\lines.obj &
$(OUTPUTDIR)\divided.obj &
$(OUTPUTDIR)\constrnt.obj &
$(OUTPUTDIR)\composit.obj &
$(OUTPUTDIR)\drawn.obj &
$(OUTPUTDIR)\bmpshape.obj &
$(OUTPUTDIR)\mfutils.obj &
$(OUTPUTDIR)\ogldiag.obj &
$(OUTPUTDIR)\oglmisc.obj
NAME = ogl
LNK = $(name).lnk
OBJECTS = basic.obj basic2.obj canvas.obj lines.obj divided.obj constrnt.obj &
composit.obj drawn.obj bmpshape.obj mfutils.obj ogldiag.obj oglmisc.obj
all: $(OGLLIB) .SYMBOLIC
$(OGLLIB): $(OBJECTS)
*wlib /b /c /n /P=256 $(OGLLIB) $(OBJECTS)
clean: .SYMBOLIC
-erase *.obj *.bak *.err *.pch $(OGLLIB) *.lbc
!include $(WXDIR)\src\makelib.wat

View File

@ -10,7 +10,7 @@ EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS)
!include $(WXDIR)\src\makewat.env
STCLIB = $(WXDIR)\lib\stc.lib
STCLIB = $(WXDIR)\lib\stc_w.lib
THISDIR = $(WXDIR)\contrib\src\stc
OUTPUTDIR = $(THISDIR)\

View File

@ -1,26 +1,13 @@
# svg makefile for Watcom C++
# SVG src makefile for Watcom C++
WXDIR = ..\..\..
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
!include $(WXDIR)\src\makewat.env
LIBTARGET = $(WXDIR)\lib\svg_w.lib
SVGLIB = $(WXDIR)\lib\svg.lib
THISDIR = $(WXDIR)\contrib\src\svg
OUTPUTDIR = $(THISDIR)\
OBJECTS = &
$(OUTPUTDIR)\dcsvg.obj &
NAME = svg
LNK = $(name).lnk
OBJECTS = dcsvg.obj
!include $(WXDIR)\src\makelib.wat
all: $(SVGLIB) .SYMBOLIC
$(SVGLIB): $(OBJECTS)
*wlib /b /c /n /P=256 $(SVGLIB) $(OBJECTS)
clean: .SYMBOLIC
-erase *.obj *.bak *.err *.pch $(SVGLIB) *.lbc

View File

@ -2,30 +2,51 @@
WXDIR = ..\..\..
EXTRACPPFLAGS=/Id:\libxml\libxml2-2.1.1
#XMLDIR=
!error modify makefile.wat to include the path to the XML library
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include;-I$(XMLDIR)\libxml2-2.1.1
!include $(WXDIR)\src\makewat.env
WXXMLLIB = $(WXDIR)\lib\wxxrc.lib
THISDIR = $(WXDIR)\contrib\src\xrc
LIBTARGET = $(WXDIR)\lib\wxxrc_w.lib
NAME = wxxrc
LNK = $(name).lnk
OBJECTS=xml.obj xmlres.obj xmlrsall.obj &
xh_bttn.obj xh_chckb.obj xh_chckl.obj xh_choic.obj xh_combo.obj xh_dlg.obj &
xh_gauge.obj xh_html.obj xh_menu.obj xh_notbk.obj xh_panel.obj xh_radbt.obj &
xh_radbx.obj xh_sizer.obj xh_slidr.obj xh_spin.obj xh_stbmp.obj xh_sttxt.obj &
xh_text.obj xh_listb.obj xh_toolb.obj xh_stlin.obj xh_bmp.obj &
xh_bmpbt.obj xh_cald.obj xh_listc.obj xh_scrol.obj xh_stbox.obj &
xh_tree.obj xh_unkwn.obj xh_frame.obj xh_scwin.obj xh_split.obj
all: $(WXXMLLIB)
$(WXXMLLIB): $(OBJECTS)
*wlib /b /c /n /P=256 $(WXXMLLIB) $(OBJECTS)
clean: .SYMBOLIC
-erase *.obj *.bak *.err *.pch $(WXXMLLIB) *.lbc
OBJECTS=&
$(OUTPUTDIR)\xml.obj &
$(OUTPUTDIR)\xmlres.obj &
$(OUTPUTDIR)\xmlrsall.obj &
$(OUTPUTDIR)\xh_bttn.obj &
$(OUTPUTDIR)\xh_chckb.obj &
$(OUTPUTDIR)\xh_chckl.obj &
$(OUTPUTDIR)\xh_choic.obj &
$(OUTPUTDIR)\xh_combo.obj &
$(OUTPUTDIR)\xh_dlg.obj &
$(OUTPUTDIR)\xh_gauge.obj &
$(OUTPUTDIR)\xh_html.obj &
$(OUTPUTDIR)\xh_menu.obj &
$(OUTPUTDIR)\xh_notbk.obj &
$(OUTPUTDIR)\xh_panel.obj &
$(OUTPUTDIR)\xh_radbt.obj &
$(OUTPUTDIR)\xh_radbx.obj &
$(OUTPUTDIR)\xh_sizer.obj &
$(OUTPUTDIR)\xh_slidr.obj &
$(OUTPUTDIR)\xh_spin.obj &
$(OUTPUTDIR)\xh_stbmp.obj &
$(OUTPUTDIR)\xh_sttxt.obj &
$(OUTPUTDIR)\xh_text.obj &
$(OUTPUTDIR)\xh_listb.obj&
$(OUTPUTDIR)\xh_toolb.obj &
$(OUTPUTDIR)\xh_stlin.obj &
$(OUTPUTDIR)\xh_bmp.obj &
$(OUTPUTDIR)\xh_bmpbt.obj &
$(OUTPUTDIR)\xh_cald.obj &
$(OUTPUTDIR)\xh_listc.obj &
$(OUTPUTDIR)\xh_scrol.obj &
$(OUTPUTDIR)\xh_stbox.obj &
$(OUTPUTDIR)\xh_tree.obj &
$(OUTPUTDIR)\xh_unkwn.obj &
$(OUTPUTDIR)\xh_frame.obj &
$(OUTPUTDIR)\xh_scwin.obj &
$(OUTPUTDIR)\xh_split.obj
!include $(WXDIR)\src\makelib.wat

View File

@ -4,10 +4,17 @@
#
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\utils\convertrc
PROGRAM = wxconvert
EXTRALIBS = $(WXDIR)\lib\wxxrc.lib $(WXDIR)\lib\wxdeprecated.lib
OBJECTS=convert.obj rc2xml.obj rc2wxr.obj wxr2xml.obj
EXTRALIBS = $(WXDIR)\lib\wxxrc_w.lib $(WXDIR)\lib\wxdeprecated_w.lib
OBJECTS=&
$(OUTPUTDIR)\convert.obj &
$(OUTPUTDIR)\rc2xml.obj &
$(OUTPUTDIR)\rc2wxr.obj &
$(OUTPUTDIR)\wxr2xml.obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -4,10 +4,12 @@
#
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\utils\wxrc
PROGRAM = wxrc
EXTRALIBS = $(WXDIR)\lib\wxxrc.lib
OBJECTS = $(PROGRAM).obj
EXTRALIBS = $(WXDIR)\lib\wxxrc_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -4,10 +4,22 @@
#
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\utils\wxrcedit
PROGRAM = wxrcedit
EXTRALIBS = $(WXDIR)\lib\wxxrc.lib
OBJECTS=edapp.obj editor.obj nodehnd.obj xmlhelpr.obj preview.obj nodesdb.obj pe_basic.obj pe_adv.obj propedit.obj propframe.obj splittree.obj
EXTRALIBS = $(WXDIR)\lib\wxxrc_w.lib
OBJECTS=$(OUTPUTDIR)\edapp.obj &
$(OUTPUTDIR)\editor.obj &
$(OUTPUTDIR)\nodehnd.obj &
$(OUTPUTDIR)\xmlhelpr.obj &
$(OUTPUTDIR)\preview.obj &
$(OUTPUTDIR)\nodesdb.obj &
$(OUTPUTDIR)\pe_basic.obj &
$(OUTPUTDIR)\pe_adv.obj &
$(OUTPUTDIR)\propedit.obj &
$(OUTPUTDIR)\propframe.obj &
$(OUTPUTDIR)\splittree.obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -5,6 +5,7 @@
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#! Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
@ -90,6 +91,7 @@ GENERICOBJS= #$ ExpandGlue("WXGENERICOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTD
NONESSENTIALOBJS= #$ ExpandGlue("WXNONESSENTIALOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
COMMONOBJS = &
$(OUTPUTDIR)\y_tab.obj &
#$ ExpandGlue("WXCOMMONOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
MSWOBJS = #$ ExpandGlue("WXMSWOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
@ -110,7 +112,8 @@ $(ARCHINCDIR)\wx:
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h $(ARCHINCDIR)\wx
$(SETUP_H): $(ARCHINCDIR)\wx
if not exist $(WXDIR)\include\wx\msw\setup.h copy $(WXDIR)\include\wx\msw\setup0.h $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
LBCFILE=wx$(TOOLKIT).lbc
@ -182,6 +185,15 @@ cleanall: clean
}
#$}
$(OUTPUTDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
*$(CC) $(CFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c
$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)

View File

@ -398,6 +398,9 @@ private:
DECLARE_NO_COPY_CLASS(SelectInHDC)
};
#ifdef __WATCOM__
//FIXME why does watcom dislike this ?? CE 05 April 2003
// when working with global pointers (which is unfortunately still necessary
// sometimes, e.g. for clipboard) it is important to unlock them exactly as
// many times as we lock them which just asks for using a "smart lock" class
@ -437,6 +440,7 @@ private:
DECLARE_NO_COPY_CLASS(GlobalHandle)
};
#endif //__WATCOM__
// ---------------------------------------------------------------------------
// macros to make casting between WXFOO and FOO a bit easier: the GetFoo()
// returns Foo cast to the Windows type for oruselves, while GetFooOf() takes

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = arttest
OBJECTS = $(PROGRAM).obj artbrows.obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = artprov
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for calendar example (Watcom)
# Created: 2000-01-03
WXDIR = $(%WXWIN)
PROGRAM = calendar
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = calendar
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = caret
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = caret
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = checklst
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = checklst
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = conftest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = config
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,9 +1,13 @@
wxUSE_GUI = 0
OUTPUTDIR = Watcom\
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
wxUSE_GUI=0
#
PROGRAM = console
OBJECTS = $(OUTPUTDIR)$(PROGRAM).obj
!include $(%WXWIN)\src\makeprog.wat
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = controls
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = controls
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = dbtest
OBJECTS = $(PROGRAM).obj listdb.obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = db
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = dialogs
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = dialogs
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = dnd
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = dnd
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = docview
OBJECTS = $(PROGRAM).obj view.obj doc.obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = docview
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = docview
OBJECTS = $(PROGRAM).obj view.obj doc.obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = docvwmdi
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for dragimag example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = dragimag
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = dragimag
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = drawing
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = drawing
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = erase
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = erase
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for event example (Watcom)
# Created: 2001-01-31
WXDIR = $(%WXWIN)
PROGRAM = event
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = event
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for exec example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = exec
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = exec
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = font
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = font
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,13 +1,12 @@
#
# Makefile for WATCOM
#
#
WXDIR = $(%WXWIN)
PROGRAM = griddemo
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = grid
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = demo
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = help
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = about
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = about
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = help
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = help
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = helpview
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = helpview
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = printing
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = printing
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = test
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = test
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = virtual
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = virtual
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = widget
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = widget
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = zip
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = zip
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = image
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = image
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = internat
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = internat
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -8,7 +8,7 @@
WXDIR = $(%WXWIN)
PROGRAM = client
OBJECTS = $(PROGRAM).obj
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -8,7 +8,7 @@
WXDIR = $(%WXWIN)
PROGRAM = server
OBJECTS = $(PROGRAM).obj
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for joytest example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = joytest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = joytest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = keyboard
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = keyboard
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = layout
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = layout
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = listtest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = listtest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = mdi
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = mdi
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = memcheck
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = memcheck
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = menu
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = menu
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,47 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = ..\..
!include $(WXDIR)\src\makewat.env
WXLIB = $(WXDIR)\lib
NAME = hello
LNK = $(name).lnk
OBJS = $(name).obj
# Required for multi-threaded MFC apps
EXTRACPPFLAGS = -bm -oaxt-zp4-ei-xs-zo-w3-bm-bt=nt -d_WINDOWS -d_MBCS
refmain = _wstart2_
PRECOMP=
all: $(name).exe
$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib
wlink @$(LNK)
$(BINDCOMMAND) -d_MBCS $(name).res
$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc
$(RC) $(RESFLAGS1) $(name).rc
$(LNK) : makefile.wat
%create $(LNK)
@%append $(LNK) debug all
@%append $(LNK) system $(LINKOPTION)
@%append $(LNK) $(MINDATA)
@%append $(LNK) $(MAXDATA)
@%append $(LNK) $(STACK)
@%append $(LNK) name $(name)
@%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib
@for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i
@for %i in ($(OBJS)) do @%append $(LNK) file %i
clean: .SYMBOLIC
-erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe *.rex
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = mfc
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for minifram example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = minifram
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = minifram
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
OUTPUTDIR = Watcom\
PROGRAM = minimal
OBJECTS = $(OUTPUTDIR)$(PROGRAM).obj
!include $(%WXWIN)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = minimal
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = nativdlg
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = nativdlg
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for notebook example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = notebook
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = notebook
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = oleauto
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = oleauto
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = ownerdrw
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = ownerdrw
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = pngdemo
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = png
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = printing
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = printing
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for propsize example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = propsize
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = propsize
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = regtest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = regtest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -0,0 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = resource
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = rotate
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = rotate
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for sashtest example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = sashtest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = sashtest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = scroll
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = scroll
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = scrollsub
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = scrollsub
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -8,7 +8,7 @@
WXDIR = $(%WXWIN)
PROGRAM = client
OBJECTS = $(PROGRAM).obj
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -8,7 +8,7 @@
WXDIR = $(%WXWIN)
PROGRAM = server
OBJECTS = $(PROGRAM).obj
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for splitter example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = splitter
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = splitter
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for statbar example (Watcom)
# Created: 2000-02-04
WXDIR = $(%WXWIN)
PROGRAM = statbar
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = statbar
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,17 +1,13 @@
#
# Makefile for WATCOM
#
# Purpose: makefile for SVG example (Watcom)
# Created 2000-07-28
WXDIR = $(WXWIN)
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\samples\stc
OUTPUTDIR = $(THISDIR)\
PROGRAM = stctest
EXTRALIBS = $(WXDIR)\lib\stc.lib
OBJECTS = $(PROGRAM).obj
EXTRALIBS = $(WXDIR)\lib\stc_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,17 +1,13 @@
#
# Makefile for WATCOM
#
# Purpose: makefile for SVG example (Watcom)
# Created 2000-07-28
WXDIR = $(%WXWIN)
EXTRACPPFLAGS = -I$(WXDIR)\contrib\include
THISDIR = $(WXDIR)\contrib\samples\svg
OUTPUTDIR = $(THISDIR)\
PROGRAM = svgtest
EXTRALIBS = $(WXDIR)\lib\svg.lib
OBJECTS = $(PROGRAM).obj
EXTRALIBS = $(WXDIR)\lib\svg_w.lib
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for tab example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = tab
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = tab
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = tbtest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = taskbar
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = text
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = text
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for thread example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = thread
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = thread
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for toolbar example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = toolbar
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = toolbar
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for treectrl example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = treetest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = treetest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for typetest example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = typetest
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = typetest
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for validate example (Watcom)
# Created: 2000-03-14
WXDIR = $(%WXWIN)
PROGRAM = validate
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = validate
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,15 +1,12 @@
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
WXDIR = $(%WXWIN)
PROGRAM = widgets
OBJECTS = $(PROGRAM).obj button.obj combobox.obj gauge.obj listbox.obj notebook.obj radiobox.obj slider.obj spinbtn.obj static.obj textctrl.obj
!include $(WXDIR)\src\makeprog.wat
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = widgets
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -1,11 +1,12 @@
# Purpose: makefile for wizard example (Watcom)
# Created: 2000-03-15
WXDIR = $(%WXWIN)
PROGRAM = wizard
OBJECTS = $(PROGRAM).obj
!include $(WXDIR)\src\makeprog.wat
#
# Makefile for WATCOM
#
# Created by Julian Smart, January 1999
#
#
#
#
PROGRAM = wizard
OBJECTS = $(OUTPUTDIR)\$(PROGRAM).obj
#
!include $(%WXWIN)\src\makeprog.wat

View File

@ -3,6 +3,7 @@
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
# Makefile : Builds JPEG library for Watcom C++, WIN32
@ -17,58 +18,58 @@ LIBTARGET = $(WXLIB)\jpeg$(WATCOM_SUFFIX).lib
# library object files common to compression and decompression
COMOBJECTS = &
$(OUTPUTDIR)jcomapi.obj &
$(OUTPUTDIR)jutils.obj &
$(OUTPUTDIR)jerror.obj &
$(OUTPUTDIR)jmemmgr.obj &
$(OUTPUTDIR)jmemnobs.obj
$(OUTPUTDIR)\jcomapi.obj &
$(OUTPUTDIR)\jutils.obj &
$(OUTPUTDIR)\jerror.obj &
$(OUTPUTDIR)\jmemmgr.obj &
$(OUTPUTDIR)\jmemnobs.obj
# compression library object files
CLIBOBJECTS = &
$(OUTPUTDIR)jcapimin.obj &
$(OUTPUTDIR)jcapistd.obj &
$(OUTPUTDIR)jctrans.obj &
$(OUTPUTDIR)jcparam.obj &
$(OUTPUTDIR)jdatadst.obj &
$(OUTPUTDIR)jcinit.obj &
$(OUTPUTDIR)jcmaster.obj &
$(OUTPUTDIR)jcmarker.obj &
$(OUTPUTDIR)jcmainct.obj &
$(OUTPUTDIR)jcprepct.obj &
$(OUTPUTDIR)jccoefct.obj &
$(OUTPUTDIR)jccolor.obj &
$(OUTPUTDIR)jcsample.obj &
$(OUTPUTDIR)jchuff.obj &
$(OUTPUTDIR)jcphuff.obj &
$(OUTPUTDIR)jcdctmgr.obj &
$(OUTPUTDIR)jfdctfst.obj &
$(OUTPUTDIR)jfdctflt.obj &
$(OUTPUTDIR)jfdctint.obj
$(OUTPUTDIR)\jcapimin.obj &
$(OUTPUTDIR)\jcapistd.obj &
$(OUTPUTDIR)\jctrans.obj &
$(OUTPUTDIR)\jcparam.obj &
$(OUTPUTDIR)\jdatadst.obj &
$(OUTPUTDIR)\jcinit.obj &
$(OUTPUTDIR)\jcmaster.obj &
$(OUTPUTDIR)\jcmarker.obj &
$(OUTPUTDIR)\jcmainct.obj &
$(OUTPUTDIR)\jcprepct.obj &
$(OUTPUTDIR)\jccoefct.obj &
$(OUTPUTDIR)\jccolor.obj &
$(OUTPUTDIR)\jcsample.obj &
$(OUTPUTDIR)\jchuff.obj &
$(OUTPUTDIR)\jcphuff.obj &
$(OUTPUTDIR)\jcdctmgr.obj &
$(OUTPUTDIR)\jfdctfst.obj &
$(OUTPUTDIR)\jfdctflt.obj &
$(OUTPUTDIR)\jfdctint.obj
# decompression library object files
DLIBOBJECTS = &
$(OUTPUTDIR)jdapimin.obj &
$(OUTPUTDIR)jdapistd.obj &
$(OUTPUTDIR)jdtrans.obj &
$(OUTPUTDIR)jdatasrc.obj &
$(OUTPUTDIR)jdmaster.obj &
$(OUTPUTDIR)jdinput.obj &
$(OUTPUTDIR)jdmarker.obj &
$(OUTPUTDIR)jdhuff.obj &
$(OUTPUTDIR)jdphuff.obj &
$(OUTPUTDIR)jdmainct.obj &
$(OUTPUTDIR)jdcoefct.obj &
$(OUTPUTDIR)jdpostct.obj &
$(OUTPUTDIR)jddctmgr.obj &
$(OUTPUTDIR)jidctfst.obj &
$(OUTPUTDIR)jidctflt.obj &
$(OUTPUTDIR)jidctint.obj &
$(OUTPUTDIR)jidctred.obj &
$(OUTPUTDIR)jdsample.obj &
$(OUTPUTDIR)jdcolor.obj &
$(OUTPUTDIR)jquant1.obj &
$(OUTPUTDIR)jquant2.obj &
$(OUTPUTDIR)jdmerge.obj
$(OUTPUTDIR)\jdapimin.obj &
$(OUTPUTDIR)\jdapistd.obj &
$(OUTPUTDIR)\jdtrans.obj &
$(OUTPUTDIR)\jdatasrc.obj &
$(OUTPUTDIR)\jdmaster.obj &
$(OUTPUTDIR)\jdinput.obj &
$(OUTPUTDIR)\jdmarker.obj &
$(OUTPUTDIR)\jdhuff.obj &
$(OUTPUTDIR)\jdphuff.obj &
$(OUTPUTDIR)\jdmainct.obj &
$(OUTPUTDIR)\jdcoefct.obj &
$(OUTPUTDIR)\jdpostct.obj &
$(OUTPUTDIR)\jddctmgr.obj &
$(OUTPUTDIR)\jidctfst.obj &
$(OUTPUTDIR)\jidctflt.obj &
$(OUTPUTDIR)\jidctint.obj &
$(OUTPUTDIR)\jidctred.obj &
$(OUTPUTDIR)\jdsample.obj &
$(OUTPUTDIR)\jdcolor.obj &
$(OUTPUTDIR)\jquant1.obj &
$(OUTPUTDIR)\jquant2.obj &
$(OUTPUTDIR)\jdmerge.obj
# These objectfiles are included in libjpeg.lib
OBJECTS = $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
@ -78,18 +79,18 @@ all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
LBCFILE=$(OUTPUTDIR)jpeg.lbc
LBCFILE=$(OUTPUTDIR)\jpeg.lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
clean: .SYMBOLIC
-erase $(OUTPUTDIR)*.obj
-erase $(OUTPUTDIR)\*.obj
-erase $(LIBTARGET)
-erase $(OUTPUTDIR)*.pch
-erase $(OUTPUTDIR)*.err
-erase $(OUTPUTDIR)*.lbc
-erase $(OUTPUTDIR)\*.pch
-erase $(OUTPUTDIR)\*.err
-erase $(OUTPUTDIR)\*.lbc
cleanall: clean

View File

@ -1,26 +1,57 @@
#
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
<<<<<<< makelib.wat
THISDIR = $+ $(%cdrive):$(%cwd) $-
# set OUTPUTDIR to the directory to be used for the .obj files created during
# the build (under $THISDIR)
!ifndef OUTPUTDIR
OUTPUTDIR=$(THISDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
# no trailing slash for win98
!endif
=======
OUTPUTDIR= $+ $(%cdrive):$(%cwd)\WATCOM $-
>>>>>>> 1.1.8.2
!include $(WXDIR)\src\makewat.env
<<<<<<< makelib.wat
all: $(OUTPUTDIR) $(LIBTARGET)
all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
=======
>>>>>>> 1.1.8.2
<<<<<<< makelib.wat
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
=======
all: MAKDIR $(LIBTARGET) .SYMBOLIC
>>>>>>> 1.1.8.2
<<<<<<< makelib.wat
=======
MAKDIR: .SYMBOLIC
@if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
>>>>>>> 1.1.8.2
# the name of the file containing the objects to be put in the library
LBCFILE=$(OUTPUTDIR)$(LIBTARGET).lbc
LBCFILE=$(LIBTARGET).lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
$(LIB) /b /c /n /p=512 $^@ @$(LBCFILE)
clean: .SYMBOLIC
-erase $(OUTPUTDIR)*.obj
-erase $(OUTPUTDIR)*.bak
-erase $(OUTPUTDIR)*.err
-erase $(OUTPUTDIR)*.pch
-erase $(OUTPUTDIR)*.lib
-erase $(OUTPUTDIR)*.lbc
-erase $(OUTPUTDIR)*.res
-erase $(OUTPUTDIR)*.exe
-erase $(OUTPUTDIR)*.lbc
-erase $(OUTPUTDIR)\*.obj
-erase $(OUTPUTDIR)\*.bak
-erase $(OUTPUTDIR)\*.err
-erase $(OUTPUTDIR)\*.pch
-erase $(OUTPUTDIR)\*.lib
-erase $(OUTPUTDIR)\*.lbc
-erase $(OUTPUTDIR)\*.res
-erase $(OUTPUTDIR)\*.exe
-erase $(OUTPUTDIR)\*.lbc
-erase $(LIBTARGET)

View File

@ -1,22 +1,36 @@
#
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
# $+ .. $- means we get the result directly
THISDIR = $+ $(%cdrive):$(%cwd) $-
WXDIR = $(%WXWIN)
!ifndef EXEDIR
OUTPUTDIR = $(THISDIR)\Watcom
!else
OUTPUTDIR = $(THISDIR)\$(EXEDIR)
!ifeq EXEDIR "."
OUTPUTDIR = $(THISDIR)
!endif
!endif
!include $(WXDIR)\src\makewat.env
WXLIB = $(WXDIR)\lib
LNK = $(OUTPUTDIR)$(PROGRAM).lnk
LNK = $(OUTPUTDIR)\$(PROGRAM).lnk
all: $(OUTPUTDIR) $(OUTPUTDIR)$(PROGRAM).exe $(EXTRATARGETS) .SYMBOLIC
all: MAKEDIR $(OUTPUTDIR)\$(PROGRAM).exe $(EXTRATARGETS) .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
MAKEDIR: .SYMBOLIC
@if not exist $(OUTPUTDIR) mkdir $(OUTPUTDIR)
!ifeq wxUSE_GUI 0
RESFILE=
!else
RESFILE=$(OUTPUTDIR)$(PROGRAM).res
RESFILE=$(OUTPUTDIR)\$(PROGRAM).res
!endif
$(OUTPUTDIR)$(PROGRAM).exe : $(OBJECTS) $(RESFILE) $(LNK) $(WXLIB)\$(LIBNAME).lib
$(OUTPUTDIR)\$(PROGRAM).exe : $(OBJECTS) $(RESFILE) $(LNK) $(WXLIB)\$(LIBNAME).lib
wlink @$(LNK)
!ifneq wxUSE_GUI 0
$(BINDCOMMAND) $(RESFILE)
@ -27,26 +41,26 @@ $(RESFILE): $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
$(RC) $(RESFLAGS) /fo=$(RESFILE) $(PROGRAM).rc
!endif
$(LNK) : makefile.wat
$(LNK) : .SYMBOLIC
%create $(LNK)
@%append $(LNK) $(LDFLAGS)
@%append $(LNK) $(DEBUGINFO)
@%append $(LNK) system $(LINKSYSTEM)
@%append $(LNK) $(STACK)
@%append $(LNK) name $(OUTPUTDIR)$(PROGRAM).exe
@%append $(LNK) name $(OUTPUTDIR)\$(PROGRAM).exe
@for %i in ($(OBJECTS)) do @%append $(LNK) file %i
@for %i in ($(LIBS)) do @%append $(LNK) lib %i
@for %i in ($(EXTRALIBS)) do @%append $(LNK) lib %i
clean: .SYMBOLIC
-erase $(OUTPUTDIR)*.obj
-erase $(OUTPUTDIR)*.bak
-erase $(OUTPUTDIR)*.err
-erase $(OUTPUTDIR)*.pch
-erase $(OUTPUTDIR)*.lib
-erase $(OUTPUTDIR)\*.obj
-erase $(OUTPUTDIR)\*.bak
-erase $(OUTPUTDIR)\*.err
-erase $(OUTPUTDIR)\*.pch
-erase $(OUTPUTDIR)\*.lib
-erase $(LNK)
-erase $(OUTPUTDIR)*.res
-erase $(OUTPUTDIR)*.exe
-erase $(OUTPUTDIR)*.lbc
-erase $(OUTPUTDIR)\*.res
-erase $(OUTPUTDIR)\*.exe
-erase $(OUTPUTDIR)\*.lbc
-rmdir $(OUTPUTDIR)

View File

@ -3,6 +3,7 @@
# Purpose: Watcom environments for wxWindows makefiles.
# Author: Julian Smart and others
# Version: $Id$
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
###############################################################################
# The following environment variables must be set:
@ -33,8 +34,6 @@ WATCOM_SUFFIX=_w
WINVERFLAGS = /dWINVER=0x400 /d_WIN32_IE=0x0300
# optimize for space/time: /os or /ot
#
# NB: at least with OpenWatcom 1.0 using /ox leads to buggy code, don't use it
!ifeq FINAL 1
OPTFLAGS=/oails /5r
!else
@ -111,11 +110,12 @@ LIBPAGESIZE=/p=2048
# set OUTPUTDIR to the directory to be used for the .obj files created during
# the build (under $WXWIN)
!ifndef OUTPUTDIR
OUTPUTDIR=$(WXDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom\
OUTPUTDIR=$(WXDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
# no trailing slash for win98
!endif
!ifneq NOPRECOMP 1
PRECOMP = /fh=$(OUTPUTDIR)watcom.pch
PRECOMP = /fh=$(OUTPUTDIR)\watcom.pch
!endif
# the basename of the library
@ -153,7 +153,7 @@ RESFLAGS = -q -r -bt=nt /i$(WXDIR)\include /i$(WXDIR)\contrib\include $(WINVE
# NB: /bm switch is needed for thread-safe runtime, if you don't use
# wxThread you may remove it
CPPFLAGS = /dWIN32 /bm /fo=$(OUTPUTDIR) /fr /zq $(IFLAGS) $(OPTFLAGS) $(WINVERFLAGS) $(EXTRACPPFLAGS)
CPPFLAGS = /dWIN32 /bm /fo=$(OUTPUTDIR)\ /fr /zq $(IFLAGS) $(OPTFLAGS) $(WINVERFLAGS) $(EXTRACPPFLAGS)
!ifeq wxUSE_GUI 0
CPPFLAGS += /dwxUSE_GUI=0
!endif
@ -173,4 +173,5 @@ LDFLAGS = option eliminate, vfremoval
defaulttarget: all .SYMBOLIC
erasepch: .SYMBOLIC
-erase $(OUTPUTDIR)watcom.pch
-erase $(OUTPUTDIR)\watcom.pch

View File

@ -354,7 +354,8 @@ $(ARCHINCDIR)\wx:
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h $(ARCHINCDIR)\wx
$(SETUP_H): $(ARCHINCDIR)\wx
if not exist $(WXDIR)\include\wx\msw\setup.h copy $(WXDIR)\include\wx\msw\setup0.h $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
LBCFILE=wx$(TOOLKIT).lbc

View File

@ -3,12 +3,12 @@
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
# Makefile : Builds PNG library for Watcom C++, WIN32
WXDIR = ..\..
EXTRACPPFLAGS=-i=..\zlib
OUTPUTDIR=Watcom\
!include $(WXDIR)\src\makewat.env
@ -17,39 +17,39 @@ WXLIB = $(WXDIR)\lib
LIBTARGET = $(WXLIB)\png$(WATCOM_SUFFIX).lib
OBJECTS = &
$(OUTPUTDIR)png.obj &
$(OUTPUTDIR)pngread.obj &
$(OUTPUTDIR)pngrtran.obj &
$(OUTPUTDIR)pngrutil.obj &
$(OUTPUTDIR)pngpread.obj &
$(OUTPUTDIR)pngtrans.obj &
$(OUTPUTDIR)pngwrite.obj &
$(OUTPUTDIR)pngwtran.obj &
$(OUTPUTDIR)pngwutil.obj &
$(OUTPUTDIR)pngerror.obj &
$(OUTPUTDIR)pngmem.obj &
$(OUTPUTDIR)pngwio.obj &
$(OUTPUTDIR)pngrio.obj &
$(OUTPUTDIR)pngget.obj &
$(OUTPUTDIR)pngset.obj
$(OUTPUTDIR)\png.obj &
$(OUTPUTDIR)\pngread.obj &
$(OUTPUTDIR)\pngrtran.obj &
$(OUTPUTDIR)\pngrutil.obj &
$(OUTPUTDIR)\pngpread.obj &
$(OUTPUTDIR)\pngtrans.obj &
$(OUTPUTDIR)\pngwrite.obj &
$(OUTPUTDIR)\pngwtran.obj &
$(OUTPUTDIR)\pngwutil.obj &
$(OUTPUTDIR)\pngerror.obj &
$(OUTPUTDIR)\pngmem.obj &
$(OUTPUTDIR)\pngwio.obj &
$(OUTPUTDIR)\pngrio.obj &
$(OUTPUTDIR)\pngget.obj &
$(OUTPUTDIR)\pngset.obj
all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
LBCFILE=$(OUTPUTDIR)png.lbc
LBCFILE=$(OUTPUTDIR)\png.lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
clean: .SYMBOLIC
-erase $(OUTPUTDIR)*.obj
-erase $(OUTPUTDIR)\*.obj
-erase $(LIBTARGET)
-erase $(OUTPUTDIR)*.pch
-erase $(OUTPUTDIR)*.err
-erase $(OUTPUTDIR)*.lbc
-erase $(OUTPUTDIR)\*.pch
-erase $(OUTPUTDIR)\*.err
-erase $(OUTPUTDIR)\*.lbc
cleanall: clean

View File

@ -3,14 +3,13 @@
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
# Makefile : Builds REGEX library for Watcom C++, WIN32
WXDIR = ..\..
EXTRACPPFLAGS=-DPOSIX_MISTAKE
OUTPUTDIR=watcom\
!include $(WXDIR)\src\makewat.env
WXLIB = $(WXDIR)\lib
@ -18,17 +17,17 @@ WXLIB = $(WXDIR)\lib
LIBTARGET = $(WXLIB)\regex$(WATCOM_SUFFIX).lib
OBJECTS = &
$(OUTPUTDIR)regcomp.obj &
$(OUTPUTDIR)regexec.obj &
$(OUTPUTDIR)regerror.obj &
$(OUTPUTDIR)regfree.obj
$(OUTPUTDIR)\regcomp.obj &
$(OUTPUTDIR)\regexec.obj &
$(OUTPUTDIR)\regerror.obj &
$(OUTPUTDIR)\regfree.obj
all: $(OUTPUTDIR) $(LIBTARGET) .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
LBCFILE=$(OUTPUTDIR)regex.lbc
LBCFILE=$(OUTPUTDIR)\regex.lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i

View File

@ -10,7 +10,7 @@ EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS)
!include $(WXDIR)\src\makewat.env
STCLIB = $(WXDIR)\lib\stc.lib
STCLIB = $(WXDIR)\lib\stc_w.lib
THISDIR = $(WXDIR)\contrib\src\stc
OUTPUTDIR = $(THISDIR)\

View File

@ -3,6 +3,7 @@
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
#
# Makefile : Builds TIFF library for Watcom C++, WIN32
# This makefile has to rename files because apparently Watcom C++
@ -31,42 +32,42 @@ LIBTARGET = $(WXLIB)\tiff$(WATCOM_SUFFIX).lib
OBJECTS= &
!ifeq RENAME 1
$(OUTPUTDIR)_aux.obj &
$(OUTPUTDIR)\_aux.obj &
!else
$(OUTPUTDIR)tif_aux.obj &
$(OUTPUTDIR)\tif_aux.obj &
!endif
$(OUTPUTDIR)$(TIFF)close.obj &
$(OUTPUTDIR)$(TIFF)codec.obj &
$(OUTPUTDIR)$(TIFF)compress.obj &
$(OUTPUTDIR)$(TIFF)dir.obj &
$(OUTPUTDIR)$(TIFF)dirinfo.obj &
$(OUTPUTDIR)$(TIFF)dirread.obj &
$(OUTPUTDIR)$(TIFF)dirwrite.obj &
$(OUTPUTDIR)$(TIFF)dumpmode.obj &
$(OUTPUTDIR)$(TIFF)error.obj &
$(OUTPUTDIR)$(TIFF)fax3.obj &
$(OUTPUTDIR)$(TIFF)fax3sm.obj &
$(OUTPUTDIR)$(TIFF)flush.obj &
$(OUTPUTDIR)$(TIFF)getimage.obj &
$(OUTPUTDIR)$(TIFF)jpeg.obj &
$(OUTPUTDIR)$(TIFF)luv.obj &
$(OUTPUTDIR)$(TIFF)lzw.obj &
$(OUTPUTDIR)$(TIFF)next.obj &
$(OUTPUTDIR)$(TIFF)open.obj &
$(OUTPUTDIR)$(TIFF)packbits.obj &
$(OUTPUTDIR)$(TIFF)pixarlog.obj &
$(OUTPUTDIR)$(TIFF)predict.obj &
$(OUTPUTDIR)$(TIFF)print.obj &
$(OUTPUTDIR)$(TIFF)read.obj &
$(OUTPUTDIR)$(TIFF)strip.obj &
$(OUTPUTDIR)$(TIFF)swab.obj &
$(OUTPUTDIR)$(TIFF)thunder.obj &
$(OUTPUTDIR)$(TIFF)tile.obj &
$(OUTPUTDIR)$(TIFF)version.obj &
$(OUTPUTDIR)$(TIFF)warning.obj &
$(OUTPUTDIR)$(TIFF)win32.obj &
$(OUTPUTDIR)$(TIFF)write.obj &
$(OUTPUTDIR)$(TIFF)zip.obj
$(OUTPUTDIR)\$(TIFF)close.obj &
$(OUTPUTDIR)\$(TIFF)codec.obj &
$(OUTPUTDIR)\$(TIFF)compress.obj &
$(OUTPUTDIR)\$(TIFF)dir.obj &
$(OUTPUTDIR)\$(TIFF)dirinfo.obj &
$(OUTPUTDIR)\$(TIFF)dirread.obj &
$(OUTPUTDIR)\$(TIFF)dirwrite.obj &
$(OUTPUTDIR)\$(TIFF)dumpmode.obj &
$(OUTPUTDIR)\$(TIFF)error.obj &
$(OUTPUTDIR)\$(TIFF)fax3.obj &
$(OUTPUTDIR)\$(TIFF)fax3sm.obj &
$(OUTPUTDIR)\$(TIFF)flush.obj &
$(OUTPUTDIR)\$(TIFF)getimage.obj &
$(OUTPUTDIR)\$(TIFF)jpeg.obj &
$(OUTPUTDIR)\$(TIFF)luv.obj &
$(OUTPUTDIR)\$(TIFF)lzw.obj &
$(OUTPUTDIR)\$(TIFF)next.obj &
$(OUTPUTDIR)\$(TIFF)open.obj &
$(OUTPUTDIR)\$(TIFF)packbits.obj &
$(OUTPUTDIR)\$(TIFF)pixarlog.obj &
$(OUTPUTDIR)\$(TIFF)predict.obj &
$(OUTPUTDIR)\$(TIFF)print.obj &
$(OUTPUTDIR)\$(TIFF)read.obj &
$(OUTPUTDIR)\$(TIFF)strip.obj &
$(OUTPUTDIR)\$(TIFF)swab.obj &
$(OUTPUTDIR)\$(TIFF)thunder.obj &
$(OUTPUTDIR)\$(TIFF)tile.obj &
$(OUTPUTDIR)\$(TIFF)version.obj &
$(OUTPUTDIR)\$(TIFF)warning.obj &
$(OUTPUTDIR)\$(TIFF)win32.obj &
$(OUTPUTDIR)\$(TIFF)write.obj &
$(OUTPUTDIR)\$(TIFF)zip.obj
all: $(OUTPUTDIR) $(RENAME) $(LIBTARGET) .SYMBOLIC
@ -111,7 +112,7 @@ rename: .SYMBOLIC
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
LBCFILE=$(OUTPUTDIR)tiff.lbc
LBCFILE=$(OUTPUTDIR)\tiff.lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i

Some files were not shown because too many files have changed in this diff Show More