Remove all obsolete release-generation scripts.

Only leave the files which are still used for the daily snapshots generation.

Also remove the obsolete release-making instructions.

See #11610.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-04-12 00:36:52 +00:00
parent 8dd13d0fa1
commit b503bfef1d
189 changed files with 1 additions and 28216 deletions

View File

@@ -1,128 +0,0 @@
# File: makedocs.vc
#
# Author: Julian Smart
# Created: 1997
# Updated:
# Copyright: (c) 1997, Julian Smart
WXDIR=$(WXWIN)
THISDIR=$(WXWIN)\build\script
DOCDIR = $(WXDIR)\docs
WAITFLAG=/w
# Making documents
docs: wxhlp rtf pdfrtf wxhtml htmlhelp htb tex2rtf
alldocs: docs
hlp: wxhlp
wxhlp: $(DOCDIR)/winhelp/wx.hlp
rtf: $(DOCDIR)/latex/wx/wx.rtf
pdfrtf: $(DOCDIR)/pdf/wx.rtf
html: wxhtml
htb: $(DOCDIR)\htb\wx.htb
wxhtml: $(DOCDIR)\html\wx\wx_contents.html
htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
tex2rtf:
cd $(WXWIN)\utils\tex2rtf\docs
nmake -f makefile.vc
cd $(THISDIR)
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
cd $(DOCDIR)/latex/wx
-mkdir $(DOCDIR)\winhelp
-erase wx.ph
hcw /c /e wx
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
move wx.hlp $(DOCDIR)\winhelp\wx.hlp
move wx.cnt $(DOCDIR)\winhelp\wx.cnt
cd $(THISDIR)
$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\pdf
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
cd $(THISDIR)
# This target does two sets of HTML: one using a style sheet, for
# the purposes of the CHM file, and one without.
$(DOCDIR)\html\wx\wx_contents.html: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\html\wx
copy *.gif $(DOCDIR)\html\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
-mkdir $(DOCDIR)\mshtml
-mkdir $(DOCDIR)\mshtml\wx
copy *.gif $(DOCDIR)\mshtml\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini
-erase $(DOCDIR)\html\wx\*.con
-erase $(DOCDIR)\html\wx\*.ref
-erase $(DOCDIR)\latex\wx\*.con
-erase $(DOCDIR)\latex\wx\*.ref
cd $(THISDIR)
$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx.hhp
cd $(DOCDIR)\mshtml\wx
copy $(DOCDIR)\latex\wx\wx.css .
-hhc wx.hhp
-mkdir ..\..\htmlhelp
-erase $(DOCDIR)\htmlhelp\wx.chm
move wx.chm ..\..\htmlhelp
cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
# This can then be used with e.g. helpview.
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx_contents.html
cd $(WXDIR)\docs\html\wx
-erase wx.zip wx.htb
zip wx.zip *.html *.gif *.hhp *.hhc *.hhk
-mkdir $(DOCDIR)\htb
move wx.zip $(DOCDIR)\htb\wx.htb
cd $(THISDIR)
# In order to force document reprocessing
touchmanual:
-touch $(WXDIR)\docs\latex\wx\manual.tex
updatedocs: touchmanual alldocs
cleandocs:
-erase $(DOCDIR)\winhelp\*.hlp
-erase $(DOCDIR)\winhelp\*.cnt
-erase $(DOCDIR)\html\wx\*.html
-erase $(DOCDIR)\mshtml\wx\*.html
-erase $(DOCDIR)\mshtml\wx\*.gif
-erase $(DOCDIR)\mshtml\wx\wx.*
-erase $(DOCDIR)\pdf\wx.rtf
-erase $(DOCDIR)\latex\wx\wx.rtf
-erase $(DOCDIR)\latex\wx\WX.PH
-erase $(DOCDIR)\htmlhelp\wx.chm
-erase $(DOCDIR)\htb\wx.htb
# Only clean the online help, not PDF RTF
cleanonlinehelp:
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
-erase $(DOCDIR)\html\wx\*.html
-erase $(DOCDIR)\latex\wx\wx.rtf
-erase $(DOCDIR)\latex\wx\WX.PH
-erase $(DOCDIR)\latex\wx\wx.hpj
-erase $(DOCDIR)\htmlhelp\wx.chm
-erase $(DOCDIR)\mshtml\wx\*.html
-erase $(DOCDIR)\htb\wx.htb

View File

@@ -1,93 +0,0 @@
rem Uncomment the next line to set the version; used also in wxWidgets.iss
rem SET WXW_VER=2.9.1-rc1
if (%WXW_VER%)==() SET WXW_VER=SVN
echo docs building for %WXW_VER%
rem This builds the docs in %WXWIN% in a number of formats
rem and a clean inno setup in a second tree
rem it uses a number of tools nmake, gnuwin32 zip & dos2unix, ghostscript, MS word, cvsNT
rem cvs is in the path already from CVSNT install
rem writes a log file in c:\
echo Building wxWidgets-%WXW_VER% docs... > c:\temp.log
set WXWIN=c:\wx\wxWidgets
set DAILY=c:\daily
set INNO=c:\wx\inno\wxWidgets
rem svn already in my path...
set PATH=%PATH%;c:\wx\Gnu\bin;c:\progra~1\htmlhe~1;C:\PROGRA~1\INNOSE~1
echo %PATH% >> c:\temp.log
rem add bakefile build...
set PATH=%PATH%;C:\wx\Bakefile
SET >> c:\temp.log
rem update wxwidgets (holds docs) and inno (cvs wxMSW setup.exe only)
c:
cd %WXWIN%
svn cleanup >> c:\temp.log
svn up >> c:\temp.log
rem now inno
cd %INNO% >> c:\temp.log
svn cleanup >> c:\temp.log
svn up >> c:\temp.log
if exist include\wx\msw\setup.h del include\wx\msw\setup.h
if exist include\wx\univ\setup.h del include\wx\univ\setup.h
rem for cygwin these need to be in unix format
del configure
del config.guess
del config.sub
svn up configure
svn up config.guess
svn up config.sub
dos2unix configure
dos2unix config.guess
dos2unix config.sub
copy include\wx\msw\setup0.h include\wx\msw\setup.h
copy include\wx\univ\setup0.h include\wx\univ\setup.h
echo SVN update >> c:\temp.log
rem just build the formats not in the SVN to keep down the .#makefile...
cd %INNO%\build\bakefiles
del .bakefile_gen.state
bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log
rem make and copy chm to inno
rem Now create standalone copies of docs (chm and htb)
cd %WXWIN%\docs\doxygen
del out\html\*.html
del out\html\*.htb
del out\*.chm
call regen chm
cd %WXWIN%\docs\doxygen\out
zip wxWidgets-%WXW_VER%-chm.zip wx.chm
copy wxWidgets-%WXW_VER%-chm.zip %DAILY%
cd html
del *.dot
del *.md5
zip -r wx.htb *.*
zip wxWidgets-%WXW_VER%-htb.zip wx.htb
copy wxWidgets-%WXW_VER%-htb.zip %DAILY%
mkdir %INNO%\docs\htmlhelp
copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm
cd %WXWIN%\build\script
iscc wxwidgets.iss >> c:\temp.log
echo docs built for %WXW_VER%
echo docs built for %WXW_VER% >> c:\temp.log

View File

@@ -1,37 +0,0 @@
' This is saved as word macros; opens a pdf and writes out a ps file using
' laserjet ps driver
' Note that the output dir and hardcoded printer must exist
Sub wx_ps()
swxWIN = Environ("WXWIN")
do_ps swxWIN & "\docs\pdf\", "wx"
do_ps swxWIN & "\utils\tex2rtf\docs", "tex2rtf"
bye_bye
End Sub
Sub do_ps(mydir, myfile)
' wx_ps Macro
' Macro recorded 04/05/2005 by cje2
'
sDAILYIN = Environ("DAILY") & "\in\"
ChangeFileOpenDirectory mydir
Documents.Open FileName:=myfile & ".rtf", ConfirmConversions:=False, ReadOnly:= _
False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:= _
"", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
Format:=wdOpenFormatAuto
ActivePrinter = "\\biolpc22\laserjet"
ActiveDocument.Fields.Update
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
Collate:=True, Background:=False, PrintToFile:=True, PrintZoomColumn:=0, _
PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0, _
OutputFileName:=sDAILYIN & myfile & ".ps", Append:=False
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
End Sub
Sub bye_bye()
Application.Quit SaveChanges:=wdDoNotSaveChanges
End Sub

View File

@@ -1,63 +0,0 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define INNODIR GetENV("INNO")
#if GetEnv("WXW_VER") == "CVS"
#define INFOFILE GetENV("INNO") + "\BuildSVN.txt"
#define WX_VERSION "SVN"
#else
#define INFOFILE GetENV("INNO") + "\docs\msw\install.txt"
#define WX_VERSION GetENV("WXW_VER")
#endif
#define SETUPFILENAME "wxMSW-" + GetENV("WXW_VER") + "-Setup"
[Setup]
AppName=wxWidgets
AppVerName=wxWidgets {#WX_VERSION}
AppPublisher=wxWidgets
AppPublisherURL=http://www.wxwidgets.org
AppSupportURL=http://www.wxwidgets.org
AppUpdatesURL=http://www.wxwidgets.org
DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
DefaultGroupName=wxWidgets {#WX_VERSION}
UsePreviousAppDir=no
DisableProgramGroupPage=yes
LicenseFile={#INNODIR}\docs\licence.txt
InfoBeforeFile={#INNODIR}\docs\readme.txt
InfoAfterFile={#INFOFILE}
OutputDir=c:\daily
OutputBaseFilename={#SETUPFILENAME}
SetupIconFile={#INNODIR}\art\wxwin.ico
Compression=lzma
SolidCompression=yes
[Files]
; source files
Source: "{#INNODIR}\*"; DestDir: "{app}"; Excludes: ".cvsignore,cocoa,dfb,mac,gtk,gtk1,mgl,motif,msdos,os2,palmos,wxWindows.xcod*,x11,contrib,debian,distrib,docs,misc,tests,wxPython,*.pch,*.pch++,*.pchmm"; Flags: ignoreversion recursesubdirs createallsubdirs
; docs and helpfile
Source: "{#INNODIR}\docs\htmlhelp\*"; DestDir: "{app}\docs\htmlhelp\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\licence.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\readme.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\changes.txt"; DestDir: "{app}\docs\"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "{#INNODIR}\docs\msw\install.txt"; DestDir: "{app}\docs\msw"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[INI]
Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
[Icons]
Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets {#WX_VERSION}}"; Filename: "{app}\wx.url"
Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
[UninstallDelete]
Type: files; Name: "{app}\wx.url"

View File

@@ -1,61 +0,0 @@
#! /bin/sh
#-----------------------------------------------------------------------------
#-- Name: distrib/mac/pbsetup-sh
#-- Purpose: Copy setup.h for ProjectBuilder
#-- Author: Gilles Depeyrot
#-- Modified by:
#-- Created: 12.09.2003
#-- RCS-ID: $Id$
#-- Copyright: (c) 2003 Gilles Depeyrot
#-- Licence: wxWindows licence
#-----------------------------------------------------------------------------
#
# Usage: $0 SRCROOT SYMROOT
#
# Display errors/warnings in the correct format for ProjectBuilder parsing
#
if [ $# -ne 2 ] ; then
echo "${0}:${LINENO}: error: Usage: ${0} SRCROOT SYMROOT"
exit 1
fi
#
# Create wx include directory if necessary
#
if [ ! -d "${2}/include/wx" ]; then
mkdir -p "${2}/include/wx"
if [ ! -d "${2}/include/wx" ] ; then
echo "${0}:${LINENO}: error: unable to create directory \"${2}/include/wx\""
exit 1
fi
fi
#
# Copy stock setup0.h to setup.h if it doesn't exist
# preserve user modifications made to setup.h
#
if [ ! -f "${1}/../include/wx/osx/setup.h" ]; then
echo "${0}:${LINENO}: warning: copying \"include/wx/osx/setup0.h\" to \"include/wx/osx/setup.h\""
echo "${0}:${LINENO}: warning: edit \"include/wx/osx/setup.h\" to choose the features you would like to compile wxWindows with[out]"
cp "${1}/../include/wx/osx/setup0.h" "${1}/../include/wx/osx/setup.h"
if [ ! -f "${1}/../include/wx/osx/setup.h" ]; then
echo "${0}:${LINENO}: error: unable to create setup file \"${1}/../include/wx/osx/setup.h\""
exit 1
fi
fi
#
# Check that stock setup0.h is not newer than user setup.h
#
if [ "${1}/../include/wx/osx/setup0.h" -nt "${1}/../include/wx/osx/setup.h" ] ; then
echo "${0}:${LINENO}: warning: \"include/wx/osx/setup0.h\" is more recent than \"include/wx/osx/setup.h\""
echo "${0}:${LINENO}: warning: edit or replace \"include/wx/osx/setup.h\" to integrate changes"
fi
#
# Copy user setup.h to build setup.h if the latter doesn't exist or is older
#
if [ ! -f "${2}/include/wx/setup.h" -o \
"${1}/../include/wx/osx/setup.h" -nt "${2}/include/wx/setup.h" ] ; then
cp "${1}/../include/wx/osx/setup.h" "${2}/include/wx/setup.h"
if [ ! -f "${2}/include/wx/setup.h" ] ; then
echo "${0}:${LINENO}: error: unable to create target setup file \"${2}/include/wx/setup.h\""
exit 1
fi
fi

View File

@@ -1,8 +0,0 @@
PATH="/c/Program Files/Bakefile/src":$PATH
cd $WXWIN
# echo "<?xml version=\"1.0\"?><bakefile-gen><enable-formats>msevc4prj,dmars</enable-formats></bakefile-gen>" > build/bakefiles/Bakefiles.local.bkgen
mkdir -p build/wince
cd build/bakefiles
echo $PATH
bakefile_gen

View File

@@ -1,110 +0,0 @@
*.spec
BuildCVS.txt
*.m4
autogen.sh
configure
config.guess
config.sub
configure.in
setup.h.in
install-sh
mkinstalldirs
wx-config.in
wx-config-inplace.in
version-script.in
setup.h_vms
regen
build/msw/config.*
build/msw/makefile.*
src/common/*.cpp
src/common/extended.c
src/common/unzip.c
src/common/unzip.h
src/common/*.inc
src/common/base.rc
src/msdos/*.cpp
src/msw/*.cpp
src/msw/*.h
src/msw/makefile.*
src/msw/makebase.b32
src/msw/makeuniv.b32
src/msw/*.lst
src/msw/*.def
src/msw/*.inc
src/msw/winestub.c
src/msw/gsocket.c
src/msw/gsockmsw.c
src/msw/version.rc
src/msw/ole/*.cpp
src/msw/*.prj
src/msw/wince/*.cpp
src/msw/wince/*.c
src/unix/*.cpp
src/unix/*.c
src/zlib/*.c
src/zlib/*.h
src/zlib/INDEX
src/zlib/README
src/zlib/ChangeLog
src/zlib/configure
src/zlib/*.txt
src/zlib/makefile*
src/zlib/*.com
src/zlib/*.3
src/regex/COPYRIGHT
src/regex/makefile*
src/regex/README
src/regex/WHATSNEW
src/regex/mkh
src/regex/*.h
src/regex/*.ih
src/regex/*.c
src/regex/tests
src/regex/regex.3
src/regex/regex.7
include/wx/*.h
include/wx/*.inl
include/wx/*.cpp
include/wx/protocol/*.h
include/wx/wx_setup.vms
include/wx/common/*.h
include/wx/unix/*.h
lib/dummy
include/wx/msw/*.h
include/wx/msw/*.rc
include/wx/msw/wx.manifest
include/wx/msw/ole/*.h
include/wx/msw/*.cur
include/wx/msw/*.ico
include/wx/msw/*.bmp
include/wx/msw/wince/*.h
include/wx/msdos/*.h
samples/console/testdata.fc
samples/console/*.cpp
samples/console/*.h
samples/console/makefile*
samples/console/*.rc
samples/console/*.def
samples/console/*.bmp
samples/console/*.xpm
samples/console/*.xbm
samples/console/*.png
samples/console/*.ico
samples/console/*.txt
samples/console/*.pro
samples/console/*.bkl

View File

@@ -1,3 +0,0 @@
src/bc32.ide
samples/bc32.ide
demos/bc32.ide

View File

@@ -1,5 +0,0 @@
include/wx/cocoa/*.h
src/cocoa/*.cpp
src/cocoa/*.mm
src/cocoa/*.r
docs/cocoa/*.txt

View File

@@ -1,293 +0,0 @@
contrib/build/animate/*.bkl
contrib/build/animate/*.dsw
contrib/build/animate/*.dsp
contrib/build/animate/makefile*
contrib/build/deprecated/*.bkl
contrib/build/deprecated/*.dsw
contrib/build/deprecated/*.dsp
contrib/build/deprecated/makefile*
contrib/build/fl/*.bkl
contrib/build/fl/*.dsw
contrib/build/fl/*.dsp
contrib/build/fl/makefile*
contrib/build/foldbar/*.bkl
contrib/build/foldbar/*.dsw
contrib/build/foldbar/*.dsp
contrib/build/foldbar/makefile*
contrib/build/gizmos/*.bkl
contrib/build/gizmos/*.dsw
contrib/build/gizmos/*.dsp
contrib/build/gizmos/makefile*
contrib/build/mmedia/*.bkl
contrib/build/mmedia/*.dsw
contrib/build/mmedia/*.dsp
contrib/build/mmedia/makefile*
contrib/build/net/*.bkl
contrib/build/net/*.dsw
contrib/build/net/*.dsp
contrib/build/net/makefile*
contrib/build/ogl/*.bkl
contrib/build/ogl/*.dsw
contrib/build/ogl/*.dsp
contrib/build/ogl/makefile*
contrib/build/plot/*.bkl
contrib/build/plot/*.dsw
contrib/build/plot/*.dsp
contrib/build/plot/makefile*
contrib/build/stc/*.bkl
contrib/build/stc/*.dsw
contrib/build/stc/*.dsp
contrib/build/stc/makefile*
contrib/build/svg/*.bkl
contrib/build/svg/*.dsw
contrib/build/svg/*.dsp
contrib/build/svg/makefile*
contrib/configure.in
contrib/configure
contrib/src/animate/*.cpp
contrib/src/animate/*.h
contrib/src/animate/readme.txt
contrib/include/wx/animate/*.h
contrib/samples/animate/*.cpp
contrib/samples/animate/*.h
contrib/samples/animate/makefile*
contrib/samples/animate/*.xbm
contrib/samples/animate/*.xpm
contrib/samples/animate/*.txt
contrib/samples/animate/*.ico
contrib/samples/animate/*.bmp
contrib/samples/animate/*.rc
contrib/samples/animate/*.gif
contrib/samples/animate/anitest.dsp
contrib/samples/animate/*.bkl
contrib/src/applet/*.cpp
contrib/src/applet/*.h
contrib/src/applet/make*
contrib/include/wx/applet/*.h
contrib/include/wx/applet/*.xpm
contrib/include/wx/applet/*.bmp
contrib/include/wx/applet/*.rc
contrib/samples/applet/*.cpp
contrib/samples/applet/*.h
contrib/samples/applet/makefile*
contrib/samples/applet/*.xbm
contrib/samples/applet/*.xpm
contrib/samples/applet/*.txt
contrib/samples/applet/*.html
contrib/samples/applet/*.ico
contrib/samples/applet/*.bmp
contrib/samples/applet/*.rc
contrib/samples/applet/*.wdr
contrib/src/deprecated/*.cpp
contrib/src/deprecated/*.h
contrib/src/deprecated/*.l
contrib/src/deprecated/*.c
contrib/src/deprecated/readme.txt
contrib/include/wx/deprecated/*.h
contrib/samples/deprecated/proplist/*.cpp
contrib/samples/deprecated/proplist/*.h
contrib/samples/deprecated/proplist/makefile*
contrib/samples/deprecated/proplist/*.xbm
contrib/samples/deprecated/proplist/*.xpm
contrib/samples/deprecated/proplist/*.txt
contrib/samples/deprecated/proplist/*.ico
contrib/samples/deprecated/proplist/*.bmp
contrib/samples/deprecated/proplist/*.rc
contrib/samples/deprecated/proplist/*.gif
contrib/samples/deprecated/proplist/proplist.dsp
contrib/samples/deprecated/proplist/*.bkl
contrib/samples/deprecated/resource/*.cpp
contrib/samples/deprecated/resource/*.h
contrib/samples/deprecated/resource/makefile*
contrib/samples/deprecated/resource/*.xbm
contrib/samples/deprecated/resource/*.xpm
contrib/samples/deprecated/resource/*.txt
contrib/samples/deprecated/resource/*.ico
contrib/samples/deprecated/resource/*.bmp
contrib/samples/deprecated/resource/*.rc
contrib/samples/deprecated/resource/*.gif
contrib/samples/deprecated/resource/resource.dsp
contrib/samples/deprecated/resource/*.bkl
contrib/samples/deprecated/treelay/*.cpp
contrib/samples/deprecated/treelay/*.h
contrib/samples/deprecated/treelay/makefile*
contrib/samples/deprecated/treelay/*.xbm
contrib/samples/deprecated/treelay/*.xpm
contrib/samples/deprecated/treelay/*.txt
contrib/samples/deprecated/treelay/*.ico
contrib/samples/deprecated/treelay/*.bmp
contrib/samples/deprecated/treelay/*.rc
contrib/samples/deprecated/treelay/*.gif
contrib/samples/deprecated/treelay/treelay.dsp
contrib/samples/deprecated/treelay/*.bkl
contrib/src/fl/*.cpp
contrib/src/fl/*.h
contrib/src/fl/files.lst
contrib/include/wx/fl/*.h
contrib/samples/fl/makefile*
contrib/samples/fl/bitmaps/*.bmp
contrib/samples/fl/bitmaps/*.xpm
contrib/samples/fl/*.cpp
contrib/samples/fl/*.h
contrib/samples/fl/*.xbm
contrib/samples/fl/*.xpm
contrib/samples/fl/*.txt
contrib/samples/fl/*.ico
contrib/samples/fl/*.bmp
contrib/samples/fl/*.rc
contrib/samples/fl/*.dsp
contrib/samples/fl/*.bkl
contrib/src/gizmos/*.cpp
contrib/src/gizmos/*.h
contrib/src/gizmos/*.xpm
contrib/src/gizmos/*.bmp
contrib/include/wx/gizmos/*.h
contrib/samples/gizmos/dynsash/*.cpp
contrib/samples/gizmos/dynsash/*.h
contrib/samples/gizmos/dynsash/makefile*
contrib/samples/gizmos/dynsash/*.xbm
contrib/samples/gizmos/dynsash/*.xpm
contrib/samples/gizmos/dynsash/*.txt
contrib/samples/gizmos/dynsash/*.ico
contrib/samples/gizmos/dynsash/*.bmp
contrib/samples/gizmos/dynsash/*.rc
contrib/samples/gizmos/dynsash/dynsash.dsp
contrib/samples/gizmos/dynsash/*.bkl
contrib/samples/gizmos/dynsash_switch/*.cpp
contrib/samples/gizmos/dynsash_switch/*.h
contrib/samples/gizmos/dynsash_switch/makefile*
contrib/samples/gizmos/dynsash_switch/*.xbm
contrib/samples/gizmos/dynsash_switch/*.xpm
contrib/samples/gizmos/dynsash_switch/*.txt
contrib/samples/gizmos/dynsash_switch/*.ico
contrib/samples/gizmos/dynsash_switch/*.bmp
contrib/samples/gizmos/dynsash_switch/*.rc
contrib/samples/gizmos/dynsash_switch/dynsash_switch.dsp
contrib/samples/gizmos/dynsash_switch/*.bkl
contrib/samples/gizmos/editlbox/*.cpp
contrib/samples/gizmos/editlbox/*.h
contrib/samples/gizmos/editlbox/makefile*
contrib/samples/gizmos/editlbox/*.xbm
contrib/samples/gizmos/editlbox/*.xpm
contrib/samples/gizmos/editlbox/*.txt
contrib/samples/gizmos/editlbox/*.ico
contrib/samples/gizmos/editlbox/*.bmp
contrib/samples/gizmos/editlbox/*.rc
contrib/samples/gizmos/editlbox/editlbox.dsp
contrib/samples/gizmos/editlbox/*.bkl
contrib/samples/gizmos/led/*.cpp
contrib/samples/gizmos/led/*.h
contrib/samples/gizmos/led/makefile*
contrib/samples/gizmos/led/*.xbm
contrib/samples/gizmos/led/*.xpm
contrib/samples/gizmos/led/*.txt
contrib/samples/gizmos/led/*.ico
contrib/samples/gizmos/led/*.bmp
contrib/samples/gizmos/led/*.rc
contrib/samples/gizmos/led/led.dsp
contrib/samples/gizmos/led/*.bkl
contrib/samples/gizmos/multicell/*.cpp
contrib/samples/gizmos/multicell/*.h
contrib/samples/gizmos/multicell/makefile*
contrib/samples/gizmos/multicell/*.xbm
contrib/samples/gizmos/multicell/*.xpm
contrib/samples/gizmos/multicell/*.txt
contrib/samples/gizmos/multicell/*.ico
contrib/samples/gizmos/multicell/*.bmp
contrib/samples/gizmos/multicell/*.rc
contrib/samples/gizmos/multicell/multicell.dsp
contrib/samples/gizmos/multicell/*.bkl
contrib/samples/gizmos/splittree/*.cpp
contrib/samples/gizmos/splittree/*.h
contrib/samples/gizmos/splittree/makefile*
contrib/samples/gizmos/splittree/*.xbm
contrib/samples/gizmos/splittree/*.xpm
contrib/samples/gizmos/splittree/*.txt
contrib/samples/gizmos/splittree/*.ico
contrib/samples/gizmos/splittree/*.bmp
contrib/samples/gizmos/splittree/*.rc
contrib/samples/gizmos/splittree/splittree.dsp
contrib/samples/gizmos/splittree/*.bkl
contrib/src/plot/*.cpp
contrib/src/plot/*.h
contrib/include/wx/plot/*.h
contrib/include/wx/plot/*.xpm
contrib/include/wx/plot/*.bmp
contrib/include/wx/plot/*.rc
contrib/samples/plot/*.cpp
contrib/samples/plot/*.h
contrib/samples/plot/makefile*
contrib/samples/plot/*.xbm
contrib/samples/plot/*.xpm
contrib/samples/plot/*.txt
contrib/samples/plot/*.ico
contrib/samples/plot/*.bmp
contrib/samples/plot/*.rc
contrib/samples/plot/plot.dsp
contrib/samples/plot/*.bkl
contrib/src/net/*.cpp
contrib/src/net/*.h
contrib/include/wx/net/*.h
contrib/src/svg/*.cpp
contrib/src/svg/README.TXT
contrib/include/wx/svg/*.h
contrib/samples/svg/make*
contrib/samples/svg/*.cpp
contrib/samples/svg/*.h
contrib/samples/svg/*.ico
contrib/samples/svg/*.xpm
contrib/samples/svg/*.bmp
contrib/samples/svg/*.rc
contrib/samples/svg/svgtest.dsp
contrib/samples/svg/*.bkl
contrib/samples/svg/bitmaps/*.xpm
contrib/src/foldbar/*.cpp
contrib/src/foldbar/*.ico
contrib/src/foldbar/*.xpm
contrib/include/wx/foldbar/*.h
contrib/samples/foldbar/extended/*.cpp
contrib/samples/foldbar/extended/*.h
contrib/samples/foldbar/extended/*.xpm
contrib/samples/foldbar/extended/*.ico
contrib/samples/foldbar/extended/*.rc
contrib/samples/foldbar/extended/make*
contrib/samples/foldbar/foldpanelbar/*.cpp
contrib/samples/foldbar/foldpanelbar/*.h
contrib/samples/foldbar/foldpanelbar/*.xpm
contrib/samples/foldbar/foldpanelbar/*.ico
contrib/samples/foldbar/foldpanelbar/*.rc
contrib/samples/foldbar/foldpanelbar/make*

View File

@@ -1,715 +0,0 @@
echo --------
echo This script will copy the wxMSW release files into \wxmsw_dist
echo --------
echo
md \wxmsw_dist
md \wxmsw_dist\wxMSW
echo Base dir..
cd ..\..
echo Lib..
cd lib
md \wxmsw_dist\wxMSW\lib
copy dummy \wxmsw_dist\wxMSW\lib
cd ..
echo Locale..
cd locale
md \wxmsw_dist\wxMSW\locale
copy *.?? \wxmsw_dist\wxMSW\locale
cd ..
echo Docs..
cd docs\wine
copy COPYING.LIB \wxmsw_dist\wxMSW
copy licence.txt \wxmsw_dist\wxMSW\LICENCE.txt
cd ..\msw
copy install.txt \wxmsw_dist\wxMSW\INSTALL.txt
copy readme.txt \wxmsw_dist\wxMSW\README.txt
copy todo.txt \wxmsw_dist\wxMSW\TODO.txt
cd ..
copy symbols.txt \wxmsw_dist\wxMSW\SYMBOLS.txt
cd ..
echo Include dir..
md \wxmsw_dist\wxMSW\include
cd include
copy wx_*.* \wxmsw_dist\wxMSW\include
md \wxmsw_dist\wxMSW\include\wx
cd wx
copy *.h \wxmsw_dist\wxMSW\include\wx
copy *.cpp \wxmsw_dist\wxMSW\include\wx
md \wxmsw_dist\wxMSW\include\wx\generic
cd generic
copy *.h \wxmsw_dist\wxMSW\include\wx\generic
cd ..
md \wxmsw_dist\wxMSW\include\wx\html
cd html
copy *.h \wxmsw_dist\wxMSW\include\wx\html
md \wxmsw_dist\wxMSW\include\wx\html\msw
cd msw
copy *.* \wxmsw_dist\wxMSW\include\wx\html\msw
cd ..\..
md \wxmsw_dist\wxMSW\include\wx\msw
cd msw
copy *.* \wxmsw_dist\wxMSW\include\wx\msw
rem del \wxmsw_dist\wxMSW\include\wx\msw\setup.h
del \wxmsw_dist\wxMSW\include\wx\msw\Makefile.am
del \wxmsw_dist\wxMSW\include\wx\msw\Makefile.in
md \wxmsw_dist\wxMSW\include\wx\msw\gnuwin32
cd gnuwin32
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\gnuwin32
cd ..
md \wxmsw_dist\wxMSW\include\wx\msw\ole
cd ole
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\ole
cd ..
cd ctl3d
copy *.h \wxmsw_dist\wxMSW\include\wx\msw\ctl3d
cd ..
cd ..
md \wxmsw_dist\wxMSW\include\wx\protocol
cd protocol
copy *.h \wxmsw_dist\wxMSW\include\wx\protocol
cd ..
cd ..\..
echo Src dir..
cd src
md \wxmsw_dist\wxMSW\src
copy *.* \wxmsw_dist\wxMSW\src
del Makefile.am \wxmsw_dist\wxMSW\src\Makefile.am
del Makefile.in \wxmsw_dist\wxMSW\src\Makefile.in
cd msw
md \wxmsw_dist\wxMSW\src\msw
md \wxmsw_dist\wxMSW\src\msw\ole
copy ole\*.cpp \wxmsw_dist\wxMSW\src\msw\ole
copy *.cpp \wxmsw_dist\wxMSW\src\msw
copy *.c \wxmsw_dist\wxMSW\src\msw
copy *.def \wxmsw_dist\wxMSW\src\msw
copy makefile.* \wxmsw_dist\wxMSW\src\msw
del Makefile.am \wxmsw_dist\wxMSW\src\msw\Makefile.am
del Makefile.in \wxmsw_dist\wxMSW\src\msw\Makefile.in
cd ..
cd common
md \wxmsw_dist\wxMSW\src\common
copy lexer.l \wxmsw_dist\wxMSW\src\common
copy parser.y \wxmsw_dist\wxMSW\src\common
copy *.c \wxmsw_dist\wxMSW\src\common
copy *.h \wxmsw_dist\wxMSW\src\common
copy *.cpp \wxmsw_dist\wxMSW\src\common
cd ..
cd html
md \wxmsw_dist\wxMSW\src\html
copy *.cpp \wxmsw_dist\wxMSW\src\html
copy *.h \wxmsw_dist\wxMSW\src\html
cd ..
cd generic
md \wxmsw_dist\wxMSW\src\generic
copy *.cpp \wxmsw_dist\wxMSW\src\generic
cd ..
cd zlib
md \wxmsw_dist\wxMSW\src\zlib
copy *.* \wxmsw_dist\wxMSW\src\zlib
cd ..
cd png
md \wxmsw_dist\wxMSW\src\png
copy *.* \wxmsw_dist\wxMSW\src\png
cd ..
cd jpeg
md \wxmsw_dist\wxMSW\src\jpeg
copy *.* \wxmsw_dist\wxMSW\src\jpeg
cd ..
cd xpm
md \wxmsw_dist\wxMSW\src\xpm
copy *.* \wxmsw_dist\wxMSW\src\xpm
cd ..
cd ..
echo Utils dir..
cd utils
md \wxmsw_dist\wxMSW\utils
echo wxGLCanvas..
cd glcanvas
md \wxmsw_dist\wxMSW\utils\glcanvas
copy .\docs\notes.txt \wxmsw_dist\wxMSW\utils\glcanvas\NOTES.txt
md \wxmsw_dist\wxMSW\utils\glcanvas\win
copy .\win\glcanvas.cpp \wxmsw_dist\wxMSW\utils\glcanvas\win
copy .\win\glcanvas.h \wxmsw_dist\wxMSW\utils\glcanvas\win
copy .\win\makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\win
md \wxmsw_dist\wxMSW\utils\glcanvas\samples
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
md \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
cd samples\cube
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
copy cube.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
copy cube.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
copy cube.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\cube
cd ..
cd isosurf
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
copy isosurf.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
copy isosurf.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
copy isosurf.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
copy isosurf.dat.gz \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\isosurf
cd ..
cd penguin
copy Makefile.* \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy penguin.rc \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy penguin.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy penguin.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy trackball.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy trackball.c \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy lw.h \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy lw.cpp \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy penguin.lwo \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
copy mondrian.ico \wxmsw_dist\wxMSW\utils\glcanvas\samples\penguin
cd ..\..\..
cd ..
echo Samples dir..
cd samples
md \wxmsw_dist\wxMSW\samples
copy makefile.* \wxmsw_dist\wxMSW\samples
echo Minimal sample..
cd minimal
md \wxmsw_dist\wxMSW\samples\minimal
copy Makefile.* \wxmsw_dist\wxMSW\samples\minimal
copy *.def \wxmsw_dist\wxMSW\samples\minimal
copy *.rc \wxmsw_dist\wxMSW\samples\minimal
copy minimal.cpp \wxmsw_dist\wxMSW\samples\minimal
copy mondrian.ico \wxmsw_dist\wxMSW\samples\minimal
cd ..
echo Bombs sample..
cd bombs
md \wxmsw_dist\wxMSW\samples\bombs
copy Makefile.* \wxmsw_dist\wxMSW\samples\bombs
copy *.cpp \wxmsw_dist\wxMSW\samples\bombs
copy *.h \wxmsw_dist\wxMSW\samples\bombs
copy *.ico \wxmsw_dist\wxMSW\samples\bombs
copy *.def \wxmsw_dist\wxMSW\samples\bombs
copy *.rc \wxmsw_dist\wxMSW\samples\bombs
cd ..
echo Caret sample..
cd caret
md \wxmsw_dist\wxMSW\samples\caret
copy Makefile.* \wxmsw_dist\wxMSW\samples\caret
copy *.cpp \wxmsw_dist\wxMSW\samples\caret
copy *.h \wxmsw_dist\wxMSW\samples\caret
copy *.ico \wxmsw_dist\wxMSW\samples\caret
copy *.def \wxmsw_dist\wxMSW\samples\caret
copy *.rc \wxmsw_dist\wxMSW\samples\caret
cd ..
echo Checklst sample..
cd checklst
md \wxmsw_dist\wxMSW\samples\checklst
copy Makefile.* \wxmsw_dist\wxMSW\samples\checklst
copy *.h \wxmsw_dist\wxMSW\samples\checklst
copy *.cpp \wxmsw_dist\wxMSW\samples\checklst
copy *.ico \wxmsw_dist\wxMSW\samples\checklst
copy *.def \wxmsw_dist\wxMSW\samples\checklst
copy *.rc \wxmsw_dist\wxMSW\samples\checklst
cd ..
echo Config sample..
cd config
md \wxmsw_dist\wxMSW\samples\config
copy Makefile.* \wxmsw_dist\wxMSW\samples\config
copy *.h \wxmsw_dist\wxMSW\samples\config
copy *.cpp \wxmsw_dist\wxMSW\samples\config
copy *.ico \wxmsw_dist\wxMSW\samples\config
copy *.def \wxmsw_dist\wxMSW\samples\config
copy *.rc \wxmsw_dist\wxMSW\samples\config
cd ..
echo Controls sample..
cd controls
md \wxmsw_dist\wxMSW\samples\controls
copy Makefile.* \wxmsw_dist\wxMSW\samples\controls
copy *.cpp \wxmsw_dist\wxMSW\samples\controls
copy *.h \wxmsw_dist\wxMSW\samples\controls
copy *.rc \wxmsw_dist\wxMSW\samples\controls
copy *.def \wxmsw_dist\wxMSW\samples\controls
copy *.ico \wxmsw_dist\wxMSW\samples\controls
cd icons
md \wxmsw_dist\wxMSW\samples\controls\icons
copy *.* \wxmsw_dist\wxMSW\samples\controls\icons
cd ..\..
echo Dialogs sample..
cd dialogs
md \wxmsw_dist\wxMSW\samples\dialogs
copy Makefile.* \wxmsw_dist\wxMSW\samples\dialogs
copy *.cpp \wxmsw_dist\wxMSW\samples\dialogs
copy *.h \wxmsw_dist\wxMSW\samples\dialogs
copy *.def \wxmsw_dist\wxMSW\samples\dialogs
copy *.rc \wxmsw_dist\wxMSW\samples\dialogs
copy *.ico \wxmsw_dist\wxMSW\samples\dialogs
cd ..
echo DnD sample..
cd dnd
md \wxmsw_dist\wxMSW\samples\dnd
copy Makefile.* \wxmsw_dist\wxMSW\samples\dnd
copy *.cpp \wxmsw_dist\wxMSW\samples\dnd
copy *.h \wxmsw_dist\wxMSW\samples\dnd
copy *.def \wxmsw_dist\wxMSW\samples\dnd
copy *.rc \wxmsw_dist\wxMSW\samples\dnd
copy *.ico \wxmsw_dist\wxMSW\samples\dnd
cd ..
echo Docview sample..
cd docview
md \wxmsw_dist\wxMSW\samples\docview
copy Makefile.* \wxmsw_dist\wxMSW\samples\docview
copy *.cpp \wxmsw_dist\wxMSW\samples\docview
copy *.h \wxmsw_dist\wxMSW\samples\docview
copy *.def \wxmsw_dist\wxMSW\samples\docview
copy *.rc \wxmsw_dist\wxMSW\samples\docview
copy *.ico \wxmsw_dist\wxMSW\samples\docview
cd ..
echo DocvwMDI sample..
cd docvwmdi
md \wxmsw_dist\wxMSW\samples\docvwmdi
copy Makefile.* \wxmsw_dist\wxMSW\samples\docvwmdi
copy *.cpp \wxmsw_dist\wxMSW\samples\docvwmdi
copy *.h \wxmsw_dist\wxMSW\samples\docvwmdi
copy *.def \wxmsw_dist\wxMSW\samples\docvwmdi
copy *.rc \wxmsw_dist\wxMSW\samples\docvwmdi
copy *.ico \wxmsw_dist\wxMSW\samples\docvwmdi
cd ..
echo Dynamic sample..
cd dynamic
md \wxmsw_dist\wxMSW\samples\dynamic
copy Makefile.* \wxmsw_dist\wxMSW\samples\dynamic
copy *.cpp \wxmsw_dist\wxMSW\samples\dynamic
copy *.h \wxmsw_dist\wxMSW\samples\dynamic
copy *.def \wxmsw_dist\wxMSW\samples\dynamic
copy *.rc \wxmsw_dist\wxMSW\samples\dynamic
copy *.ico \wxmsw_dist\wxMSW\samples\dynamic
cd ..
echo Drawing sample..
cd drawing
md \wxmsw_dist\wxMSW\samples\drawing
copy Makefile.* \wxmsw_dist\wxMSW\samples\drawing
copy *.cpp \wxmsw_dist\wxMSW\samples\drawing
copy *.ico \wxmsw_dist\wxMSW\samples\drawing
copy *.h \wxmsw_dist\wxMSW\samples\drawing
copy *.rc \wxmsw_dist\wxMSW\samples\drawing
copy *.def \wxmsw_dist\wxMSW\samples\drawing
cd ..
echo Forty sample..
cd forty
md \wxmsw_dist\wxMSW\samples\forty
copy Makefile.* \wxmsw_dist\wxMSW\samples\forty
copy *.cpp \wxmsw_dist\wxMSW\samples\forty
copy *.h \wxmsw_dist\wxMSW\samples\forty
copy *.def \wxmsw_dist\wxMSW\samples\forty
copy *.rc \wxmsw_dist\wxMSW\samples\forty
copy *.ico \wxmsw_dist\wxMSW\samples\forty
copy *.bmp \wxmsw_dist\wxMSW\samples\forty
copy *.xpm \wxmsw_dist\wxMSW\samples\forty
copy *.xbm \wxmsw_dist\wxMSW\samples\forty
cd ..
echo Fractal sample..
cd fractal
md \wxmsw_dist\wxMSW\samples\fractal
copy Makefile.* \wxmsw_dist\wxMSW\samples\fractal
copy *.cpp \wxmsw_dist\wxMSW\samples\fractal
copy *.h \wxmsw_dist\wxMSW\samples\fractal
copy *.def \wxmsw_dist\wxMSW\samples\fractal
copy *.rc \wxmsw_dist\wxMSW\samples\fractal
copy *.ico \wxmsw_dist\wxMSW\samples\fractal
cd ..
echo Grid sample..
cd grid
md \wxmsw_dist\wxMSW\samples\grid
copy Makefile.* \wxmsw_dist\wxMSW\samples\grid
copy *.cpp \wxmsw_dist\wxMSW\samples\grid
copy *.h \wxmsw_dist\wxMSW\samples\grid
copy *.def \wxmsw_dist\wxMSW\samples\grid
copy *.rc \wxmsw_dist\wxMSW\samples\grid
copy *.ico \wxmsw_dist\wxMSW\samples\grid
cd ..
echo Help sample..
cd help
md \wxmsw_dist\wxMSW\samples\help
copy Makefile.* \wxmsw_dist\wxMSW\samples\help
copy *.cpp \wxmsw_dist\wxMSW\samples\help
copy *.def \wxmsw_dist\wxMSW\samples\help
copy *.rc \wxmsw_dist\wxMSW\samples\help
copy *.ico \wxmsw_dist\wxMSW\samples\help
copy *.xpm \wxmsw_dist\wxMSW\samples\help
cd doc
md \wxmsw_dist\wxMSW\samples\help\doc
copy *.* \wxmsw_dist\wxMSW\samples\help\doc
cd ..\..
echo Image sample..
cd image
md \wxmsw_dist\wxMSW\samples\image
copy Makefile.* \wxmsw_dist\wxMSW\samples\image
copy *.cpp \wxmsw_dist\wxMSW\samples\image
copy *.def \wxmsw_dist\wxMSW\samples\image
copy *.rc \wxmsw_dist\wxMSW\samples\image
copy *.ico \wxmsw_dist\wxMSW\samples\image
copy horse.png \wxmsw_dist\wxMSW\samples\image
copy horse.gif \wxmsw_dist\wxMSW\samples\image
copy horse.jpg \wxmsw_dist\wxMSW\samples\image
cd ..
echo Internat sample..
cd internat
md \wxmsw_dist\wxMSW\samples\internat
copy Makefile.* \wxmsw_dist\wxMSW\samples\internat
copy *.cpp \wxmsw_dist\wxMSW\samples\internat
copy *.def \wxmsw_dist\wxMSW\samples\internat
copy *.rc \wxmsw_dist\wxMSW\samples\internat
copy *.ico \wxmsw_dist\wxMSW\samples\internat
copy readme.txt \wxmsw_dist\wxMSW\samples\internat
copy wxstd.pot \wxmsw_dist\wxMSW\samples\internat
cd fr
md \wxmsw_dist\wxMSW\samples\internat\fr
copy *.?o \wxmsw_dist\wxMSW\samples\internat\fr
cd ..\..
echo Layout sample..
cd layout
md \wxmsw_dist\wxMSW\samples\layout
copy Makefile.* \wxmsw_dist\wxMSW\samples\layout
copy *.cpp \wxmsw_dist\wxMSW\samples\layout
copy *.ico \wxmsw_dist\wxMSW\samples\layout
copy *.def \wxmsw_dist\wxMSW\samples\layout
copy *.rc \wxmsw_dist\wxMSW\samples\layout
copy *.h \wxmsw_dist\wxMSW\samples\layout
cd ..
echo Listctrl sample..
cd listctrl
md \wxmsw_dist\wxMSW\samples\listctrl
copy Makefile.* \wxmsw_dist\wxMSW\samples\listctrl
copy *.cpp \wxmsw_dist\wxMSW\samples\listctrl
copy *.h \wxmsw_dist\wxMSW\samples\listctrl
copy *.def \wxmsw_dist\wxMSW\samples\listctrl
copy *.rc \wxmsw_dist\wxMSW\samples\listctrl
copy *.ico \wxmsw_dist\wxMSW\samples\listctrl
cd bitmaps
md \wxmsw_dist\wxMSW\samples\listctrl\bitmaps
copy *.* \wxmsw_dist\wxMSW\samples\listctrl\bitmaps
cd ..\..
echo MDI sample..
cd mdi
md \wxmsw_dist\wxMSW\samples\mdi
copy Makefile.* \wxmsw_dist\wxMSW\samples\mdi
copy *.cpp \wxmsw_dist\wxMSW\samples\mdi
copy *.rc \wxmsw_dist\wxMSW\samples\mdi
copy *.def \wxmsw_dist\wxMSW\samples\mdi
copy *.h \wxmsw_dist\wxMSW\samples\mdi
copy *.ico \wxmsw_dist\wxMSW\samples\mdi
cd bitmaps
md \wxmsw_dist\wxMSW\samples\mdi\bitmaps
copy *.* \wxmsw_dist\wxMSW\samples\mdi\bitmaps
cd ..\..
echo Memcheck sample..
cd memcheck
md \wxmsw_dist\wxMSW\samples\memcheck
copy Makefile.* \wxmsw_dist\wxMSW\samples\memcheck
copy *.cpp \wxmsw_dist\wxMSW\samples\memcheck
copy *.ico \wxmsw_dist\wxMSW\samples\memcheck
copy *.rc \wxmsw_dist\wxMSW\samples\memcheck
copy *.def \wxmsw_dist\wxMSW\samples\memcheck
copy *.xpm \wxmsw_dist\wxMSW\samples\memcheck
cd ..
echo Minifram sample..
cd minifram
md \wxmsw_dist\wxMSW\samples\minifram
copy Makefile.* \wxmsw_dist\wxMSW\samples\minifram
copy *.cpp \wxmsw_dist\wxMSW\samples\minifram
copy *.h \wxmsw_dist\wxMSW\samples\minifram
copy *.xpm \wxmsw_dist\wxMSW\samples\minifram
copy *.ico \wxmsw_dist\wxMSW\samples\minifram
copy *.def \wxmsw_dist\wxMSW\samples\minifram
copy *.rc \wxmsw_dist\wxMSW\samples\minifram
cd bitmaps
md \wxmsw_dist\wxMSW\samples\minifram\bitmaps
copy *.* \wxmsw_dist\wxMSW\samples\minifram\bitmaps
cd ..\..
echo Notebook sample..
cd notebook
md \wxmsw_dist\wxMSW\samples\notebook
copy Makefile.* \wxmsw_dist\wxMSW\samples\notebook
copy *.cpp \wxmsw_dist\wxMSW\samples\notebook
copy *.ico \wxmsw_dist\wxMSW\samples\notebook
copy *.def \wxmsw_dist\wxMSW\samples\notebook
copy *.rc \wxmsw_dist\wxMSW\samples\notebook
copy *.h \wxmsw_dist\wxMSW\samples\notebook
cd ..
echo Printing sample..
cd printing
md \wxmsw_dist\wxMSW\samples\printing
copy Makefile.* \wxmsw_dist\wxMSW\samples\printing
copy *.cpp \wxmsw_dist\wxMSW\samples\printing
copy *.h \wxmsw_dist\wxMSW\samples\printing
copy *.rc \wxmsw_dist\wxMSW\samples\printing
copy *.ico \wxmsw_dist\wxMSW\samples\printing
copy *.def \wxmsw_dist\wxMSW\samples\printing
copy *.xpm \wxmsw_dist\wxMSW\samples\printing
cd ..
echo Proplist sample..
cd proplist
md \wxmsw_dist\wxMSW\samples\proplist
copy Makefile.* \wxmsw_dist\wxMSW\samples\proplist
copy *.rc \wxmsw_dist\wxMSW\samples\printing
copy *.def \wxmsw_dist\wxMSW\samples\printing
copy *.cpp \wxmsw_dist\wxMSW\samples\proplist
copy *.ico \wxmsw_dist\wxMSW\samples\printing
copy *.h \wxmsw_dist\wxMSW\samples\proplist
cd ..
echo Resource sample..
cd resource
md \wxmsw_dist\wxMSW\samples\resource
copy Makefile.* \wxmsw_dist\wxMSW\samples\resource
copy *.ico \wxmsw_dist\wxMSW\samples\resource
copy *.rc \wxmsw_dist\wxMSW\samples\resource
copy *.def \wxmsw_dist\wxMSW\samples\resource
copy *.cpp \wxmsw_dist\wxMSW\samples\resource
copy *.h \wxmsw_dist\wxMSW\samples\resource
copy *.wxr \wxmsw_dist\wxMSW\samples\resource
cd ..
echo Sashtest sample..
cd sashtest
md \wxmsw_dist\wxMSW\samples\sashtest
copy Makefile.* \wxmsw_dist\wxMSW\samples\sashtest
copy *.cpp \wxmsw_dist\wxMSW\samples\sashtest
copy *.rc \wxmsw_dist\wxMSW\samples\sashtest
copy *.h \wxmsw_dist\wxMSW\samples\sashtest
copy *.def \wxmsw_dist\wxMSW\samples\sashtest
copy *.ico \wxmsw_dist\wxMSW\samples\sashtest
cd ..
echo Scroll sample..
cd scroll
md \wxmsw_dist\wxMSW\samples\scroll
copy Makefile.* \wxmsw_dist\wxMSW\samples\scroll
copy *.cpp \wxmsw_dist\wxMSW\samples\scroll
copy *.def \wxmsw_dist\wxMSW\samples\scroll
copy *.rc \wxmsw_dist\wxMSW\samples\scroll
copy *.ico \wxmsw_dist\wxMSW\samples\scroll
copy *.h \wxmsw_dist\wxMSW\samples\scroll
cd ..
echo Splash sample..
cd splash
md \wxmsw_dist\wxMSW\samples\splash
copy Makefile.* \wxmsw_dist\wxMSW\samples\splash
copy *.cpp \wxmsw_dist\wxMSW\samples\splash
copy *.h \wxmsw_dist\wxMSW\samples\splash
copy *.def \wxmsw_dist\wxMSW\samples\splash
copy *.rc \wxmsw_dist\wxMSW\samples\splash
copy *.ico \wxmsw_dist\wxMSW\samples\splash
copy *.png \wxmsw_dist\wxMSW\samples\splash
copy *.mpg \wxmsw_dist\wxMSW\samples\splash
cd ..
echo Splitter sample..
cd splitter
md \wxmsw_dist\wxMSW\samples\splitter
copy Makefile.* \wxmsw_dist\wxMSW\samples\splitter
copy *.cpp \wxmsw_dist\wxMSW\samples\splitter
copy *.def \wxmsw_dist\wxMSW\samples\splitter
copy *.rc \wxmsw_dist\wxMSW\samples\splitter
copy *.ico \wxmsw_dist\wxMSW\samples\splitter
cd ..
echo Text sample..
cd text
md \wxmsw_dist\wxMSW\samples\text
copy Makefile.* \wxmsw_dist\wxMSW\samples\text
copy *.cpp \wxmsw_dist\wxMSW\samples\text
copy *.def \wxmsw_dist\wxMSW\samples\text
copy *.rc \wxmsw_dist\wxMSW\samples\text
copy *.ico \wxmsw_dist\wxMSW\samples\text
cd ..
echo Thread sample..
cd thread
md \wxmsw_dist\wxMSW\samples\thread
copy Makefile.* \wxmsw_dist\wxMSW\samples\thread
copy *.cpp \wxmsw_dist\wxMSW\samples\thread
copy *.def \wxmsw_dist\wxMSW\samples\thread
copy *.rc \wxmsw_dist\wxMSW\samples\thread
copy *.ico \wxmsw_dist\wxMSW\samples\thread
cd ..
echo Toolbar sample..
cd toolbar
md \wxmsw_dist\wxMSW\samples\toolbar
copy Makefile.* \wxmsw_dist\wxMSW\samples\toolbar
copy *.cpp \wxmsw_dist\wxMSW\samples\toolbar
copy *.h \wxmsw_dist\wxMSW\samples\toolbar
copy *.rc \wxmsw_dist\wxMSW\samples\toolbar
copy *.def \wxmsw_dist\wxMSW\samples\toolbar
copy *.xpm \wxmsw_dist\wxMSW\samples\toolbar
copy *.ico \wxmsw_dist\wxMSW\samples\toolbar
cd bitmaps
md \wxmsw_dist\wxMSW\samples\toolbar\bitmaps
copy *.* \wxmsw_dist\wxMSW\samples\toolbar\bitmaps
cd ..\..
echo TreeCtrl sample..
cd treectrl
md \wxmsw_dist\wxMSW\samples\treectrl
copy Makefile.* \wxmsw_dist\wxMSW\samples\treectrl
copy *.rc \wxmsw_dist\wxMSW\samples\treectrl
copy *.def \wxmsw_dist\wxMSW\samples\treectrl
copy *.cpp \wxmsw_dist\wxMSW\samples\treectrl
copy *.h \wxmsw_dist\wxMSW\samples\treectrl
copy *.xpm \wxmsw_dist\wxMSW\samples\treectrl
copy *.ico \wxmsw_dist\wxMSW\samples\treectrl
cd bitmaps
md \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
copy *.* \wxmsw_dist\wxMSW\samples\treectrl\bitmaps
cd ..\..
echo typetest sample..
cd typetest
md \wxmsw_dist\wxMSW\samples\typetest
copy Makefile.* \wxmsw_dist\wxMSW\samples\typetest
copy *.cpp \wxmsw_dist\wxMSW\samples\typetest
copy *.h \wxmsw_dist\wxMSW\samples\typetest
copy *.ico \wxmsw_dist\wxMSW\samples\typetest
copy *.def \wxmsw_dist\wxMSW\samples\typetest
copy *.rc \wxmsw_dist\wxMSW\samples\typetest
cd ..
echo Validate sample..
cd validate
md \wxmsw_dist\wxMSW\samples\validate
copy Makefile.* \wxmsw_dist\wxMSW\samples\validate
copy *.cpp \wxmsw_dist\wxMSW\samples\validate
copy *.h \wxmsw_dist\wxMSW\samples\validate
copy *.xpm \wxmsw_dist\wxMSW\samples\validate
copy *.rc \wxmsw_dist\wxMSW\samples\validate
copy *.def \wxmsw_dist\wxMSW\samples\validate
cd ..
echo wxPoem sample..
cd wxpoem
md \wxmsw_dist\wxMSW\samples\wxpoem
copy Makefile.* \wxmsw_dist\wxMSW\samples\wxpoem
copy *.cpp \wxmsw_dist\wxMSW\samples\wxpoem
copy *.h \wxmsw_dist\wxMSW\samples\wxpoem
copy *.xpm \wxmsw_dist\wxMSW\samples\wxpoem
copy *.def \wxmsw_dist\wxMSW\samples\wxpoem
copy *.rc \wxmsw_dist\wxMSW\samples\wxpoem
copy wxpoem.dat \wxmsw_dist\wxMSW\samples\wxpoem
copy wxpoem.txt \wxmsw_dist\wxMSW\samples\wxpoem
copy wxpoem.idx \wxmsw_dist\wxMSW\samples\wxpoem
cd ..
echo wxSocket sample..
cd wxsocket
md \wxmsw_dist\wxMSW\samples\wxsocket
copy Makefile.* \wxmsw_dist\wxMSW\samples\wxsocket
copy *.cpp \wxmsw_dist\wxMSW\samples\wxsocket
copy *.h \wxmsw_dist\wxMSW\samples\wxsocket
copy *.rc \wxmsw_dist\wxMSW\samples\wxsocket
copy *.def \wxmsw_dist\wxMSW\samples\wxsocket
copy *.xpm \wxmsw_dist\wxMSW\samples\wxsocket
cd ..\..

View File

@@ -1,281 +0,0 @@
@echo off
rem VZ: this is quick and _very_ dirty, to be replaced by a script directly
rem parsing the files.txt and include/wx/version.h...
set VER=2.3.4
set DEST=t:\wxBase-%VER%
mkdir %DEST%
mkdir %DEST%\include
mkdir %DEST%\include\wx
mkdir %DEST%\include\wx\msw
mkdir %DEST%\include\wx\protocol
mkdir %DEST%\include\wx\unix
mkdir %DEST%\locale
mkdir %DEST%\samples
mkdir %DEST%\samples\console
mkdir %DEST%\src
mkdir %DEST%\src\common
mkdir %DEST%\src\msw
mkdir %DEST%\src\regex
mkdir %DEST%\src\unix
mkdir %DEST%\src\zlib
mkdir %DEST%\lib
chdir %WXWIN%
rem Copy the files to the root directory
copy /q configure.in %DEST%
copy /q configure %DEST%
copy /q wxwin.m4 %DEST%
copy /q aclocal.m4 %DEST%
copy /q config.sub %DEST%
copy /q config.guess %DEST%
copy /q install-sh %DEST%
copy /q mkinstalldirs %DEST%
copy /q wx-config.in %DEST%
copy /q setup.h.in %DEST%
copy /q Makefile.in %DEST%
copy /q wxBase.spec %DEST%
copy /q docs\changes.txt %DEST%\CHANGES.txt
copy /q docs\licence.txt %DEST%\LICENCE.txt
copy /q docs\base\readme.txt %DEST%\README.txt
rem Copy the project/make files
copy /q src\wxBase.dsp %DEST%\src\wxBase.dsp
copy /q src\wxBase.dsw %DEST%\src\wxBase.dsw
copy /q include\wx\msw\setup0.h %DEST%\include\wx\msw\setup.h
copy /q src\makeb32.env %DEST%\src\makeb32.env
copy /q src\makelib.b32 %DEST%\src\makelib.b32
copy /q src\makeprog.b32 %DEST%\src\makeprog.b32
copy /q src\msw\makebase.b32 %DEST%\src\msw\makebase.b32
copy /q src\*.in %DEST%\src
rem Copy the sample
copy /q samples\console\console.cpp %DEST%\samples\console\console.cpp
copy /q samples\console\console.dsp %DEST%\samples\console\console.dsp
copy /q samples\console\makefile.b32 %DEST%\samples\console\makefile.b32
copy /q samples\console\makefile.unx %DEST%\samples\console
copy /q samples\console\Makefile.in %DEST%\samples\console
copy /q samples\console\testdata.fc %DEST%\samples\console\testdata.fc
rem Copy regex and zlib files
copy /q src\regex\*.* %DEST%\src\regex
copy /q src\zlib\*.* %DEST%\src\zlib
rem The files not in src/files.lst
copy /q src\msw\dummy.cpp %DEST%\src\msw\dummy.cpp
copy /q src\msw\dummydll.cpp %DEST%\src\msw\dummydll.cpp
copy /q src\common\execcmn.cpp %DEST%\src\common\execcmn.cpp
copy /q src\common\unictabl.inc %DEST%\src\common\unictabl.inc
copy /q src\common\unzip.h %DEST%\src\common\unzip.h
copy /q include\wx\msw\gsockmsw.h %DEST%\include\wx\msw\gsockmsw.h
copy /q include\wx\msw\missing.h %DEST%\include\wx\msw\missing.h
copy /q include\wx\msw\mslu.h %DEST%\include\wx\msw\mslu.h
copy /q include\wx\msw\msvcrt.h %DEST%\include\wx\msw\msvcrt.h
copy /q include\wx\msw\private.h %DEST%\include\wx\msw\private.h
copy /q include\wx\msw\regconf.h %DEST%\include\wx\msw\regconf.h
copy /q include\wx\msw\registry.h %DEST%\include\wx\msw\registry.h
rem The rest is generated from src/files.lst by pasting the ALL_SOURCES and
rem ALL_HEADERS here and doing
rem
rem .,$s@^\s*\(.*\)/\([^ ]*\)\( \\\)\?$@copy /q src\\\1\\\2 %DEST%\\src\\\1\\\2
rem
rem and
rem
rem .,$s@/@\\@|exe "normal "|.,$s@^\s*\([^ ]*\)\( \\\)\?$@copy /q include\\wx\\\1 %DEST%\\include\\wx\\\1
rem
copy /q src\common\init.cpp %DEST%\src\common\init.cpp
copy /q src\common\appcmn.cpp %DEST%\src\common\appcmn.cpp
copy /q src\common\clntdata.cpp %DEST%\src\common\clntdata.cpp
copy /q src\common\cmdline.cpp %DEST%\src\common\cmdline.cpp
copy /q src\common\config.cpp %DEST%\src\common\config.cpp
copy /q src\common\datetime.cpp %DEST%\src\common\datetime.cpp
copy /q src\common\datstrm.cpp %DEST%\src\common\datstrm.cpp
copy /q src\common\db.cpp %DEST%\src\common\db.cpp
copy /q src\common\dbtable.cpp %DEST%\src\common\dbtable.cpp
copy /q src\common\dircmn.cpp %DEST%\src\common\dircmn.cpp
copy /q src\common\dynarray.cpp %DEST%\src\common\dynarray.cpp
copy /q src\common\dynlib.cpp %DEST%\src\common\dynlib.cpp
copy /q src\common\dynload.cpp %DEST%\src\common\dynload.cpp
copy /q src\common\encconv.cpp %DEST%\src\common\encconv.cpp
copy /q src\common\event.cpp %DEST%\src\common\event.cpp
copy /q src\common\extended.c %DEST%\src\common\extended.c
copy /q src\common\ffile.cpp %DEST%\src\common\ffile.cpp
copy /q src\common\file.cpp %DEST%\src\common\file.cpp
copy /q src\common\fileconf.cpp %DEST%\src\common\fileconf.cpp
copy /q src\common\filefn.cpp %DEST%\src\common\filefn.cpp
copy /q src\common\filename.cpp %DEST%\src\common\filename.cpp
copy /q src\common\filesys.cpp %DEST%\src\common\filesys.cpp
copy /q src\common\fontmap.cpp %DEST%\src\common\fontmap.cpp
copy /q src\common\fs_inet.cpp %DEST%\src\common\fs_inet.cpp
copy /q src\common\fs_mem.cpp %DEST%\src\common\fs_mem.cpp
copy /q src\common\fs_zip.cpp %DEST%\src\common\fs_zip.cpp
copy /q src\common\ftp.cpp %DEST%\src\common\ftp.cpp
copy /q src\common\hash.cpp %DEST%\src\common\hash.cpp
copy /q src\common\hashmap.cpp %DEST%\src\common\hashmap.cpp
copy /q src\common\http.cpp %DEST%\src\common\http.cpp
copy /q src\common\intl.cpp %DEST%\src\common\intl.cpp
copy /q src\common\ipcbase.cpp %DEST%\src\common\ipcbase.cpp
copy /q src\common\list.cpp %DEST%\src\common\list.cpp
copy /q src\common\log.cpp %DEST%\src\common\log.cpp
copy /q src\common\longlong.cpp %DEST%\src\common\longlong.cpp
copy /q src\common\memory.cpp %DEST%\src\common\memory.cpp
copy /q src\common\mimecmn.cpp %DEST%\src\common\mimecmn.cpp
copy /q src\common\module.cpp %DEST%\src\common\module.cpp
copy /q src\common\msgout.cpp %DEST%\src\common\msgout.cpp
copy /q src\common\mstream.cpp %DEST%\src\common\mstream.cpp
copy /q src\common\object.cpp %DEST%\src\common\object.cpp
copy /q src\common\process.cpp %DEST%\src\common\process.cpp
copy /q src\common\protocol.cpp %DEST%\src\common\protocol.cpp
copy /q src\common\regex.cpp %DEST%\src\common\regex.cpp
copy /q src\common\sckaddr.cpp %DEST%\src\common\sckaddr.cpp
copy /q src\common\sckfile.cpp %DEST%\src\common\sckfile.cpp
copy /q src\common\sckipc.cpp %DEST%\src\common\sckipc.cpp
copy /q src\common\sckstrm.cpp %DEST%\src\common\sckstrm.cpp
copy /q src\common\socket.cpp %DEST%\src\common\socket.cpp
copy /q src\common\strconv.cpp %DEST%\src\common\strconv.cpp
copy /q src\common\stream.cpp %DEST%\src\common\stream.cpp
copy /q src\common\string.cpp %DEST%\src\common\string.cpp
copy /q src\common\sysopt.cpp %DEST%\src\common\sysopt.cpp
copy /q src\common\textbuf.cpp %DEST%\src\common\textbuf.cpp
copy /q src\common\textfile.cpp %DEST%\src\common\textfile.cpp
copy /q src\common\timercmn.cpp %DEST%\src\common\timercmn.cpp
copy /q src\common\tokenzr.cpp %DEST%\src\common\tokenzr.cpp
copy /q src\common\txtstrm.cpp %DEST%\src\common\txtstrm.cpp
copy /q src\common\unzip.c %DEST%\src\common\unzip.c
copy /q src\common\url.cpp %DEST%\src\common\url.cpp
copy /q src\common\utilscmn.cpp %DEST%\src\common\utilscmn.cpp
copy /q src\common\variant.cpp %DEST%\src\common\variant.cpp
copy /q src\common\wfstream.cpp %DEST%\src\common\wfstream.cpp
copy /q src\common\wxchar.cpp %DEST%\src\common\wxchar.cpp
copy /q src\common\zipstrm.cpp %DEST%\src\common\zipstrm.cpp
copy /q src\common\zstream.cpp %DEST%\src\common\zstream.cpp
copy /q src\unix\dir.cpp %DEST%\src\unix\dir.cpp
copy /q src\unix\gsocket.c %DEST%\src\unix\gsocket.c
copy /q src\unix\mimetype.cpp %DEST%\src\unix\mimetype.cpp
copy /q src\unix\snglinst.cpp %DEST%\src\unix\snglinst.cpp
copy /q src\unix\threadpsx.cpp %DEST%\src\unix\threadpsx.cpp
copy /q src\unix\utilsunx.cpp %DEST%\src\unix\utilsunx.cpp
copy /q src\msw\dde.cpp %DEST%\src\msw\dde.cpp
copy /q src\msw\dir.cpp %DEST%\src\msw\dir.cpp
copy /q src\msw\gsocket.c %DEST%\src\msw\gsocket.c
copy /q src\msw\gsockmsw.c %DEST%\src\msw\gsockmsw.c
copy /q src\msw\main.cpp %DEST%\src\msw\main.cpp
copy /q src\msw\mimetype.cpp %DEST%\src\msw\mimetype.cpp
copy /q src\msw\regconf.cpp %DEST%\src\msw\regconf.cpp
copy /q src\msw\registry.cpp %DEST%\src\msw\registry.cpp
copy /q src\msw\snglinst.cpp %DEST%\src\msw\snglinst.cpp
copy /q src\msw\thread.cpp %DEST%\src\msw\thread.cpp
copy /q src\msw\utils.cpp %DEST%\src\msw\utils.cpp
copy /q src\msw\utilsexc.cpp %DEST%\src\msw\utilsexc.cpp
copy /q src\msw\volume.cpp %DEST%\src\msw\volume.cpp
copy /q include\wx\app.h %DEST%\include\wx\app.h
copy /q include\wx\arrimpl.cpp %DEST%\include\wx\arrimpl.cpp
copy /q include\wx\buffer.h %DEST%\include\wx\buffer.h
copy /q include\wx\build.h %DEST%\include\wx\build.h
copy /q include\wx\chkconf.h %DEST%\include\wx\chkconf.h
copy /q include\wx\clntdata.h %DEST%\include\wx\clntdata.h
copy /q include\wx\cmdline.h %DEST%\include\wx\cmdline.h
copy /q include\wx\confbase.h %DEST%\include\wx\confbase.h
copy /q include\wx\config.h %DEST%\include\wx\config.h
copy /q include\wx\date.h %DEST%\include\wx\date.h
copy /q include\wx\datetime.h %DEST%\include\wx\datetime.h
copy /q include\wx\datetime.inl %DEST%\include\wx\datetime.inl
copy /q include\wx\datstrm.h %DEST%\include\wx\datstrm.h
copy /q include\wx\db.h %DEST%\include\wx\db.h
copy /q include\wx\dbkeyg.h %DEST%\include\wx\dbkeyg.h
copy /q include\wx\dbtable.h %DEST%\include\wx\dbtable.h
copy /q include\wx\dde.h %DEST%\include\wx\dde.h
copy /q include\wx\debug.h %DEST%\include\wx\debug.h
copy /q include\wx\defs.h %DEST%\include\wx\defs.h
copy /q include\wx\dir.h %DEST%\include\wx\dir.h
copy /q include\wx\dynarray.h %DEST%\include\wx\dynarray.h
copy /q include\wx\dynlib.h %DEST%\include\wx\dynlib.h
copy /q include\wx\dynload.h %DEST%\include\wx\dynload.h
copy /q include\wx\encconv.h %DEST%\include\wx\encconv.h
copy /q include\wx\event.h %DEST%\include\wx\event.h
copy /q include\wx\features.h %DEST%\include\wx\features.h
copy /q include\wx\ffile.h %DEST%\include\wx\ffile.h
copy /q include\wx\file.h %DEST%\include\wx\file.h
copy /q include\wx\fileconf.h %DEST%\include\wx\fileconf.h
copy /q include\wx\filefn.h %DEST%\include\wx\filefn.h
copy /q include\wx\filename.h %DEST%\include\wx\filename.h
copy /q include\wx\filesys.h %DEST%\include\wx\filesys.h
copy /q include\wx\fontenc.h %DEST%\include\wx\fontenc.h
copy /q include\wx\fontmap.h %DEST%\include\wx\fontmap.h
copy /q include\wx\fs_inet.h %DEST%\include\wx\fs_inet.h
copy /q include\wx\fs_mem.h %DEST%\include\wx\fs_mem.h
copy /q include\wx\fs_zip.h %DEST%\include\wx\fs_zip.h
copy /q include\wx\gsocket.h %DEST%\include\wx\gsocket.h
copy /q include\wx\hash.h %DEST%\include\wx\hash.h
copy /q include\wx\hashmap.h %DEST%\include\wx\hashmap.h
copy /q include\wx\intl.h %DEST%\include\wx\intl.h
copy /q include\wx\ioswrap.h %DEST%\include\wx\ioswrap.h
copy /q include\wx\ipc.h %DEST%\include\wx\ipc.h
copy /q include\wx\ipcbase.h %DEST%\include\wx\ipcbase.h
copy /q include\wx\isql.h %DEST%\include\wx\isql.h
copy /q include\wx\isqlext.h %DEST%\include\wx\isqlext.h
copy /q include\wx\list.h %DEST%\include\wx\list.h
copy /q include\wx\listimpl.cpp %DEST%\include\wx\listimpl.cpp
copy /q include\wx\log.h %DEST%\include\wx\log.h
copy /q include\wx\longlong.h %DEST%\include\wx\longlong.h
copy /q include\wx\memconf.h %DEST%\include\wx\memconf.h
copy /q include\wx\memory.h %DEST%\include\wx\memory.h
copy /q include\wx\memtext.h %DEST%\include\wx\memtext.h
copy /q include\wx\mimetype.h %DEST%\include\wx\mimetype.h
copy /q include\wx\module.h %DEST%\include\wx\module.h
copy /q include\wx\msgout.h %DEST%\include\wx\msgout.h
copy /q include\wx\mstream.h %DEST%\include\wx\mstream.h
copy /q include\wx\object.h %DEST%\include\wx\object.h
copy /q include\wx\platform.h %DEST%\include\wx\platform.h
copy /q include\wx\process.h %DEST%\include\wx\process.h
copy /q include\wx\regex.h %DEST%\include\wx\regex.h
copy /q include\wx\sckaddr.h %DEST%\include\wx\sckaddr.h
copy /q include\wx\sckipc.h %DEST%\include\wx\sckipc.h
copy /q include\wx\sckstrm.h %DEST%\include\wx\sckstrm.h
copy /q include\wx\snglinst.h %DEST%\include\wx\snglinst.h
copy /q include\wx\socket.h %DEST%\include\wx\socket.h
copy /q include\wx\strconv.h %DEST%\include\wx\strconv.h
copy /q include\wx\stream.h %DEST%\include\wx\stream.h
copy /q include\wx\string.h %DEST%\include\wx\string.h
copy /q include\wx\sysopt.h %DEST%\include\wx\sysopt.h
copy /q include\wx\textbuf.h %DEST%\include\wx\textbuf.h
copy /q include\wx\textfile.h %DEST%\include\wx\textfile.h
copy /q include\wx\thread.h %DEST%\include\wx\thread.h
copy /q include\wx\thrimpl.cpp %DEST%\include\wx\thrimpl.cpp
copy /q include\wx\time.h %DEST%\include\wx\time.h
copy /q include\wx\timer.h %DEST%\include\wx\timer.h
copy /q include\wx\tokenzr.h %DEST%\include\wx\tokenzr.h
copy /q include\wx\txtstrm.h %DEST%\include\wx\txtstrm.h
copy /q include\wx\url.h %DEST%\include\wx\url.h
copy /q include\wx\utils.h %DEST%\include\wx\utils.h
copy /q include\wx\variant.h %DEST%\include\wx\variant.h
copy /q include\wx\vector.h %DEST%\include\wx\vector.h
copy /q include\wx\version.h %DEST%\include\wx\version.h
copy /q include\wx\volume.h %DEST%\include\wx\volume.h
copy /q include\wx\wfstream.h %DEST%\include\wx\wfstream.h
copy /q include\wx\wx.h %DEST%\include\wx\wx.h
copy /q include\wx\wxchar.h %DEST%\include\wx\wxchar.h
copy /q include\wx\wxprec.h %DEST%\include\wx\wxprec.h
copy /q include\wx\zipstrm.h %DEST%\include\wx\zipstrm.h
copy /q include\wx\zstream.h %DEST%\include\wx\zstream.h
copy /q include\wx\unix\gsockunx.h %DEST%\include\wx\unix\gsockunx.h
copy /q include\wx\unix\mimetype.h %DEST%\include\wx\unix\mimetype.h
copy /q include\wx\msw\dde.h %DEST%\include\wx\msw\dde.h
copy /q include\wx\msw\gccpriv.h %DEST%\include\wx\msw\gccpriv.h
copy /q include\wx\msw\mimetype.h %DEST%\include\wx\msw\mimetype.h
copy /q include\wx\msw\winundef.h %DEST%\include\wx\msw\winundef.h
copy /q include\wx\protocol\file.h %DEST%\include\wx\protocol\file.h
copy /q include\wx\protocol\ftp.h %DEST%\include\wx\protocol\ftp.h
copy /q include\wx\protocol\http.h %DEST%\include\wx\protocol\http.h
copy /q include\wx\protocol\protocol.h %DEST%\include\wx\protocol\protocol.h

View File

@@ -1,326 +0,0 @@
#!/bin/sh
# Create an Inno Setup installer on MSW. It requires MSYS.
#
# Example:
#
# distrib/msw/createsetup.sh
#
# Prerequisites:
#
# (1) Change VERSION to the desired wxWidgets version.
# (2) Change APPDIR to the root of a wxWidgets distribution containing
# this script.
# (3) Change DESTDIR (if necessary) to a directory for creating the
# the installer.
# (4) Change SETUPCOMPILER to where Inno Setup is installed.
# (6) Make sure 'unzip' is in your path.
# (7) Make sure wxMSW-x.y.z.zip and wxWidgets-x.y.z-CHM.zip are in
# the directory $DESTDIR.
# (8) Run createsetup.sh.
#
# The necessary script files are:
#
# distrib/msw/createsetup.sh ; The main script
# distrib/msw/wxwidgets_in.iss ; The input for making the .iss
#
#-------------------------------------------------------------------------
# The version
#-------------------------------------------------------------------------
VERSION=2.7.2
#-------------------------------------------------------------------------
# The application title
#-------------------------------------------------------------------------
APPTITLE="wxWidgets"
#-------------------------------------------------------------------------
# The application author (copyright holder)
#-------------------------------------------------------------------------
AUTHOR="The wxWidgets Team"
#-------------------------------------------------------------------------
# The application vendor (organisation)
#-------------------------------------------------------------------------
VENDOR="wxWidgets"
#-------------------------------------------------------------------------
# The top-level directory of the application source tree
#-------------------------------------------------------------------------
APPDIR=c:/wx2dev/wxWindows
#-------------------------------------------------------------------------
# The destination directory of the setup
#-------------------------------------------------------------------------
DESTDIR=$APPDIR/deliver
#-------------------------------------------------------------------------
# The temporary image directory to use when preparing the setup
#-------------------------------------------------------------------------
SETUPIMAGEDIR=$DESTDIR/wxWidgets-$VERSION
#-------------------------------------------------------------------------
# The location of the setup script
#-------------------------------------------------------------------------
SETUPSCRIPTNAME=$APPDIR/distrib/msw/wxwidgets.iss
SETUPSCRIPTNAME_IN=$APPDIR/distrib/msw/wxwidgets_in.iss
#-------------------------------------------------------------------------
# The location of the zip files to be used to create the setup
#-------------------------------------------------------------------------
WXMSWARCHIVE=$DESTDIR/wxMSW-$VERSION.zip
WXCHMARCHIVE=$DESTDIR/wxWidgets-$VERSION-CHM.zip
#-------------------------------------------------------------------------
# The locations of the readme and license files
#-------------------------------------------------------------------------
READMEFILE=$SETUPIMAGEDIR/docs/readme.txt
READMEAFTERFILE=$SETUPIMAGEDIR/docs/msw/install.txt
LICENSEFILE=$SETUPIMAGEDIR/docs/licence.txt
#-------------------------------------------------------------------------
# The location of the setup compiler
#-------------------------------------------------------------------------
SETUPCOMPILER="c:/Program Files/Inno Setup 5/compil32.exe"
#-------------------------------------------------------------------------
# Misc
#-------------------------------------------------------------------------
# If your zip accepts Cygwin-style paths, then
# use cygpath, else substitute echo
CYGPATHPROG=cygpath
#CYGPATHPROG=echo
PROGNAME=$0
SCRIPTDIR=$WXWIN/distrib/msw
ZIPFLAGS=
# Seds the file represented by the 1st arg, using the expression passed as the 2nd arg.
doreplace()
{
thefile=$1
theexpr=$2
if [ -f $thefile ]; then
sed -e "$theexpr" < $thefile > $thefile.tmp
mv $thefile.tmp $thefile
else
echo "*** $thefile not found."
fi
}
unix2dosname()
{
echo $1 | sed -e "s/\//\\\\\\\/g" > /tmp/filename.tmp
RETVALUE=`cat /tmp/filename.tmp`
rm -f /tmp/filename.tmp
}
unix2dosname2()
{
echo $1 | sed -e "s/\//\\\\/g" > /tmp/filename.tmp
RETVALUE=`cat /tmp/filename.tmp`
rm -f /tmp/filename.tmp
}
doinit()
{
if [ "$VERBOSE" != "1" ]; then
ZIPFLAGS=-q
fi
}
# Do the actual spin.
dospinsetup()
{
mkdir -p $DESTDIR
cd $DESTDIR
echo Now in `pwd`
rm -f -r wxWidgets-$VERSION
rm -f -r wxMSW-$VERSION
echo Unzipping the wxMSW files...
unzip $ZIPFLAGS $WXMSWARCHIVE
# This 'pause' is only necessary because on my system, the following 'mv' seems to fail
# without it.
echo About to rename wxMSW-$VERSION to wxWidgets-$VERSION. Press Return to continue.
read ch
mv wxMSW-$VERSION wxWidgets-$VERSION
if [ ! -d wxWidgets-$VERSION ]; then
echo *** Could not find wxWidgets-$VERSION: exiting.
exit
fi
echo Unzipping the CHM files...
cd wxWidgets-$VERSION
unzip $ZIPFLAGS $WXCHMARCHIVE
echo Copying readme files...
cp docs/msw/readme.txt README-MSW.txt
cp docs/msw/install.txt INSTALL-MSW.txt
cp docs/licence.txt LICENCE.txt
cp docs/lgpl.txt COPYING.LIB
cp docs/changes.txt CHANGES.txt
cp docs/readme.txt README.txt
# Now cp some binary files to 'bin'
# TODO
# if [ ! -d bin ]; then
# mkdir bin
# fi
# cp $APPDIR/bin/tex2rtf.exe bin
# cp $APPDIR/bin/tex2rtf.chm bin
# cp $APPDIR/bin/widgets.exe bin
# cp $APPDIR/bin/life.exe bin
# cp $APPDIR/demos/life/breeder.lif bin
# cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
# Now replace %VERSION% with the real application version, and other
# variables
cp $SETUPSCRIPTNAME_IN $SETUPSCRIPTNAME
echo Replacing variables in the setup script
doreplace $SETUPSCRIPTNAME "s/%VERSION%/$VERSION/g"
doreplace $SETUPSCRIPTNAME "s/%COPYRIGHTHOLDER%/$AUTHOR/g"
doreplace $SETUPSCRIPTNAME "s/%VENDOR%/$VENDOR/g"
unix2dosname $READMEFILE
doreplace $SETUPSCRIPTNAME "s;%READMEFILE%;$RETVALUE;g"
unix2dosname $READMEAFTERFILE
doreplace $SETUPSCRIPTNAME "s;%READMEAFTERFILE%;$RETVALUE;g"
unix2dosname $LICENSEFILE
doreplace $SETUPSCRIPTNAME "s;%LICENSEFILE%;$RETVALUE;g"
doreplace $SETUPSCRIPTNAME "s/%APPTITLE%/$APPTITLE/g"
unix2dosname $SETUPIMAGEDIR
doreplace $SETUPSCRIPTNAME "s;%SOURCEDIR%;$RETVALUE;g"
unix2dosname $DESTDIR
doreplace $SETUPSCRIPTNAME "s;%OUTPUTDIR%;$RETVALUE;g"
rm -f $DESTDIR/setup*.* $DESTDIR/wxMSW-$VERSION-Setup.exe
# Inno Setup complains if this step is not done
unix2dos --unix2dos $SETUPSCRIPTNAME
# Now invoke INNO compiler on the new ISS file
# First, make a DOS filename or Inno Setup will get confused.
unix2dosname2 $SETUPSCRIPTNAME
DOSFILENAME=$RETVALUE
# Note: the double slash is Mingw32/MSYS convention for
# denoting a switch, that must not be converted into
# a path (otherwise /c = c:/)
cd `dirname $SETUPSCRIPTNAME`
BASESCRIPTNAME=`basename $SETUPSCRIPTNAME`
echo Invoking Inno Setup compiler on $BASESCRIPTNAME
"$SETUPCOMPILER" //cc $BASESCRIPTNAME
if [ ! -f $DESTDIR/setup.exe ]; then
echo "*** Error - the setup.exe was not generated."
exit
fi
cd $DESTDIR
mv setup.exe wxMSW-$VERSION-Setup.exe
echo If you saw no warnings or errors, $APPTITLE was successfully spun.
echo
}
# Get the archives
getarchives()
{
echo Getting archives...
cd $DESDIR
curl http://biolpc22.york.ac.uk/pub/$VERSION/wxMSW-$VERSION.zip
curl http://biolpc22.york.ac.uk/pub/$VERSION/wxWidgets-$VERSION-CHM.zip
# TODO
#curl http://biolpc22.york.ac.uk/pub/$VERSION/wxWidgets-Windows-Binaries.zip
echo Done getting archives.
}
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
# So if we need to (not in this script so far) we do something like this instead:
# expandlines $SRC/setup/files.rsp temp.txt
# zip -@ `$CYGPATHPROG -w $DEST/archive.zip` < temp.txt
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ $line != "" ]; then
ls $line >> $outputfile
fi
done
}
usage()
{
echo "Usage: $PROGNAME [ options ]" 1>&2
echo Options:
echo " --help Display this help message"
echo " --verbose Verbose zip operation"
echo.
echo Note that options only override settings in $SCRIPTDIR/setup.var.
exit 1
}
# Process command line options.
for i in "$@"; do
case "$i" in
--getarchives) GETARCHIVES=1 ;;
--verbose) VERBOSE=1 ;;
*)
usage
exit
;;
esac
done
doinit
if [ "$GETARCHIVES" = "1" ]; then
getarchives
fi
dospinsetup

View File

@@ -1,140 +0,0 @@
include/wx*.pch*
include/wx/wx_cw.h
include/wx/wx_cw_d.h
include/wx/wx_cw_cm.h
src/*W7.xml
src/cwcopysetup.bat
src/cwdcopysetup.bat
src/common/cwy_tab.c
src/common/cwlex_yy.c
src/jpeg/jpeg_CW_Prefix.h
src/jpeg/*W7.xml
src/tiff/tiff_CW_Prefix.h
src/tiff/*W7.xml
src/zlib/*W7.xml
src/png/*W7.xml
src/regex/*W7.xml
samples/artprov/*W7.xml
samples/aui/*W7.xml
samples/calendar/*W7.xml
samples/caret/*W7.xml
samples/checklst/*W7.xml
samples/config/*W7.xml
samples/controls/*W7.xml
samples/db/*W7.xml
samples/debugrpt/*W7.xml
samples/dialogs/*W7.xml
samples/dialup/*W7.xml
samples/dnd/*W7.xml
samples/docview/*W7.xml
samples/docvwmdi/*W7.xml
samples/dragimag/*W7.xml
samples/drawing/*W7.xml
samples/dynamic/*W7.xml
samples/erase/*W7.xml
samples/event/*W7.xml
samples/exec/*W7.xml
samples/font/*W7.xml
samples/grid/*W7.xml
samples/help/*W7.xml
samples/html/*W7.xml
samples/image/*W7.xml
samples/internat/*W7.xml
samples/joytest/*W7.xml
samples/keyboard/*W7.xml
samples/layout/*W7.xml
samples/listbox/*W7.xml
samples/listctrl/*W7.xml
samples/mdi/*W7.xml
samples/mediaplayer/*W7.xml
samples/memcheck/*W7.xml
samples/menu/*W7.xml
samples/mfc/*W7.xml
samples/minifram/*W7.xml
samples/minimal/*W7.xml
samples/multimon/*W7.xml
samples/nativdlg/*W7.xml
samples/notebook/*W7.xml
samples/oleauto/*W7.xml
samples/opengl/*W7.xml
samples/ownerdrw/*W7.xml
samples/png/*W7.xml
samples/popup/*W7.xml
samples/printing/*W7.xml
samples/regtest/*W7.xml
samples/rotate/*W7.xml
samples/sashtest/*W7.xml
samples/scroll/*W7.xml
samples/shaped/*W7.xml
samples/sockets/*W7.xml
samples/splitter/*W7.xml
samples/statbar/*W7.xml
samples/tab/*W7.xml
samples/taskbar/*W7.xml
samples/text/*W7.xml
samples/thread/*W7.xml
samples/toolbar/*W7.xml
samples/treectrl/*W7.xml
samples/typetest/*W7.xml
samples/validate/*W7.xml
samples/widgets/*W7.xml
samples/wizard/*W7.xml
utils/helpview/src/*W7.xml
utils/tex2rtf/src/*W7.xml
utils/hhp2cached/*W7.xml
utils/helpgen/src/*W7.xml
demos/bombs/*W7.xml
demos/dbbrowse/*W7.xml
demos/forty/*W7.xml
demos/fractal/*W7.xml
demos/life/*W7.xml
src/xrc/*W7.xml
samples/xrc/*W7.xml
utils/wxrc/*W7.xml
utils/convertrc/*W7.xml
contrib/src/foldbar/*W7.xml
contrib/samples/foldbar/extended/*W7.xml
contrib/samples/foldbar/foldpanelbar/*W7.xml
contrib/src/ogl/*W7.xml
contrib/samples/ogl/ogledit/*W7.xml
contrib/samples/ogl/studio/*W7.xml
contrib/src/mmedia/*W7.xml
contrib/samples/mmedia/*W7.xml
contrib/src/stc/*W7.xml
contrib/samples/stc/*W7.xml
contrib/src/canvas/*W7.xml
contrib/samples/canvas/simple/*W7.xml
contrib/samples/canvas/test/*W7.xml
contrib/src/plot/*W7.xml
contrib/samples/plot/*M?.xml
contrib/samples/plot/*W7.xml
contrib/src/gizmos/*W7.xml
contrib/samples/gizmos/dynsash/*W7.xml
contrib/samples/gizmos/dynsash_switch/*W7.xml
contrib/samples/gizmos/editlbox/*W7.xml
contrib/samples/gizmos/multicell/*W7.xml
contrib/samples/gizmos/splittree/*W7.xml
contrib/src/animate/*W7.xml
contrib/samples/animate/*W7.xml
contrib/src/fl/*W7.xml
contrib/samples/fl/fl_demo1/*W7.xml
contrib/samples/fl/fl_demo2/*W7.xml
contrib/samples/fl/fl_sample1/*W7.xml
contrib/samples/fl/fl_sample2/*W7.xml
contrib/samples/fl/fl_sample3/*W7.xml
contrib/src/net/*W7.xml
contrib/src/deprecated/*W7.xml
contrib/samples/deprecated/resource/*W7.xml
contrib/samples/deprecated/proplist/*W7.xml
contrib/samples/deprecated/treelay/*W7.xml

View File

@@ -1,270 +0,0 @@
include/wx*.pch*
include/wx/wx_cw.h
include/wx/wx_cw_d.h
include/wx/wx_cw_cm.h
src/*M?.xml
src/*.mcp
src/cwcopysetup.bat
src/cwdcopysetup.bat
src/common/cwy_tab.c
src/common/cwlex_yy.c
src/jpeg/jpeg_CW_Prefix.h
src/jpeg/*M?.xml
src/jpeg/*.mcp
src/tiff/tiff_CW_Prefix.h
src/tiff/*M?.xml
src/tiff/*.mcp
src/zlib/*M?.xml
src/zlib/*.mcp
src/png/*M?.xml
src/png/*.mcp
src/regex/*M?.xml
src/regex/*.mcp
src/xrc/*M?.xml
src/xrc/*.mcp
samples/xrc/*M?.xml
samples/xrc/*.mcp
utils/wxrc/*M?.xml
utils/wxrc/*.mcp
contrib/utils/convertrc/*M?.xml
contrib/utils/convertrc/*.mcp
samples/artprov/*M?.xml
samples/artprov/*.mcp
samples/aui/*M?.xml
samples/aui/*.mcp
samples/calendar/*M?.xml
samples/calendar/*.mcp
samples/caret/*M?.xml
samples/caret/*.mcp
samples/checklst/*M?.xml
samples/checklst/*.mcp
samples/config/*M?.xml
samples/config/*.mcp
samples/controls/*M?.xml
samples/controls/*.mcp
samples/db/*M?.xml
samples/db/*.mcp
samples/debugrpt/*M?.xml
samples/debugrpt/*.mcp
samples/dialogs/*M?.xml
samples/dialogs/*.mcp
samples/dialup/*M?.xml
samples/dialup/*.mcp
samples/dnd/*M?.xml
samples/dnd/*.mcp
samples/docview/*M?.xml
samples/docview/*.mcp
samples/docvwmdi/*M?.xml
samples/docvwmdi/*.mcp
samples/dragimag/*M?.xml
samples/dragimag/*.mcp
samples/drawing/*M?.xml
samples/drawing/*.mcp
samples/dynamic/*M?.xml
samples/dynamic/*.mcp
samples/erase/*M?.xml
samples/erase/*.mcp
samples/event/*M?.xml
samples/event/*.mcp
samples/exec/*M?.xml
samples/exec/*.mcp
samples/font/*M?.xml
samples/font/*.mcp
samples/grid/*M?.xml
samples/grid/*.mcp
samples/help/*M?.xml
samples/help/*.mcp
samples/html/*M?.xml
samples/html/*.mcp
samples/image/*M?.xml
samples/image/*.mcp
samples/internat/*M?.xml
samples/internat/*.mcp
samples/joytest/*M?.xml
samples/joytest/*.mcp
samples/keyboard/*M?.xml
samples/keyboard/*.mcp
samples/layout/*M?.xml
samples/layout/*.mcp
samples/listbox/*M?.xml
samples/listbox/*.mcp
samples/listctrl/*M?.xml
samples/listctrl/*.mcp
samples/mdi/*M?.xml
samples/mdi/*.mcp
samples/mediaplayer/*M?.xml
samples/mediaplayer/*.mcp
samples/memcheck/*M?.xml
samples/memcheck/*.mcp
samples/menu/*M?.xml
samples/menu/*.mcp
samples/mfc/*M?.xml
samples/mfc/*.mcp
samples/minifram/*M?.xml
samples/minifram/*.mcp
samples/minimal/*M?.xml
samples/minimal/*.mcp
samples/multimon/*M?.xml
samples/multimon/*.mcp
samples/nativdlg/*M?.xml
samples/nativdlg/*.mcp
samples/notebook/*M?.xml
samples/notebook/*.mcp
samples/oleauto/*M?.xml
samples/oleauto/*.mcp
samples/opengl/*M?.xml
samples/opengl/*.mcp
samples/ownerdrw/*M?.xml
samples/ownerdrw/*.mcp
samples/png/*M?.xml
samples/popup/*M?.xml
samples/popup/*.mcp
samples/png/*.mcp
samples/printing/*M?.xml
samples/printing/*.mcp
samples/regtest/*M?.xml
samples/regtest/*.mcp
samples/rotate/*M?.xml
samples/rotate/*.mcp
samples/sashtest/*M?.xml
samples/sashtest/*.mcp
samples/scroll/*M?.xml
samples/scroll/*.mcp
samples/shaped/*M?.xml
samples/shaped/*.mcp
samples/sockets/*M?.xml
samples/sockets/*.mcp
samples/splitter/*M?.xml
samples/splitter/*.mcp
samples/statbar/*M?.xml
samples/statbar/*.mcp
samples/tab/*M?.xml
samples/tab/*.mcp
samples/taskbar/*M?.xml
samples/taskbar/*.mcp
samples/text/*M?.xml
samples/text/*.mcp
samples/thread/*M?.xml
samples/thread/*.mcp
samples/toolbar/*M?.xml
samples/toolbar/*.mcp
samples/treectrl/*M?.xml
samples/treectrl/*.mcp
samples/typetest/*M?.xml
samples/typetest/*.mcp
samples/validate/*M?.xml
samples/validate/*.mcp
samples/widgets/*M?.xml
samples/widgets/*.mcp
samples/wizard/*M?.xml
samples/wizard/*.mcp
utils/helpview/src/*M?.xml
utils/helpview/src/*.mcp
utils/tex2rtf/src/*M?.xml
utils/tex2rtf/src/*.mcp
utils/hhp2cached/*M?.xml
utils/hhp2cached/*.mcp
utils/HelpGen/src/*M?.xml
utils/HelpGen/src/*.mcp
demos/bombs/*M?.xml
demos/bombs/*.mcp
demos/dbbrowse/*M?.xml
demos/dbbrowse/*.mcp
demos/forty/*M?.xml
demos/forty/*.mcp
demos/fractal/*M?.xml
demos/fractal/*.mcp
demos/life/*M?.xml
demos/life/*.mcp
contrib/src/ogl/*M?.xml
contrib/src/ogl/*.mcp
contrib/samples/ogl/ogledit/*M?.xml
contrib/samples/ogl/ogledit/*.mcp
contrib/samples/ogl/studio/*M?.xml
contrib/samples/ogl/studio/*.mcp
contrib/src/mmedia/*M?.xml
contrib/src/mmedia/*.mcp
contrib/samples/mmedia/*M?.xml
contrib/samples/mmedia/*.mcp
contrib/src/stc/*M?.xml
contrib/src/stc/*.mcp
contrib/samples/stc/*M?.xml
contrib/samples/stc/*.mcp
contrib/src/foldbar/*M?.xml
contrib/src/foldbar/*.mcp
contrib/samples/foldbar/extended/*M?.xml
contrib/samples/foldbar/extended/*.mcp
contrib/samples/foldbar/foldpanelbar/*M?.xml
contrib/samples/foldbar/foldpanelbar/*.mcp
contrib/src/plot/*M?.xml
contrib/src/plot/*.mcp
contrib/samples/plot/*M?.xml
contrib/samples/plot/*.mcp
contrib/src/gizmos/*M?.xml
contrib/src/gizmos/*.mcp
contrib/samples/gizmos/dynsash/*M?.xml
contrib/samples/gizmos/dynsash/*.mcp
contrib/samples/gizmos/dynsash_switch/*M?.xml
contrib/samples/gizmos/dynsash_switch/*.mcp
contrib/samples/gizmos/editlbox/*M?.xml
contrib/samples/gizmos/editlbox/*.mcp
contrib/samples/gizmos/multicell/*M?.xml
contrib/samples/gizmos/multicell/*.mcp
contrib/samples/gizmos/splittree/*M?.xml
contrib/samples/gizmos/splittree/*.mcp
contrib/src/animate/*M?.xml
contrib/src/animate/*.mcp
contrib/samples/animate/*M?.xml
contrib/samples/animate/*.mcp
contrib/src/fl/*M?.xml
contrib/src/fl/*.mcp
contrib/samples/fl/fl_demo1/*M?.xml
contrib/samples/fl/fl_demo1/*.mcp
contrib/samples/fl/fl_demo2/*M?.xml
contrib/samples/fl/fl_demo2/*.mcp
contrib/samples/fl/fl_sample1/*M?.xml
contrib/samples/fl/fl_sample1/*.mcp
contrib/samples/fl/fl_sample2/*M?.xml
contrib/samples/fl/fl_sample2/*.mcp
contrib/samples/fl/fl_sample3/*M?.xml
contrib/samples/fl/fl_sample3/*.mcp
contrib/src/net/*M?.xml
contrib/src/net/*.mcp
contrib/src/deprecated/*M?.xml
contrib/src/deprecated/*.mcp
contrib/samples/deprecated/proplist/*M?.xml
contrib/samples/deprecated/proplist/*.mcp
contrib/samples/deprecated/resource/*M?.xml
contrib/samples/deprecated/resource/*.mcp
contrib/samples/deprecated/treelay/*M?.xml
contrib/samples/deprecated/treelay/*.mcp

View File

@@ -1,42 +0,0 @@
contrib/src/deprecated/*.cpp
contrib/src/deprecated/dosyacc.c
contrib/src/deprecated/doslex.c
contrib/src/deprecated/cwlex_yy.c
contrib/src/deprecated/cwy_tab.c
contrib/include/wx/deprecated/*.h
contrib/samples/deprecated/proplist/*.cpp
contrib/samples/deprecated/proplist/*.h
contrib/samples/deprecated/proplist/*.def
contrib/samples/deprecated/proplist/makefile*
contrib/samples/deprecated/proplist/*.xbm
contrib/samples/deprecated/proplist/*.xpm
contrib/samples/deprecated/proplist/*.ico
contrib/samples/deprecated/proplist/*.bmp
contrib/samples/deprecated/proplist/*.rc
contrib/samples/deprecated/proplist/*.pro
contrib/samples/deprecated/resource/*.cpp
contrib/samples/deprecated/resource/*.h
contrib/samples/deprecated/resource/*.def
contrib/samples/deprecated/resource/*.rc
contrib/samples/deprecated/resource/*.txt
contrib/samples/deprecated/resource/*.wxr
contrib/samples/deprecated/resource/makefile*
contrib/samples/deprecated/resource/*.xbm
contrib/samples/deprecated/resource/*.xpm
contrib/samples/deprecated/resource/*.ico
contrib/samples/deprecated/resource/*.pro
contrib/samples/deprecated/treelay/*.cpp
contrib/samples/deprecated/treelay/*.h
contrib/samples/deprecated/treelay/makefile*
contrib/samples/deprecated/treelay/*.rc
contrib/samples/deprecated/treelay/*.def
contrib/samples/deprecated/treelay/*.ico
contrib/samples/deprecated/treelay/*.xpm
contrib/samples/deprecated/treelay/*.txt
contrib/samples/deprecated/treelay/*.bmp
contrib/samples/deprecated/treelay/*.pro

View File

@@ -1,139 +0,0 @@
build/msw/config.dm?
build/msw/makefile.dm?
contrib/build/animate/makefile.dm?
contrib/build/deprecated/makefile.dm?
contrib/build/fl/makefile.dm?
contrib/build/foldbar/makefile.dm?
contrib/build/gizmos/makefile.dm?
contrib/build/mmedia/makefile.dm?
contrib/build/net/makefile.dm?
contrib/build/ogl/makefile.dm?
contrib/build/plot/makefile.dm?
contrib/build/stc/makefile.dm?
contrib/build/svg/makefile.dm?
contrib/samples/animate/makefile.dm?
contrib/samples/deprecated/proplist/makefile.dm?
contrib/samples/deprecated/resource/makefile.dm?
contrib/samples/deprecated/treelay/makefile.dm?
contrib/samples/fl/makefile.dm?
contrib/samples/gizmos/dynsash/makefile.dm?
contrib/samples/gizmos/dynsash_switch/makefile.dm?
contrib/samples/gizmos/editlbox/makefile.dm?
contrib/samples/gizmos/led/makefile.dm?
contrib/samples/gizmos/multicell/makefile.dm?
contrib/samples/gizmos/splittree/makefile.dm?
contrib/samples/mmedia/makefile.dm?
contrib/samples/ogl/ogledit/makefile.dm?
contrib/samples/ogl/studio/makefile.dm?
contrib/samples/plot/makefile.dm?
contrib/samples/stc/makefile.dm?
contrib/samples/svg/makefile.dm?
contrib/utils/convertrc/makefile.dm?
contrib/samples/foldbar/extended/makefile.dm?
contrib/samples/foldbar/foldpanelbar/makefile.dm?
demos/bombs/makefile.dm?
demos/dbbrowse/makefile.dm?
demos/forty/makefile.dm?
demos/fractal/makefile.dm?
demos/life/makefile.dm?
demos/makefile.dm?
demos/poem/makefile.dm?
samples/access/makefile.dm?
samples/artprov/makefile.dm?
samples/calendar/makefile.dm?
samples/caret/makefile.dm?
samples/checklst/makefile.dm?
samples/config/makefile.dm?
samples/console/makefile.dm?
samples/controls/makefile.dm?
samples/db/makefile.dm?
samples/debugrpt/makefile.dm?
samples/dialogs/makefile.dm?
samples/dialup/makefile.dm?
samples/display/makefile.dm?
samples/dnd/makefile.dm?
samples/docview/makefile.dm?
samples/docvwmdi/makefile.dm?
samples/dragimag/makefile.dm?
samples/drawing/makefile.dm?
samples/dynamic/makefile.dm?
samples/erase/makefile.dm?
samples/event/makefile.dm?
samples/except/makefile.dm?
samples/exec/makefile.dm?
samples/font/makefile.dm?
samples/grid/makefile.dm?
samples/help/makefile.dm?
samples/htlbox/makefile.dm?
samples/html/about/makefile.dm?
samples/html/help/makefile.dm?
samples/html/helpview/makefile.dm?
samples/html/htmlctrl/makefile.dm?
samples/html/makefile.dm?
samples/html/printing/makefile.dm?
samples/html/test/makefile.dm?
samples/html/virtual/makefile.dm?
samples/html/widget/makefile.dm?
samples/html/zip/makefile.dm?
samples/image/makefile.dm?
samples/internat/makefile.dm?
samples/ipc/makefile.dm?
samples/joytest/makefile.dm?
samples/keyboard/makefile.dm?
samples/layout/makefile.dm?
samples/listbox/makefile.dm?
samples/listctrl/makefile.dm?
samples/makefile.dm?
samples/mdi/makefile.dm?
samples/mediaplayer/makefile.dm?
samples/memcheck/makefile.dm?
samples/menu/makefile.dm?
samples/mfc/makefile.dm?
samples/minifram/makefile.dm?
samples/minimal/makefile.dm?
samples/multimon/makefile.dm?
samples/nativdlg/makefile.dm?
samples/notebook/makefile.dm?
samples/oleauto/makefile.dm?
samples/opengl/cube/makefile.dm?
samples/opengl/isosurf/makefile.dm?
samples/opengl/makefile.dm?
samples/opengl/penguin/makefile.dm?
samples/ownerdrw/makefile.dm?
samples/png/makefile.dm?
samples/popup/makefile.dm?
samples/printing/makefile.dm?
samples/propsize/makefile.dm?
samples/regtest/makefile.dm?
samples/render/makefile.dm?
samples/richedit/makefile.dm?
samples/rotate/makefile.dm?
samples/sashtest/makefile.dm?
samples/scroll/makefile.dm?
samples/shaped/makefile.dm?
samples/sockets/makefile.dm?
samples/sound/makefile.dm?
samples/splash/makefile.dm?
samples/splitter/makefile.dm?
samples/statbar/makefile.dm?
samples/tab/makefile.dm?
samples/taskbar/makefile.dm?
samples/text/makefile.dm?
samples/thread/makefile.dm?
samples/toolbar/makefile.dm?
samples/treectrl/makefile.dm?
samples/typetest/makefile.dm?
samples/validate/makefile.dm?
samples/vscroll/makefile.dm?
samples/xrc/makefile.dm?
samples/widgets/makefile.dm?
samples/wizard/makefile.dm?
tests/makefile.dm?
utils/emulator/src/makefile.dm?
utils/HelpGen/src/makefile.dm?
utils/helpview/src/makefile.dm?
utils/hhp2cached/makefile.dm?
utils/makefile.dm?
utils/tex2rtf/src/makefile.dm?
utils/wxrc/makefile.dm?

View File

@@ -1,28 +0,0 @@
docs/latex/wx/*.tex
docs/latex/wx/*.sty
docs/latex/wx/*.bib
docs/latex/wx/*.hpj
docs/latex/wx/*.ini
docs/latex/wx/*.txt
docs/latex/wx/*.cnt
docs/latex/wx/*.eps
docs/latex/wx/*.bmp
docs/latex/wx/*.gif
docs/latex/wx/*.wmf
utils/tex2rtf/docs/*.tex
utils/tex2rtf/docs/*.txt
utils/tex2rtf/docs/*.hpj
utils/tex2rtf/docs/*.bib
utils/tex2rtf/docs/*.ini
utils/tex2rtf/docs/*.sty
utils/tex2rtf/docs/*.bmp
utils/tex2rtf/docs/*.shg
utils/tex2rtf/docs/*.wmf
utils/tex2rtf/docs/*.gif
contrib/docs/latex/svg/*.gif
contrib/docs/latex/svg/*.tex
contrib/docs/latex/svg/*.ini
contrib/docs/latex/svg/*.sty

View File

@@ -1,28 +0,0 @@
echo "dsp2dos [ver. 1.1]"
echo "Convert wxWidgets workspaces from Unix to Dos format"
echo " Author : Marco Cavallini (www.koansoftware.com)"
echo "You need to build wxWidgets/distrib/msw/unix2dos.c for using it"
unix2dos --unix2dos $WXWIN/src/wxBase.dsp
unix2dos --unix2dos $WXWIN/src/wxBase.dsw
unix2dos --unix2dos $WXWIN/src/wxUniv.dsp
unix2dos --unix2dos $WXWIN/src/wxUniv.dsw
unix2dos --unix2dos $WXWIN/src/wxWindows.dsp
unix2dos --unix2dos $WXWIN/src/wxWindows.dsw
unix2dos --unix2dos $WXWIN/src/jpeg/jpeg.dsp
unix2dos --unix2dos $WXWIN/src/jpeg/jpeg.dsw
unix2dos --unix2dos $WXWIN/src/png/png.dsp
unix2dos --unix2dos $WXWIN/src/png/png.dsw
unix2dos --unix2dos $WXWIN/src/regex/regex.dsp
unix2dos --unix2dos $WXWIN/src/regex/regex.dsw
unix2dos --unix2dos $WXWIN/src/tiff/tiff.dsp
unix2dos --unix2dos $WXWIN/src/tiff/tiff.dsw
unix2dos --unix2dos $WXWIN/src/zlib/zlib.dsp
unix2dos --unix2dos $WXWIN/src/zlib/zlib.dsw
unix2dos --unix2dos $WXWIN/src/msw/wince/wxBase.vcp
unix2dos --unix2dos $WXWIN/src/msw/wince/wxBase.vcw
unix2dos --unix2dos $WXWIN/src/msw/wince/wxWinCE.vcp
unix2dos --unix2dos $WXWIN/src/msw/wince/wxWinCE.vcw
unix2dos --unix2dos $WXWIN/src/msw/wince/mywxbase.vcp
unix2dos --unix2dos $WXWIN/src/msw/wince/mywxbase.vcw
echo "Done"
echo ""

View File

@@ -1,15 +0,0 @@
@echo off
rem Expands wildcards in response file (arg 1) into output file (arg 2)
rem Note: requires ls.exe from GNU-WIN32 distribution, renamed to ls2.exe.
rem Correction: this is too slow, so we're using the built in 'dir'.
set newname=%temp\temp.tmp
sed -e "s/\//\\/g" %1 > %newname
set len=%@LINES[%newname]
rem set len=%@DEC[%len]
do i = 0 to %len by 1
set line=%@LINE[%newname,%i]
if NOT "%line" == "" dir /FB %line >> %2
enddo

View File

@@ -1,2 +0,0 @@
docs/html/gettext/*.html

View File

@@ -1,28 +0,0 @@
@echo off
Rem Replace a string with another string in the given files.
Rem The first argument is the string to be replaced.
Rem The second argument is the replacement string.
Rem The third argument is a file listing the files to be processed.
set keyword=%1
set repl=%2
set files=%3
echo s/%keyword/%repl/g > script.tmp
call %wxwin\distrib\msw\expdwild.bat %3 list.tmp
Rem goto end
set len=%@LINES[%files]
do i = 0 to %len by 1
set line=%@LINE[list.tmp,%i]
if "%line" == "**EOF**" enddo
rem echo Cmd: grep %keyword %line
grep %keyword %line > size.tmp
if "%@FILESIZE[size.tmp]" == "0" enddo
sed -f script.tmp %line > file.tmp
move file.tmp %line
enddo
erase script.tmp
erase list.tmp
erase size.tmp
:end

File diff suppressed because it is too large Load Diff

View File

@@ -1,37 +0,0 @@
include/wx/glcanvas.h
include/wx/motif/glcanvas.h
include/wx/gtk/glcanvas.h
include/wx/msw/glcanvas.h
src/motif/glcanvas.cpp
src/gtk/glcanvas.cpp
src/msw/glcanvas.cpp
samples/opengl/cube/*.cpp
samples/opengl/cube/*.h
samples/opengl/cube/*.rc
samples/opengl/cube/*.ico
samples/opengl/cube/*.xbm
samples/opengl/cube/make*.*
samples/opengl/cube/Makefile
samples/opengl/isosurf/*.cpp
samples/opengl/isosurf/*.h
samples/opengl/isosurf/*.rc
samples/opengl/isosurf/*.ico
samples/opengl/isosurf/*.xbm
samples/opengl/isosurf/*.dat.gz
samples/opengl/isosurf/make*.*
samples/opengl/isosurf/Makefile
samples/opengl/penguin/*.cpp
samples/opengl/penguin/*.c
samples/opengl/penguin/*.h
samples/opengl/penguin/*.rc
samples/opengl/penguin/*.ico
samples/opengl/penguin/*.xbm
samples/opengl/penguin/*.xpm
samples/opengl/penguin/make*.*
samples/opengl/penguin/Makefile
samples/opengl/penguin/penguin.lwo

View File

@@ -1,26 +0,0 @@
distrib/gtk/copy_src
distrib/gtk/README.txt
distrib/gtk/Setup
docs/gtk/*.html
docs/gtk/*.txt
docs/gtk/COPYING.LIB
docs/gtk/makewxgtk
include/wx/gtk/*.h
include/wx/gtk/*.xpm
include/wx/gtk/gnome/*.h
include/wx/mac/corefoundation/*.h
src/mac/corefoundation/*.cpp
src/gtk/files.lst
src/gtk/*.cpp
src/gtk/*.c
src/gtk/*.xbm
src/gtk/*.h
src/gtk/gnome/*.cpp
misc/afm/*.afm
misc/gs_afm/*.afm

View File

@@ -1,42 +0,0 @@
[Icons]
Name: {group}\Tex2rtf; Filename: {app}\bin\tex2rtf.exe; WorkingDir: {app}\bin; IconFilename: {app}\bin\tex2rtf.exe; IconIndex: 0
Name: {group}\Tex2rtf Help; Filename: {app}\bin\tex2rtf.chm; WorkingDir: {app}\bin; IconIndex: 0; Flags: useapppaths
Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
; Name: {group}\Tutorial; Filename: {app}\docs\pdf\wxTutorial.pdf; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Document Index; Filename: {app}\docs\html\index.htm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
Name: {group}\Widgets Sample; Filename: {app}\bin\widgets.exe; WorkingDir: {app}\bin; IconFilename: {app}\bin\widgets.exe; IconIndex: 0
Name: "{group}\Uninstall wxWidgets %VERSION%"; Filename: "{uninstallexe}"
[INI]
[Registry]
Root: HKCU; SubKey: Environment; ValueName: WXWIN; ValueType: string; ValueData: {app}; Flags: createvalueifdoesntexist uninsdeletevalue
; if bakefile is installed, tell it where to find wx presets
Root: HKCU; SubKey: Environment; ValueName: BAKEFILE_PATHS; ValueType: expandsz; ValueData: %wxwin%/build/bakefiles/wxpresets; Flags: createvalueifdoesntexist uninsdeletevalue
[UninstallDelete]
[InstallDelete]
[Run]
[UninstallRun]
; ==============================================
; The lines below are used by ScriptMaker
; They are not required by Inno Setup
; DO NOT DELETE THEM or you may be unable to reload the script
;[ScriptSetup]
;VerNum=2.5.2
;InnoVer=1.3
;AddVerTo=AppVerName
;SetupFilename=setup.exe
;OutputFolder=C:\wx2dev\wxWidgets\deliver
;CopyrightText=Copyright <20> The wxWidgets Team

View File

@@ -1,46 +0,0 @@
; Inno Setup Script
; Created with ScriptMaker Version 1.3.22
; 29 January 2001 at 14:22
[Setup]
MinVersion=4.0,4.0
AppName=%APPTITLE% %VERSION%
AppId=%APPTITLE%
CreateUninstallRegKey=1
UsePreviousAppDir=0
UsePreviousGroup=0
AppVersion=%VERSION%
AppVerName=%APPTITLE% %VERSION%
AppCopyright=Copyright <20> %COPYRIGHTHOLDER%
BackColor=$FF0000
BackColor2=$000000
BackColorDirection=toptobottom
WindowShowCaption=1
WindowStartMaximized=1
WindowVisible=1
WindowResizable=1
DirExistsWarning=auto
UninstallFilesDir={app}
DisableDirPage=0
DisableStartupPrompt=0
CreateAppDir=1
DisableProgramGroupPage=0
; AlwaysCreateUninstallIcon=1
Uninstallable=1
; UninstallIconName=Uninstall %APPTITLE% %VERSION%
UninstallDisplayName=%APPTITLE% %VERSION%
UninstallLogMode=Append
DefaultDirName=c:\%APPTITLE%-%VERSION%
DefaultGroupName=%APPTITLE% %VERSION%
LicenseFile=%LICENSEFILE%
InfoBeforeFile=%READMEFILE%
InfoAfterFile=%READMEAFTERFILE%
; MessagesFile=compiler:default.isl
DiskSpanning=0
; DiskSize=1457664
; DiskClusterSize=512
ReserveBytes=0
UseSetupLdr=1
SourceDir=%SOURCEDIR%
OutputDir=%OUTPUTDIR%

View File

@@ -1,22 +0,0 @@
src/jpeg/make*
src/jpeg/jpeg.dsp
src/jpeg/jpeg.dsw
src/jpeg/*.c
src/jpeg/*.h
src/jpeg/README
src/jpeg/*.doc
src/jpeg/jconfig.bcc
src/jpeg/jconfig.cfg
src/jpeg/jconfig.dj
src/jpeg/jconfig.mac
src/jpeg/jconfig.manx
src/jpeg/jconfig.mc6
src/jpeg/jconfig.sas
src/jpeg/jconfig.st
src/jpeg/jconfig.vc
src/jpeg/jconfig.vms
src/jpeg/jconfig.wat
src/jpeg/*.1
src/jpeg/*.opt
src/jpeg/change.log

View File

@@ -1,11 +0,0 @@
@echo off
Rem Make all files in a directory lower-case
dir /B > %TEMP%\files.tmp
set len=%@LINES[%TEMP%\files.tmp]
do i = 0 to %len by 1
set line=%@LINE[%TEMP%\files.tmp,%i]
ren %line% _%line%
ren _%line% %@LOWER[%line%]
enddo

View File

@@ -1,77 +0,0 @@
lib/dummy
docs/licence.txt
docs/mac/*.txt
docs/mac/*.hqx
docs/mac/*.sh
docs/mac/*.applescript
docs/mac/*.diff
docs/metrowerks/*.txt
docs/metrowerks/*.sh
docs/metrowerks/mwar
docs/metrowerks/mwpefar
docs/metrowerks/wchar_t_panther_fix/machine/ansi.h
distrib/mac/*-sh
src/html/htmlctrl/webkit/*.mm
samples/Info.plist
samples/html/htmlctrl/*.cpp
samples/html/htmlctrl/Makefile.in
samples/html/htmlctrl/makefile.gcc
samples/html/htmlctrl/makefile.vc
samples/html/htmlctrl/makefile.wat
samples/html/htmlctrl/makefile.bcc
samples/html/htmlctrl/*.bkl
src/wxWindows.pbproj/project.pbxproj
src/wxWindows.xcode/project.pbxproj
src/wxWindows.xcodeproj/project.pbxproj
src/mac/wxmac.icns
src/mac/carbon/*.cpp
src/mac/carbon/*.mm
src/mac/carbon/*.c
src/mac/carbon/*.r
src/mac/carbon/*.h
src/mac/carbon/morefile/*.c
src/mac/carbon/morefile/*.cpp
src/mac/carbon/morefile/*.h
src/mac/carbon/morefilex/*.c
src/mac/carbon/morefilex/*.cpp
src/mac/carbon/morefilex/*.h
src/mac/carbon/Info.plist.in
src/mac/carbon/wxmac.icns
src/mac/classic/*.cpp
src/mac/classic/*.c
src/mac/classic/*.r
src/mac/classic/*.h
src/mac/classic/morefile/*.c
src/mac/classic/morefile/*.cpp
src/mac/classic/morefile/*.h
src/mac/classic/Info.plist.in
src/mac/classic/wxmac.icns
src/mac/corefoundation/*.cpp
include/wx_pb.h
include/wx/mac/*.h
include/wx/mac/carbon/*.h
include/wx/mac/carbon/private/*.h
include/wx/mac/classic/*.h
include/wx/mac/classic/private/*.h
include/wx/mac/private/*.h
include/wx/mac/corefoundation/*.h
samples/minimal/minimal.pbproj/project.pbxproj
samples/minimal/minimal.xcode/project.pbxproj
samples/minimal/minimal.xcodeproj/project.pbxproj
samples/minimal/Info.plist

View File

@@ -1,595 +0,0 @@
Rem @echo off
Rem This script compiles wxWidgets and some samples/demos with
Rem a range of compilers.
Rem Note that it currently uses batch scripts local to Julian Smart's machine,
Rem to set up the environment correctly.
Rem This is a 4DOS batch file, though 4DOS dependencies have been kept to
Rem a minimum.
Rem Julian Smart, August 12th, 2000
Rem TODO: making a Unicode distribution by modifying setup.h programmatically.
Rem TODO: check differing setup.h options, again by programmatic modification
set WXDIR=%WXWIN%
set FATWXWIN=%WXDIR%
set FULLWXWIN=%WXDIR%
if not %@INDEX["%WXDIR%","wxWindows"] == "-1" set FATWXWIN=%@PATH[%WXDIR%]wxwind~1
if not %@INDEX["%WXDIR%","wxWindows"] == "-1" set FULLWXWIN=%@PATH[%WXDIR%]wxWindows
Rem The following line is for a specific environment -- edit, or comment out
Rem Not working in 4NT?
Rem if not %@INDEX["%WXDIR%","wx2stable"] == "-1" set FATWXWIN=c:\wx2sta~1\wxwind~1
echo Full wxWidgets path is %FULLWXWIN%, FAT path is %FATWXWIN%
set BUILDDEST=%TEMP%\wxWinBuild
Rem Only carry on if we haven't specified a single target
set CARRYON=0
rem goto end
if "%1" == "vc6" goto dovc6
if "%1" == "bc55" goto dobc55
if "%1" == "bc50" goto dobc50
if "%1" == "ming2952" goto doming2952
if "%1" == "cygwin11" goto docygwin11
if "%1" == "vc1" goto dovc1
if "%1" == "bc16" goto dobc16
set CARRYON=1
if not direxist %BUILDDEST% mkdir /S %BUILDDEST%
:dovc6
cd %WXDIR%\samples
erase /S *.exe
cd %WXDIR%\demos
erase /S *.exe
cd %WXDIR%\contrib\samples
erase /S *.exe
cd %WXDIR%\utils\tex2rtf\src
erase /S *.exe
echo Starting wxWidgets build at %_TIME, %_DATE
Rem First, VC++ 6.
echo === VC++ 6 ===
echo ==============
Rem Set up the environment
call msvc6
echo *** VC++ Debug ***
Rem VC++ Debug
cd %WXDIR%\src\msw
nmake -f makefile.vc cleanall
nmake -f makefile.vc
if not direxist %BUILDDEST%\VC6Debug mkdir /S %BUILDDEST%\VC6Debug
erase /F /Y %BUILDDEST%\VC6Debug
cd %WXDIR%\samples
nmake -f makefile.vc clean
Rem Make one sample, just to make sure Debug mode is OK
cd %WXDIR%\samples\controls
nmake -f makefile.vc
copy controls.exe %BUILDDEST%\VC6Debug
nmake -f makefile.vc clean
cd %WXDIR%\src\msw
nmake -f makefile.vc cleanall
echo *** VC++ Release ***
nmake -f makefile.vc cleanall FINAL=1
nmake -f makefile.vc FINAL=1
if not direxist %BUILDDEST%\VC6Release mkdir /S %BUILDDEST%\VC6Release
erase /F /Y %BUILDDEST%\VC6Release
cd %WXDIR%\samples
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
Rem Copy all executables to VC6Release
Rem Euch, this is the only way I can think of right now
Rem to copy them to the same directory. Daft but...
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\VC6Release
nmake -f makefile.vc clean FINAL=1
cd %WXDIR%\demos
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
Rem Copy all executables to VC6Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\VC6Release
nmake -f makefile.vc clean FINAL=1
Rem Compile OGL
cd %WXDIR%\contrib\src\ogl
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
cd %WXDIR%\contrib\samples\ogl\ogledit
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
copy *.exe %BUILDDEST%\VC6Release
nmake -f makefile.vc clean FINAL=1
cd %WXDIR%\contrib\samples\ogl\studio
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
copy *.exe %BUILDDEST%\VC6Release
nmake -f makefile.vc clean FINAL=1
cd %WXDIR%\contrib\src\ogl
nmake -f makefile.vc clean FINAL=1
Rem Compile Tex2RTF
cd %WXDIR%\utils\tex2rtf\src
nmake -f makefile.vc clean FINAL=1
nmake -f makefile.vc FINAL=1
copy *.exe %BUILDDEST%\VC6Release
nmake -f makefile.vc clean FINAL=1
Rem Clean up
cd %WXDIR%\src\msw
nmake -f makefile.vc cleanall FINAL=1
echo *** VC++ Debug DLL ***
nmake -f makefile.vc cleanall WXMAKINGDLL=1
nmake -f makefile.vc dll pch
if not direxist %BUILDDEST%\VC6DebugDLL mkdir /S %BUILDDEST%\VC6DebugDLL
erase /F /Y %BUILDDEST%\VC6DebugDLL
copy %WXDIR%\lib\*d.dll %BUILDDEST%\VC6DebugDLL
Rem Make one sample, for a sanity check
cd %WXDIR%\samples\controls
nmake -f makefile.vc WXUSINGDLL=1
copy controls.exe %BUILDDEST%\VC6DebugDLL
nmake -f makefile.vc clean
cd %WXDIR%\src\msw
nmake -f makefile.vc cleanall WXMAKINGDLL=1
echo *** VC++ Release DLL ***
nmake -f makefile.vc cleanall FINAL=1 WXMAKINGDLL=1
nmake -f makefile.vc dll pch FINAL=1
if not direxist %BUILDDEST%\VC6ReleaseDLL mkdir /S %BUILDDEST%\VC6ReleaseDLL
erase /F /Y %BUILDDEST%\VC6ReleaseDLL
copy %WXDIR%\lib\*.dll %BUILDDEST%\VC6ReleaseDLL
Rem Make one sample, for a sanity check
cd %WXDIR%\samples\controls
nmake -f makefile.vc WXUSINGDLL=1 FINAL=1
copy controls.exe %BUILDDEST%\VC6ReleaseDLL
nmake -f makefile.vc clean FINAL=1
cd %WXDIR%\src\msw
nmake -f makefile.vc cleanall WXMAKINGDLL=1 FINAL=1
if "%CARRYON" == "0" goto end
:dobc55
echo === BC++ 5.5 ===
echo ================
call bcb55
echo *** WIN32 BC++ Debug ***
Rem WIN32 BC++ Debug
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall
make -f makefile.b32
if not direxist %BUILDDEST%\BC55Debug mkdir /S %BUILDDEST%\BC55Debug
erase /F /Y %BUILDDEST%\BC55Debug
cd %WXDIR%\samples
make -f makefile.b32 clean
Rem Make one sample, just to make sure Debug mode is OK
cd %WXDIR%\samples\controls
make -f makefile.b32
copy controls.exe %BUILDDEST%\BC55Debug
make -f makefile.b32 clean
Rem Compile OGL
cd %WXDIR%\contrib\src\ogl
make -f makefile.b32 clean
make -f makefile.b32
cd %WXDIR%\contrib\samples\ogl\ogledit
make -f makefile.b32 clean
make -f makefile.b32
copy *.exe %BUILDDEST%\BC55Debug
make -f makefile.b32 clean
cd %WXDIR%\contrib\samples\ogl\studio
make -f makefile.b32 clean
make -f makefile.b32
copy *.exe %BUILDDEST%\BC55Debug
make -f makefile.b32 clean
cd %WXDIR%\contrib\src\ogl
make -f makefile.b32 clean
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall
goto bcdebugdll
echo *** WIN32 BC++ Release ***
make -f makefile.b32 cleanall FINAL=1
make -f makefile.b32 FINAL=1
if not direxist %BUILDDEST%\BC55Release mkdir /S %BUILDDEST%\BC55Release
erase /F /Y %BUILDDEST%\BC55Release
cd %WXDIR%\samples
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
Rem Copy all executables to BC55Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\BC55Release
make -f makefile.b32 clean FINAL=1
cd %WXDIR%\demos
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
Rem Copy all executables to BC55Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\BC55Release
make -f makefile.b32 clean FINAL=1
Rem Compile OGL
cd %WXDIR%\contrib\src\ogl
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
cd %WXDIR%\contrib\samples\ogl\ogledit
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
copy *.exe %BUILDDEST%\BC55Release
make -f makefile.b32 clean FINAL=1
cd %WXDIR%\contrib\samples\ogl\studio
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
copy *.exe %BUILDDEST%\BC55Release
make -f makefile.b32 clean FINAL=1
cd %WXDIR%\contrib\src\ogl
make -f makefile.b32 clean FINAL=1
Rem Compile Tex2RTF
cd %WXDIR%\utils\tex2rtf\src
make -f makefile.b32 clean FINAL=1
make -f makefile.b32 FINAL=1
copy *.exe %BUILDDEST%\BC55Release
make -f makefile.b32 clean FINAL=1
Rem Clean up
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall FINAL=1
:bcdebugdll
echo *** WIN32 BC++ Debug DLL ***
make -f makefile.b32 cleanall
make -f makefile.b32 dll
if not direxist %BUILDDEST%\BC55DebugDLL mkdir /S %BUILDDEST%\BC55DebugDLL
erase /F /Y %BUILDDEST%\BC55DebugDLL
copy %WXDIR%\lib\*.dll %BUILDDEST%\BC55DebugDLL
Rem Make one sample, for a sanity check
cd %WXDIR%\samples\controls
make -f makefile.b32 WXUSINGDLL=1
copy controls.exe %BUILDDEST%\BC55DebugDLL
make -f makefile.b32 clean
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall
if "%CARRYON" == "0" goto end
Rem Skip BC++ 5.0, obsolete
goto docygwin11
:dobc50
echo === BC++ 5.0 ===
echo ================
call borland
echo *** WIN32 BC++ Debug ***
Rem WIN32 BC++ Debug
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall
make -f makefile.b32
if not direxist %BUILDDEST%\BC50Debug mkdir /S %BUILDDEST%\BC50Debug
erase /F /Y %BUILDDEST%\BC50Debug
cd %WXDIR%\samples
make -f makefile.b32 clean
Rem Make one sample, just to make sure Debug mode is OK
cd %WXDIR%\samples\controls
make -f makefile.b32
copy controls.exe %BUILDDEST%\BC50Debug
make -f makefile.b32 clean
cd %WXDIR%\src\msw
make -f makefile.b32 cleanall
if "%CARRYON" == "0" goto end
:docygwin11
echo === Cygwin 1.1 ===
echo ==================
call cygwin11
echo *** Cygwin Debug ***
Rem Cygwin Release
cd %WXDIR%\src\msw
make -f makefile.g95 cleanall
make -f makefile.g95 FINAL=1
if not direxist %BUILDDEST%\Cygwin11Release mkdir /S %BUILDDEST%\Cygwin11Release
erase /F /Y %BUILDDEST%\Cygwin11Release
cd %WXDIR%\samples
make -f makefile.g95 clean FINAL=1
if not direxist %BUILDDEST%\Cygwin11Release mkdir /S %BUILDDEST%\Cygwin11Release
erase /F /Y %BUILDDEST%\Cygwin11Release
cd %WXDIR%\samples
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
Rem Copy all executables to Cygwin11Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\Cygwin11Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\demos
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
Rem Copy all executables to Cygwin11Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\Cygwin11Release
make -f makefile.g95 clean FINAL=1
Rem Compile OGL
cd %WXDIR%\contrib\src\ogl
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
cd %WXDIR%\contrib\samples\ogl\ogledit
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Cygwin11Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\contrib\samples\ogl\studio
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Cygwin11Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\contrib\src\ogl
make -f makefile.g95 clean FINAL=1
Rem Compile Tex2RTF
cd %WXDIR%\utils\tex2rtf\src
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Cygwin11Release
make -f makefile.g95 clean FINAL=1
echo Stripping executables...
strip %BUILDDEST%\Cygwin11Release\*.exe
Rem Cleanup
cd %WXDIR%\src\msw
make -f makefile.g95 cleanall
if "%CARRYON" == "0" goto end
:doming2952
echo === Mingw32 2.95.2 ===
echo ======================
call ming2952
echo *** Cygwin Debug ***
Rem Cygwin Release
cd %WXDIR%\src\msw
make -f makefile.g95 cleanall
make -f makefile.g95 FINAL=1
if not direxist %BUILDDEST%\Ming2952Release mkdir /S %BUILDDEST%\Ming2952Release
erase /F /Y %BUILDDEST%\Ming2952Release
cd %WXDIR%\samples
make -f makefile.g95 clean FINAL=1
if not direxist %BUILDDEST%\Ming2952Release mkdir /S %BUILDDEST%\Ming2952Release
erase /F /Y %BUILDDEST%\Ming2952Release
cd %WXDIR%\samples
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
Rem Copy all executables to Ming2952Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\Ming2952Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\demos
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
Rem Copy all executables to Ming2952Release
erase %TEMP%\temp.zip
zip16 -r %TEMP%\temp.zip *.exe
unzip32 -o %TEMP%\temp.zip -d %BUILDDEST%\Ming2952Release
make -f makefile.g95 clean FINAL=1
Rem Compile OGL
cd %WXDIR%\contrib\src\ogl
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
cd %WXDIR%\contrib\samples\ogl\ogledit
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Ming2952Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\contrib\samples\ogl\studio
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Ming2952Release
make -f makefile.g95 clean FINAL=1
cd %WXDIR%\contrib\src\ogl
make -f makefile.g95 clean FINAL=1
Rem Compile Tex2RTF
cd %WXDIR%\utils\tex2rtf\src
make -f makefile.g95 clean FINAL=1
make -f makefile.g95 FINAL=1
copy *.exe %BUILDDEST%\Ming2952Release
make -f makefile.g95 clean FINAL=1
echo Stripping executables...
strip %BUILDDEST%\Ming2952Release\*.exe
Rem Cleanup
cd %WXDIR%\src\msw
make -f makefile.g95 cleanall
if "%CARRYON" == "0" goto end
:dovc1
echo === 16-bit VC++ ===
echo ===================
Rem Set up the environment
call msvc1
Rem Needs full wxWidgets path for making libraries
set WXWIN=%FULLWXWIN%
echo *** VC++ Debug ***
Rem VC++ Debug
cd %WXDIR%\src\msw
nmake -f makefile.dos cleanall
nmake -f makefile.dos
if not direxist %BUILDDEST%\VC1Debug mkdir /S %BUILDDEST%\VC1Debug
erase /F /Y %BUILDDEST%\VC1Debug
Rem Make one sample, just to make sure Debug mode is OK
cd %WXDIR%\samples\minimal
nmake -f makefile.dos clean
Rem Needs FAT wxWidgets path for making executables
set WXWIN=%FATWXWIN%
nmake -f makefile.dos
copy minimal.exe /S %BUILDDEST%\VC1Debug
nmake -f makefile.dos clean
cd %WXDIR%\src\msw
nmake -f makefile.dos cleanall
Rem Needs full wxWidgets path for making libraries
set WXWIN=%FULLWXWIN%
echo *** VC++ Release ***
nmake -f makefile.dos cleanall FINAL=1
nmake -f makefile.dos FINAL=1
if not direxist %BUILDDEST%\VC1Release mkdir /S %BUILDDEST%\VC1Release
erase /F /Y %BUILDDEST%\VC1Release
Rem Make one sample, just to make sure Release mode is OK
cd %WXDIR%\samples\minimal
nmake -f makefile.dos clean
nmake -f makefile.dos FINAL=1
Rem Needs FAT wxWidgets path for making executables
set WXWIN=%FATWXWIN%
nmake -f makefile.dos FINAL=1
copy minimal.exe /S %BUILDDEST%\VC1Release
nmake -f makefile.dos clean
set WXWIN=%tmpwxwin%
Rem Clean up
cd %WXDIR%\src\msw
nmake -f makefile.dos cleanall FINAL=1
if "%CARRYON" == "0" goto end
:dobc16
echo === 16-bit BC++ ===
echo ===================
Rem Set up the environment
call borland
echo *** 16-bit BC++ Debug ***
Rem 16-bit BC++ Debug
cd %WXDIR%\src\msw
make -f makefile.bcc cleanall
make -f makefile.bcc
if not direxist %BUILDDEST%\BC16Debug mkdir /S %BUILDDEST%\BC16Debug
erase /F /Y %BUILDDEST%\BC16Debug
Rem Make one sample, just to make sure Debug mode is OK
cd %WXDIR%\samples\minimal
make -f makefile.bcc clean
make -f makefile.bcc
copy minimal.exe /S %BUILDDEST%\BC16Debug
make -f makefile.bcc clean
cd %WXDIR%\src\msw
make -f makefile.bcc cleanall
echo *** 16-bit BC++ Release ***
make -f makefile.bcc cleanall FINAL=1
make -f makefile.bcc FINAL=1
if not direxist %BUILDDEST%\BC16Release mkdir /S %BUILDDEST%\BC16Release
erase /F /Y %BUILDDEST%\BC16Release
Rem Make one sample, just to make sure Release mode is OK
cd %WXDIR%\samples\minimal
make -f makefile.bcc clean
make -f makefile.bcc FINAL=1
copy minimal.exe /S %BUILDDEST%\BC16Release
make -f makefile.bcc clean
Rem Clean up
cd %WXDIR%\src\msw
make -f makefile.bcc cleanall FINAL=1
:end
echo Finished wxWidgets build at %_TIME, %_DATE

View File

@@ -1,270 +0,0 @@
#! /bin/bash
# makedist.sh
#
# Build wxWidgets 2 for Windows distribution.
# This builds all required binaries and documents before calling
# zipdist.sh to make the archives.
#
# To use this script, you need:
#
# - CygWin installation, for bash etc.
# - VC++ 6 or higher, to compile the binaries
# - WinHelp compiler, HTML Help compiler, Tex2RTF on your path
# - WISE Install 5
# - Word 97 (not tested with higher versions)
# - Adobe Acrobat & Distiller
#
# Before running this script, you will need to:
#
# - update the readmes, change log, manual version etc.
# - update version.h
# - update distrib/msw/wisetop.txt, wisebott.txt with the correct version
# number, plus any hard-wired wxWidgets paths
# - test on a variety of compilers
#
# TODO:
#
# - generation of PDF (only PDF RTF generated so far)
# - perhaps prompt the user to read the important release docs,
# version.h, setup.h
#
# Julian Smart, October 2000
SRC=`cygpath -u $WXWIN`
DEST=$SRC/deliver
TMPDIR=`cygpath -u $TEMP`
OK=1
DOWISE=0
DOPDF=0
DOALL=1
DOCSONLY=0
WXWINONLY=0
WISEONLY=0
BINONLY=0
PDFONLY=0
# For some reason, if we pipe output to egrep, we see output, but not otherwise.
WARNINGS=": decorated name|: see reference|: see declaration|C4786|VC98\\\\INCLUDE|template<>"
setup_vars() {
VCPATH="/c/Program Files/Microsoft Visual Studio/common/msdev98/bin:/c/Program Files/Microsoft Visual Studio/VC98/bin:DevStudio/VC/bin:/c/Program Files/Microsoft Visual Studio/common/tools:/c/Program Files/HTML Help Workshop"
INCLUDE="C:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDE;C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE;C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE;C:\Program Files\Tcl\include;C:\Program Files\HTML Help Workshop\include"
LIB="C:\Program Files\Microsoft Visual Studio\VC98\lib;C:\Program Files\Microsoft Visual Studio\VC98\MFC\lib;C:\Program Files\Tcl\lib;C:\Program Files\HTML Help Workshop\lib"
TCLHOME=C:/PROGRA~1/Tcl export TCLHOME
PATH="$PATH:$VCPATH" export PATH
export INCLUDE LIB
WORDEXE="/c/Program Files/Microsoft Office/Office/WINWORD.EXE"
}
check_compile() {
egrep ": error C|fatal error" $TMPDIR/buildlog.txt > $TMPDIR/errorlog.txt
if [ -s $TMPDIR/errorlog.txt ]; then
echo Did not build $0 successfully.
OK=0
fi
}
check_files() {
if [ ! -d "$SRC" ]; then
echo "$SRC" does not exist.
OK=0
fi
if [ ! -d "$SRC/deliver" ]; then
mkdir "$SRC/deliver"
fi
if [ ! -e $SRC/include/wx/msw/setup.h ]; then
cp "$SRC/include/wx/msw/setup0.h" "$SRC/include/wx/msw/setup.h"
echo setup0.h has been copied to setup.h.
echo You must now edit this file to restore release settings,
echo then run this script again.
OK=0
notepad.exe "$SRC/include/wx/msw/setup.h"
fi
if [ ! -d "$SRC/bin" ]; then
mkdir "$SRC/bin"
fi
if [ ! -e "$SRC/bin/DBGVIEW.EXE" ]; then
echo Please put DBGVIEW.EXE, DBGVIEW.CNT, DBGVIEW.HLP into $SRC/bin
echo and run the script again.
OK=0
fi
}
build_docs() {
cd "$SRC/src/msw"
echo "---------------------------------"
echo "Building wxWidgets documents"
nmake -f makefile.vc cleandocs docs
cd "$SRC/utils/tex2rtf/src"
nmake -f makefile.vc html htmlhelp htb hlp pdfrtf
cd "$SRC/contrib/src/ogl"
nmake -f makefile.vc html htmlhelp htb hlp pdfrtf
cd "$SRC/contrib/src/mmedia"
nmake -f makefile.vc html htmlhelp htb hlp pdfrtf
}
# TODO: Make PDF via Word, if Word and Adobe Acrobat are present.
# This has to be interactive at present.
build_pdf() {
echo "---------------------------------"
echo "Building wxWidgets PDF documents"
if [ -e "$WORDEXE" ]; then
"$WORDEXE" "$WXWIN\\docs\\pdf\\wx.rtf"
"$WORDEXE" "$WXWIN\\docs\\pdf\\tex2rtf.rtf"
"$WORDEXE" "$WXWIN\\contrib\\docs\\pdf\\ogl.rtf"
"$WORDEXE" "$WXWIN\\contrib\\docs\\mmedia\\ogl.rtf"
else
echo MS Word not present. Not doing PDF build.
fi
}
# Build wxWidgets
build_wxwin_vc() {
echo "---------------------------------"
echo "Building wxWidgets using VC++"
cd "$SRC/src"
echo Building wxWidgets Release library in `pwd`
echo Command: msdev wxvc.dsw /useenv /make "wxvc - Win32 Release" /rebuild
msdev wxvc.dsw /useenv /make "wxvc - Win32 Release" /rebuild | egrep -v "$WARNINGS"
}
build_tex2rtf() {
echo "---------------------------------"
echo "Building Tex2RTF using VC++"
cd "$SRC/utils/tex2rtf/src"
msdev Tex2RTFVC.dsw /useenv /make "Tex2RTFVC - Win32 Release" /rebuild | egrep -v "$WARNINGS" | tee $TMPDIR/buildlog.txt
check_compile "Tex2RTF"
}
build_life() {
echo "---------------------------------"
echo "Building Life! using VC++"
cd "$SRC/demos/life"
msdev LifeVC.dsw /useenv /make "LifeVC - Win32 Release" /rebuild | egrep -v "$WARNINGS" | tee $TMPDIR/buildlog.txt
check_compile "Life! Demo"
}
build_executables() {
build_tex2rtf
build_life
}
copy_files() {
cp "$SRC/utils/tex2rtf/src/Release/tex2rtf.exe" "$SRC/bin"
cp "$SRC/docs/winhelp/tex2rtf.hlp" "$SRC/docs/winhelp/tex2rtf.cnt" "$SRC/bin"
cp "$SRC/demos/life/Release/life.exe" "$SRC/demos/life/breeder.lif" "$SRC/bin"
}
# Process command line options.
for i in "$@"; do
case "$i" in
--wise) DOWISE=1 ;;
--pdf) DOPDF=1 ;;
--wise-only)
WISEONLY=1
DOWISE=1
DOALL=0
;;
--docs-only)
DOCSONLY=1
DOALL=0
;;
--bin-only)
BINONLY=1
DOALL=0
;;
--wxwin-only)
WXWINONLY=1
DOALL=0
;;
--pdf-only)
PDFONLY=1
DOPDF=1
DOALL=0
;;
*)
echo Usage: $0 "[ options ]"
echo Generates documentation and binaries for creating a distribution,
echo and optionally generates the zip/setup.exe distribution by
echo calling zipdist.sh.
echo
echo Options:
echo " --help Display this help message"
echo " --wise Additonally, build zips and setup.exe"
echo " --pdf Additionally, try to generate PDF"
echo " --wise-only Only do zip/setup phase"
echo " --wxwin-only Only do wxWin lib building phase"
echo " --docs-only Only do docs building phase"
echo " --pdf-only Only do PDF building phase"
echo " --bin-only Only do .exe building phase"
exit 1
;;
esac
done
mkdir -p $SRC/docs/pdf
mkdir -p $SRC/docs/html
mkdir -p $SRC/docs/htmlhelp
mkdir -p $SRC/docs/htb
mkdir -p $SRC/docs/winhelp
mkdir -p $SRC/contrib/docs/pdf
mkdir -p $SRC/contrib/docs/html
mkdir -p $SRC/contrib/docs/htmlhelp
mkdir -p $SRC/contrib/docs/htb
mkdir -p $SRC/contrib/docs/winhelp
setup_vars
check_files
if [ "$OK" = "1" ]; then
if [ "$DOCSONLY" = "1" ] || [ "$DOALL" = "1" ]; then
build_docs
fi
fi
if [ "$OK" = "1" ] && [ "$DOPDF" = "1" ]; then
if [ "$PDFONLY" = "1" ] || [ "$DOALL" = "1" ]; then
build_pdf
fi
fi
if [ "$OK" = "1" ]; then
if [ "$WXWINONLY" = "1" ] || [ "$DOALL" = "1" ]; then
build_wxwin_vc
fi
fi
if [ "$OK" = "1" ]; then
if [ "$BINONLY" = "1" ] || [ "$DOALL" = "1" ]; then
build_executables
fi
fi
if [ "$OK" = "1" ]; then
copy_files
fi
if [ "$OK" = "1" ] && [ "$DOWISE" = "1" ]; then
if [ "$WISEONLY" = "1" ] || [ "$DOALL" = "1" ]; then
$SRC/distrib/msw/zipdist.sh --wise
fi
fi
if [ "$OK" = "1" ]; then
echo Finished successfully.
else
echo Finished unsuccessfully. There were errors.
fi
echo Press return to continue.
read dummy

View File

@@ -1,200 +0,0 @@
Makefile.in
src/regex/Makefile.in
locale/Makefile
tests/Makefile.in
samples/Makefile.in
samples/access/Makefile.in
samples/artprov/Makefile.in
samples/aui/Makefile.in
samples/calendar/Makefile.in
samples/caret/Makefile.in
samples/checklst/Makefile.in
samples/config/Makefile.in
samples/console/Makefile.in
samples/controls/Makefile.in
samples/db/Makefile.in
samples/debugrpt/Makefile.in
samples/dialogs/Makefile.in
samples/dnd/Makefile.in
samples/docview/Makefile.in
samples/docvwmdi/Makefile.in
samples/dragimag/Makefile.in
samples/drawing/Makefile.in
samples/dynamic/Makefile.in
samples/erase/Makefile.in
samples/except/Makefile.in
samples/except/Makefile.in
samples/exec/Makefile.in
samples/event/Makefile.in
samples/grid/Makefile.in
samples/keyboard/Makefile.in
samples/help/Makefile.in
samples/htlbox/Makefile.in
samples/internat/Makefile.in
samples/ipc/Makefile.in
samples/html/Makefile.in
samples/html/about/Makefile.in
samples/html/help/Makefile.in
samples/html/htmlctrl/Makefile.in
samples/html/helpview/Makefile.in
samples/html/printing/Makefile.in
samples/html/test/Makefile.in
samples/html/virtual/Makefile.in
samples/html/widget/Makefile.in
samples/html/zip/Makefile.in
samples/html/htmlctrl/Makefile.in
samples/image/Makefile.in
samples/joytest/Makefile.in
samples/layout/Makefile.in
samples/listbox/Makefile.in
samples/listctrl/Makefile.in
samples/mfc/Makefile.in
samples/mdi/Makefile.in
samples/mediaplayer/Makefile.in
samples/minifram/Makefile.in
samples/minimal/Makefile.in
samples/multimon/Makefile.in
samples/notebook/Makefile.in
samples/nativdlg/Makefile.in
samples/oleauto/Makefile.in
samples/ownerdrw/Makefile.in
samples/png/Makefile.in
samples/popup/Makefile.in
samples/printing/Makefile.in
samples/propgrid/Makefile.in
samples/propsize/Makefile.in
samples/regtest/Makefile.in
samples/render/Makefile.in
samples/richedit/Makefile.in
samples/richtext/Makefile.in
samples/rotate/Makefile.in
samples/sashtest/Makefile.in
samples/scroll/Makefile.in
samples/shaped/Makefile.in
samples/sound/Makefile.in
samples/sockets/Makefile.in
samples/splash/Makefile.in
samples/splitter/Makefile.in
samples/statbar/Makefile.in
samples/taskbar/Makefile.in
samples/text/Makefile.in
samples/thread/Makefile.in
samples/toolbar/Makefile.in
samples/treectrl/Makefile.in
samples/typetest/Makefile.in
samples/dialup/Makefile.in
samples/display/Makefile.in
samples/font/Makefile.in
samples/menu/Makefile.in
samples/memcheck/Makefile.in
samples/opengl/Makefile.in
samples/opengl/cube/Makefile.in
samples/opengl/penguin/Makefile.in
samples/opengl/isosurf/Makefile.in
samples/validate/Makefile.in
samples/vscroll/Makefile.in
samples/xrc/Makefile.in
samples/widgets/Makefile.in
samples/wizard/Makefile.in
demos/Makefile.in
demos/bombs/Makefile.in
demos/forty/Makefile.in
demos/fractal/Makefile.in
demos/poem/Makefile.in
demos/life/Makefile.in
demos/dbbrowse/Makefile.in
utils/tex2rtf/Makefile.in
utils/tex2rtf/src/Makefile.in
utils/makegen/Makefile.in
utils/HelpGen/Makefile.in
utils/HelpGen/src/Makefile.in
utils/Makefile.in
utils/hhp2cached/Makefile.in
utils/emulator/Makefile.in
utils/emulator/src/Makefile.in
utils/helpview/Makefile.in
utils/helpview/src/Makefile.in
utils/wxrc/Makefile.in
contrib/Makefile.in
contrib/src/Makefile.in
contrib/src/applet/Makefile.in
contrib/src/canvas/Makefile.in
contrib/src/foldbar/Makefile.in
contrib/src/ogl/Makefile.in
contrib/src/mmedia/Makefile.in
contrib/src/stc/Makefile.in
contrib/src/plot/Makefile.in
contrib/src/gizmos/Makefile.in
contrib/src/animate/Makefile.in
contrib/src/fl/Makefile.in
contrib/src/net/Makefile.in
contrib/samples/Makefile.in
contrib/samples/foldbar/Makefile.in
contrib/samples/foldbar/extended/Makefile.in
contrib/samples/foldbar/foldpanelbar/Makefile.in
contrib/samples/gizmos/Makefile.in
contrib/samples/gizmos/multicell/Makefile.in
contrib/samples/gizmos/splittree/Makefile.in
contrib/samples/gizmos/editlbox/Makefile.in
contrib/samples/gizmos/dynsash/Makefile.in
contrib/samples/gizmos/dynsash_switch/Makefile.in
contrib/samples/gizmos/led/Makefile.in
contrib/samples/ogl/Makefile.in
contrib/samples/ogl/ogledit/Makefile.in
contrib/samples/ogl/studio/Makefile.in
contrib/samples/mmedia/Makefile.in
contrib/samples/plot/Makefile.in
contrib/samples/stc/Makefile.in
contrib/samples/applet/Makefile.in
contrib/samples/animate/Makefile.in
contrib/samples/fl/Makefile.in
contrib/samples/svg/Makefile.in
contrib/src/svg/Makefile.in
contrib/src/deprecated/Makefile.in
contrib/samples/deprecated/Makefile.in
contrib/samples/deprecated/proplist/Makefile.in
contrib/samples/deprecated/treelay/Makefile.in
contrib/samples/deprecated/resource/Makefile.in
contrib/utils/Makefile.in
descrip.mms
lib/vms.opt
lib/vms_gtk.opt
contrib/samples/mmedia/descrip.mms
demos/bombs/descrip.mms
samples/calendar/descrip.mms
samples/caret/descrip.mms
samples/checklst/descrip.mms
samples/config/descrip.mms
samples/controls/descrip.mms
samples/db/descrip.mms
samples/dialogs/descrip.mms
samples/dialup/descrip.mms
samples/dnd/descrip.mms
samples/docview/descrip.mms
samples/drawing/descrip.mms
samples/font/descrip.mms
samples/image/descrip.mms
samples/mdi/descrip.mms
samples/menu/descrip.mms
samples/minimal/descrip.mms
samples/resource/descrip.mms
src/common/descrip.mms
src/generic/descrip.mms
src/gtk/descrip.mms
src/html/descrip.mms
src/motif/descrip.mms
src/x11/descrip.mms
src/png/scripts/descrip.mms
src/unix/descrip.mms
src/zlib/descrip.mms
src/xml/descrip.mms
src/xrc/descrip.mms
src/regex/descrip.mms
utils/helpview/src/descrip.mms
utils/tex2rtf/src/descrip.mms

View File

@@ -1,300 +0,0 @@
# File: makefile.vc
# Author: Julian Smart
# Created: 1997
# Updated:
# Copyright: (c) 1997, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds wxWidgets library wx.lib for VC++ (32-bit)
# Arguments:
#
# FINAL=1 argument to nmake to build version with no debugging info.
# dll builds a library (wxdll.lib) suitable for creating DLLs
#
WXDIR=$(WXWIN)
THISDIR=$(WXWIN)\distrib\msw
DOCDIR = $(WXDIR)\docs
WAITFLAG=/w
# Making documents
docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
alldocs: docs
hlp: wxhlp
wxhlp: $(DOCDIR)/winhelp/wx.hlp
rtf: $(DOCDIR)/winhelp/wx.rtf
pdfrtf: $(DOCDIR)/pdf/wx.rtf
html: wxhtml
htb: $(DOCDIR)\htb\wx.htb
wxhtml: $(DOCDIR)\html\wx\wx_contents.html
htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
ps: wxps
wxps: $(WXDIR)\docs\ps\wx.ps
allhlp: wxhlp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc hlp
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc hlp
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc hlp
# cd $(THISDIR)
allhtml: wxhtml
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc html
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc html
# cd $(WXDIR)\contrib\src\fl
# cd $(THISDIR)
allhtmlhelp: htmlhelp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc htmlhelp
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc htmlhelp
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc htmlhelp
# cd $(THISDIR)
allhtb: htb
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc htb
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc htb
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc htb
# cd $(THISDIR)
allps: wxps referencps
cd $(WXDIR)\utils\dialoged\src
nmake -f makefile.vc ps
cd $(WXDIR)\utils\tex2rtf\src
nmake -f makefile.vc ps
cd $(WXDIR)\contrib\src\fl
nmake -f makefile.vc ps
cd $(THISDIR)
allpdfrtf: pdfrtf
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc pdfrtf
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc pdfrtf
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc pdfrtf
# cd $(THISDIR)
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
cd $(DOCDIR)/latex/wx
-mkdir $(DOCDIR)\winhelp
-erase wx.ph
hc wx
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
move wx.hlp $(DOCDIR)\winhelp\wx.hlp
move wx.cnt $(DOCDIR)\winhelp\wx.cnt
cd $(THISDIR)
$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\pdf
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
cd $(THISDIR)
# This target does two sets of HTML: one using a style sheet, for
# the purposes of the CHM file, and one without.
$(DOCDIR)\html\wx\wx_contents.html: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\html\wx
copy *.gif $(DOCDIR)\html\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
-mkdir $(DOCDIR)\mshtml
-mkdir $(DOCDIR)\mshtml\wx
copy *.gif $(DOCDIR)\mshtml\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini
-erase $(DOCDIR)\html\wx\*.con
-erase $(DOCDIR)\html\wx\*.ref
-erase $(DOCDIR)\latex\wx\*.con
-erase $(DOCDIR)\latex\wx\*.ref
cd $(THISDIR)
$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx_contents.html $(DOCDIR)\mshtml\wx\wx.hhp
cd $(DOCDIR)\mshtml\wx
copy $(DOCDIR)\latex\wx\wx.css .
-hhc wx.hhp
-mkdir ..\..\htmlhelp
-erase $(DOCDIR)\htmlhelp\wx.chm
move wx.chm ..\..\htmlhelp
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
cd $(WXDIR)\docs\latex\wx
-latex manual
-latex manual
-makeindx manual
-bibtex manual
-latex manual
-latex manual
cd $(THISDIR)
$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o wx.ps manual
move wx.ps $(WXDIR)\docs\ps\wx.ps
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
cd $(WXDIR)\docs\latex\wx
-latex referenc
-latex referenc
-makeindx referenc
-bibtex referenc
-latex referenc
-latex referenc
cd $(THISDIR)
$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o referenc.ps referenc
move referenc.ps $(WXDIR)\docs\ps\referenc.ps
cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
# This can then be used with e.g. helpview.
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx_contents.html
cd $(WXDIR)\docs\html\wx
-erase wx.zip wx.htb
zip wx.zip *.html *.gif *.hhp *.hhc *.hhk
-mkdir $(DOCDIR)\htb
move wx.zip $(DOCDIR)\htb\wx.htb
cd $(THISDIR)
# In order to force document reprocessing
touchmanual:
-touch $(WXDIR)\docs\latex\wx\manual.tex
updatedocs: touchmanual alldocs
cleandocs:
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
-erase $(DOCDIR)\html\wx\*.html
-erase $(DOCDIR)\pdf\wx.rtf
-erase $(DOCDIR)\latex\wx\wx.rtf
-erase $(DOCDIR)\latex\wx\WX.PH
-erase $(DOCDIR)\htmlhelp\wx.chm
-erase $(DOCDIR)\htb\wx.htb
# Only clean the online help, not PDF RTF
cleanonlinehelp:
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
-erase $(DOCDIR)\html\wx\*.html
-erase $(DOCDIR)\latex\wx\wx.rtf
-erase $(DOCDIR)\latex\wx\WX.PH
-erase $(DOCDIR)\latex\wx\wx.hpj
-erase $(DOCDIR)\htmlhelp\wx.chm
-erase $(DOCDIR)\mshtml\wx\*.html
-erase $(DOCDIR)\htb\wx.htb
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
# Office StartUp folder, and PDFMaker should be installed.
updatepdf: # touchmanual pdfrtf
start $(WAITFLAG) "winword d:\wx2\wxWidgets\docs\pdf\wx.rtf /mGeneratePDF"
MFTYPE=vc
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
cd $(WXWIN)\distrib\msw\tmake
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
######################
# Tex2RTF
######################
TEX2RTFDOCDIR=$(WXDIR)\utils\tex2rtf\docs
tex2rtfhtml: $(DOCDIR)\html\tex2rtf\t2rtf.htm
tex2rtfhtmlhelp: $(DOCDIR)\htmlhelp\tex2rtf.chm
tex2rtfhtb: $(DOCDIR)\htb\tex2rtf.htb
tex2rtfhlp: $(DOCDIR)\winhelp\tex2rtf.hlp
tex2rtfpdfrtf: $(DOCDIR)\pdf\tex2rtf.rtf
tex2rtfps: $(WXDIR)\docs\ps\tex2rtf.ps
$(DOCDIR)\winhelp\tex2rtf.hlp: $(TEX2RTFDOCDIR)\tex2rtf.rtf $(TEX2RTFDOCDIR)\tex2rtf.hpj
cd $(TEX2RTFDOCDIR)
-erase tex2rtf.ph
hc tex2rtf
copy tex2rtf.hlp $(DOCDIR)\winhelp\tex2rtf.hlp
copy tex2rtf.cnt $(DOCDIR)\winhelp\tex2rtf.cnt
cd $(THISDIR)
$(TEX2RTFDOCDIR)\tex2rtf.rtf: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(TEX2RTFDOCDIR)\tex2rtf.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)\pdf\tex2rtf.rtf: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(DOCDIR)\pdf\tex2rtf.rtf -twice -rtf
cd $(THISDIR)
$(DOCDIR)\html\tex2rtf\t2rtf.htm: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-mkdir $(DOCDIR)\html\tex2rtf
-copy *.gif $(DOCDIR)\html\tex2rtf
-start /w tex2rtf $(TEX2RTFDOCDIR)\tex2rtf.tex $(DOCDIR)\html\tex2rtf\t2rtf.htm -twice -html
-erase $(DOCDIR)\html\tex2rtf\*.con
-erase $(DOCDIR)\html\tex2rtf\*.ref
cd $(THISDIR)
$(DOCDIR)\htmlhelp\tex2rtf.chm : $(DOCDIR)\html\tex2rtf\t2rtf.htm $(DOCDIR)\html\tex2rtf\t2rtf.hhp
cd $(DOCDIR)\html\tex2rtf
-hhc t2rtf.hhp
move t2rtf.chm $(DOCDIR)\htmlhelp\tex2rtf.chm
cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
# This can then be used with e.g. helpview.
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
$(DOCDIR)\htb\tex2rtf.htb: $(DOCDIR)\html\tex2rtf\t2rtf.htm
cd $(DOCDIR)\html\tex2rtf
-erase tex2rtf.zip tex2rtf.htb
zip tex2rtf.zip *.htm *.gif *.hhp *.hhc *.hhk
-mkdir $(DOCDIR)\htb
move tex2rtf.zip $(DOCDIR)\htb\tex2rtf.htb
cd $(THISDIR)
$(TEX2RTFDOCDIR)\tex2rtf.dvi: $(DOCSOURCES)
cd $(TEX2RTFDOCDIR)
-latex tex2rtf
-latex tex2rtf
-makeindx tex2rtf
-bibtex tex2rtf
-latex tex2rtf
-latex tex2rtf
cd $(THISDIR)
$(WXDIR)\docs\ps\tex2rtf.ps: $(TEX2RTFDOCDIR)\tex2rtf.dvi
cd $(TEX2RTFDOCDIR)
-dvips32 -o tex2rtf.ps tex2rtf
copy tex2rtf.ps $(WXDIR)\docs\ps\tex2rtf.ps
cd $(THISDIR)

View File

@@ -1,71 +0,0 @@
@echo off
Rem Make an Inno Setup distribution list, where files and dirs are represented by
Rem sections like this:
Rem [Dirs]
Rem Name: {app}\docs
Rem
Rem [Files]
Rem Source: c:\wx2stable\wxWindows\deliver2\docs\readme.txt; DestDir: {app}\docs\; DestName: readme.txt
set wxwindir=%WXWIN
Rem Generate a list of all files in the distribution.
Rem We have to be in the right directory already.
dir /BS >& %TEMP\files1.tmp
Rem Now we iterate through the list of files, writing out the middle section of
Rem the file.
Rem We have to remove the first part of the path,
Rem by truncating the start by the size of the current directory.
set sz=%@EVAL[%@LEN[%_CWD]+1]
set len=%@LINES[%TEMP\files1.tmp]
erase /Y %TEMP\files2.tmp
Rem Add directories
echo. >> %temp\files2.tmp
echo [Dirs] >> %temp\files2.tmp
do i = 0 to %len by 1
set line=%@LINE[%TEMP\files1.tmp,%i]
Rem Skip files.
if not isdir %line enddo
set sz2=%@LEN[%line]
set n=%@EVAL[%sz2-%sz]
set line2=%@SUBSTR[%line,%sz,%n]
if "%line2%" == "" enddo
echo Name: {app}\%line2 >> %TEMP\files2.tmp
enddo
echo. >>%TEMP\files2.tmp
Rem Add files
echo. >> %temp\files2.tmp
echo [Files] >> %temp\files2.tmp
do i = 0 to %len by 1
set line=%@LINE[%TEMP\files1.tmp,%i]
Rem Skip directories.
if isdir %line enddo
set sz2=%@LEN[%line]
set n=%@EVAL[%sz2-%sz]
set line2=%@SUBSTR[%line,%sz,%n]
set filename=%@FILENAME[%line2]
set dirname=%@PATH[%line2]
echo Source: %line; DestDir: {app}\%dirname; DestName: %filename >> %TEMP\files2.tmp
enddo
Rem Concatenate the 3 sections
cat %wxwindir\distrib\msw\innotop.txt %TEMP\files2.tmp %wxwindir\distrib\msw\innobott.txt > %wxwindir\distrib\msw\wxwin2.iss
erase /Y %TEMP\files1.tmp
rem erase /Y %TEMP\files2.tmp
goto end
:end

View File

@@ -1,132 +0,0 @@
#! /bin/sh
# Make an Inno Setup distribution list, where files and dirs are represented by
# sections like this:
# [Dirs]
# Name: {app}\backgrounds
#
# [Files]
# Source: C:\program\setup\about.htm; DestDir: {app}\; DestName: about.htm
#
#
# Usage: makeinno.sh sourcedir inno-topfile inno-bottomfile destfile
# For example: makeinno.sh c:/project/allfiles c:/project/innotop.txt c:/project/innobott.txt c:/project/project.iss
#
PROGNAME=$0
SOURCEDIR=$1
TOPFILE=$2
BOTTOMFILE=$3
INNOFILE=$4
TEMPDIR=/tmp
dochecks()
{
if [ "$SOURCEDIR" = "" ] || [ "$TOPFILE" = "" ] || [ "$BOTTOMFILE" = "" ] || [ "$INNOFILE" = "" ] ; then
usage
fi
if [ ! -d $SOURCEDIR ]; then
echo "Sorry, the source directory $SOURCEDIR does not exist."
usage
fi
if [ ! -f $TOPFILE ]; then
echo "Sorry, the Inno Setup header $TOPFILE does not exist."
usage
fi
if [ ! -f $BOTTOMFILE ]; then
echo "Sorry, the Inno Setup header $BOTTOMFILE does not exist."
usage
fi
if [ ! -d $TEMPDIR ]; then
mkdir $TEMPDIR
fi
}
doreplace()
{
thefile=$1
theexpr=$2
if [ -f $thefile ]; then
sed -e "$theexpr" < $thefile > $thefile.tmp
mv $thefile.tmp $thefile
else
echo "*** $thefile not found."
fi
}
generateinno()
{
# SRCDIR=`cygpath -u $SRCDIR`
# DESTDIR=`cygpath -u $DESTDIR`
# TEMPDIR=`cygpath -u $TEMP`
# Generate a list of all files in the distribution.
# We pass the output through sed in order to remove the preceding "./"
cd $SOURCEDIR
find . -print | sed -e "s/\.\\///g" > $TEMPDIR/files1.tmp
echo "[Dirs]" > $TEMPDIR/files2.tmp
for line in `cat $TEMPDIR/files1.tmp` ; do
# If a directory, add to file
if [ -d $line ] ; then
# The relative path
# TODO: make into DOS filename form
#line2=`cygpath -w $line`
line2=$line
echo " Name: {app}\\"$line2 >> $TEMPDIR/files2.tmp
fi
done
echo "" >> $TEMPDIR/files2.tmp
echo "[Files]" >> $TEMPDIR/files2.tmp
for line in `cat $TEMPDIR/files1.tmp` ; do
# If not a directory, add to file
if [ ! -d $line ] ; then
# The relative path
# TODO: make into DOS filename form
#line2=`cygpath -w $line`
line2=$line
# The absolute path
# TODO: make into DOS filename form
#line1=`cygpath -w $SOURCEDIR`"\\"$line2
line1=$SOURCEDIR"\\"$line2
#pathonly=`find $line -printf "%h"`
pathonly=`dirname $line`
echo " Source: "$line1"; DestDir: {app}\\"$pathonly >> $TEMPDIR/files2.tmp
fi
done
echo "" >> $TEMPDIR/files2.tmp
doreplace $TEMPDIR/files2.tmp "s/\//\\\/g"
# Concatenate the 3 sections
cat $TOPFILE $TEMPDIR/files2.tmp $BOTTOMFILE > $INNOFILE
rm -f $TEMPDIR/files1.tmp
}
usage()
{
echo Usage: $PROGNAME sourcedir inno-topfile inno-bottomfile destfile
echo For example: $PROGNAME c:/project/allfiles c:/project/innotop.txt c:/project/innobott.txt c:/project/project.iss
echo Remember to use paths of the form c:/thing rather than /c/thing.
exit 1
}
dochecks
generateinno

View File

@@ -1,549 +0,0 @@
#!/bin/sh
# Makes the wxWidgets RPMs
RPMBUILDARGS=
PLATFORM=
NORPMS=
doupdatecvs()
{
cd $WXSRC
echo Updating from CVS...
cvswx update -d -P
}
dospinwxgtk()
{
echo Making wxGTK RPMs...
RPM_ROOT=$WXDEST/wxgtk/rpm-root
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxgtk
mkdir $WXDEST/wxgtk
mkdir $WXDEST/wxgtk/release
mkdir $RPM_ROOT
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxgtk/release
echo Configuring...
$WXSRC/configure --with-gtk --no-recursion
echo Making...
make -j1 dist bzip-dist-only
mkdir $WXDEST/$PLATFORM
if [ "$NORPMS" != "1" ]
then
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
mkdir $RPM_ROOT/BUILD
mkdir $RPM_ROOT/RPMS
mkdir $RPM_ROOT/RPMS/i386
mkdir $RPM_ROOT/RPMS/i686
mkdir $RPM_ROOT/RPMS/noarch
mkdir $RPM_ROOT/SOURCES
mkdir $RPM_ROOT/SPECS
mkdir $RPM_ROOT/SRPMS
echo %_topdir $RPM_ROOT > ~/.rpmmacros
echo Copying wxGTK-$WXVER.tar.bz2 to $RPM_ROOT/SOURCES...
cp wxGTK-$WXVER.tar.bz2 $RPM_ROOT/SOURCES
echo Copying wxGTK.spec to $RPM_ROOT/SPECS...
cp $WXSRC/wxGTK.spec $RPM_ROOT/SPECS
echo Starting wxGTK RPM build, rpmbuild args=$RPMBUILDARGS...
cd $RPM_ROOT
rpmbuild -ba $RPMBUILDARGS SPECS/wxGTK.spec 2>&1 | tee wxGTK.out
echo Finished wxGTK RPM build, in $RPM_ROOT.
echo "SRPMS:"
ls SRPMS
echo "RPMS/i386:"
ls RPMS/i386
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST/$PLATFORM
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST/$PLATFORM
fi
cp $WXDEST/wxgtk/release/*.tar.gz $WXDEST/$PLATFORM
cp $WXDEST/wxgtk/release/*.tar.bz2 $WXDEST/$PLATFORM
# rm -f -r $WXDEST/wxgtk
echo Now try the RPMs with rpm -i.
}
dospinwxmgl()
{
echo Making wxMGL RPMs...
RPM_ROOT=$WXDEST/wxmgl/rpm-root
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmgl
mkdir $WXDEST/wxmgl
mkdir $WXDEST/wxmgl/release
mkdir $RPM_ROOT
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmgl/release
echo Configuring...
$WXSRC/configure --with-mgl --no-recursion
echo Making...
make -j1 dist bzip-dist-only
if [ "$NORPMS" != "1" ]
then
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
mkdir $RPM_ROOT/BUILD
mkdir $RPM_ROOT/RPMS
mkdir $RPM_ROOT/RPMS/i386
mkdir $RPM_ROOT/RPMS/i686
mkdir $RPM_ROOT/RPMS/noarch
mkdir $RPM_ROOT/SOURCES
mkdir $RPM_ROOT/SPECS
mkdir $RPM_ROOT/SRPMS
echo %_topdir $RPM_ROOT > ~/.rpmmacros
echo Copying wxMGL-$WXVER.tar.bz2 to $RPM_ROOT/SOURCES...
cp wxMGL-$WXVER.tar.bz2 $RPM_ROOT/SOURCES
echo Copying wxMGL.spec to $RPM_ROOT/SPECS...
cp $WXSRC/wxMGL.spec $RPM_ROOT/SPECS
echo Starting wxMGL RPM build...
cd $RPM_ROOT
rpmbuild -ba SPECS/wxMGL.spec 2>&1 | tee wxMGL.out
echo Finished wxMGL RPM build, in $RPM_ROOT.
echo "SRPMS:"
ls SRPMS
echo "RPMS/i386:"
ls RPMS/i386
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
fi
cp $WXDEST/wxmgl/release/*.tar.gz $WXDEST
cp $WXDEST/wxmgl/release/*.tar.bz2 $WXDEST
# rm -f -r $WXDEST/wxmgl
echo Now try the RPMs with rpm -i.
}
dospinwxmotif()
{
echo Making wxMotif RPMs...
RPM_ROOT=$WXDEST/wxmotif/rpm-root
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmotif
mkdir $WXDEST/wxmotif
mkdir $WXDEST/wxmotif/release
mkdir $RPM_ROOT
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmotif/release
echo Configuring...
$WXSRC/configure --with-motif --no-recursion
echo Making...
make -j1 dist bzip-dist-only
if [ "$NORPMS" != "1" ]
then
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
mkdir $RPM_ROOT/BUILD
mkdir $RPM_ROOT/RPMS
mkdir $RPM_ROOT/RPMS/i386
mkdir $RPM_ROOT/RPMS/i686
mkdir $RPM_ROOT/RPMS/noarch
mkdir $RPM_ROOT/SOURCES
mkdir $RPM_ROOT/SPECS
mkdir $RPM_ROOT/SRPMS
echo %_topdir $RPM_ROOT > ~/.rpmmacros
echo Copying wxMOTIF-$WXVER.tar.bz2 to $RPM_ROOT/SOURCES...
cp wxMOTIF-$WXVER.tar.bz2 $RPM_ROOT/SOURCES
echo Copying wxMotif.spec to $RPM_ROOT/SPECS...
cp $WXSRC/wxMotif.spec $RPM_ROOT/SPECS
echo Starting wxMotif RPM build...
cd $RPM_ROOT
rpmbuild -ba SPECS/wxMotif.spec 2>&1 | tee wxGTK.out
echo Finished wxMotif RPM build, in $RPM_ROOT.
echo "SRPMS:"
ls SRPMS
echo "RPMS/i386:"
ls RPMS/i386
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
fi
cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST
cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST
echo Rearchiving wxMotif tarballs to change wxMOTIF to wxMotif...
cd $WXDEST
mkdir wxMotif.tmp
cd wxMotif.tmp
rm -f -r *
tar xfz ../wxMOTIF-$WXVER.tar.gz
mv wxMOTIF-$WXVER wxMotif-$WXVER
rm -f ../wxMOTIF-$WXVER.tar.gz
rm -f ../wxMOTIF-$WXVER.tar.bz2
tar cf ../wxMotif-$WXVER.tar *
gzip -c ../wxMotif-$WXVER.tar > ../wxMotif-$WXVER.tar.gz
bzip2 -f9 ../wxMotif-$WXVER.tar
cd ..
rm -f -r wxMotif.tmp
# rm -f -r $WXDEST/wxmotif
echo Now try the RPMs with rpm -i.
}
dospinwxmac()
{
echo Making wxMac tarballs...
echo Note that this must be done on a Mac.
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmac
mkdir $WXDEST/wxmac
mkdir $WXDEST/wxmac/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmac/release
echo Configuring...
$WXSRC/configure --with-mac --no-recursion
echo Making...
make -j1 dist bzip-dist-only
cp $WXDEST/wxmac/release/*.tar.gz $WXDEST
cp $WXDEST/wxmac/release/*.tar.bz2 $WXDEST
echo Rearchiving wxMac tarballs to change wxMAC to wxMAC...
cd $WXDEST
mkdir wxMac.tmp
cd wxMac.tmp
rm -f -r *
tar xfz ../wxMac-$WXVER.tar.gz
mv wxMAC-$WXVER wxMac-$WXVER
rm -f ../wxMAC-$WXVER.tar.gz
rm -f ../wxMAC-$WXVER.tar.bz2
tar cf ../wxMac-$WXVER.tar *
gzip -c ../wxMac-$WXVER.tar > ../wxMac-$WXVER.tar.gz
bzip2 -f9 ../wxMac-$WXVER.tar
cd ..
rm -f -r wxMac.tmp
rm -f -r $WXDEST/wxmac
echo Now try the RPMs with rpm -i.
}
dospinwxbase()
{
echo Making wxBase RPMs...
RPM_ROOT=$WXDEST/wxbase/rpm-root
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxbase
mkdir $WXDEST/wxbase
mkdir $WXDEST/wxbase/release
mkdir $RPM_ROOT
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxbase/release
echo Configuring...
$WXSRC/configure --disable-gui --no-recursion
echo Making...
make -j1 dist bzip-dist-only
mkdir $WXDEST/$PLATFORM
if [ "$NORPMS" != "1" ]
then
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
mkdir $RPM_ROOT/BUILD
mkdir $RPM_ROOT/RPMS
mkdir $RPM_ROOT/RPMS/i386
mkdir $RPM_ROOT/RPMS/i686
mkdir $RPM_ROOT/RPMS/noarch
mkdir $RPM_ROOT/SOURCES
mkdir $RPM_ROOT/SPECS
mkdir $RPM_ROOT/SRPMS
echo %_topdir $RPM_ROOT > ~/.rpmmacros
echo Copying wxBase-$WXVER.tar.bz2 to $RPM_ROOT/SOURCES...
cp wxBase-$WXVER.tar.bz2 $RPM_ROOT/SOURCES
echo Copying wxBase.spec to $RPM_ROOT/SPECS...
cp $WXSRC/wxBase.spec $RPM_ROOT/SPECS
echo Starting wxBase RPM build, rpmbuild args=$RPMBUILDARGS...
cd $RPM_ROOT
rpmbuild -ba $RPMBUILDARGS SPECS/wxBase.spec 2>&1 | tee wxBase.out
echo Finished wxBase RPM build, in $RPM_ROOT.
echo "SRPMS:"
ls SRPMS
echo "RPMS/i386:"
ls RPMS/i386
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST/$PLATFORM
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST/$PLATFORM
fi
cp $WXDEST/wxbase/release/*.tar.gz $WXDEST/$PLATFORM
cp $WXDEST/wxbase/release/*.tar.bz2 $WXDEST/$PLATFORM
# rm -f -r $WXDEST/wxbase
echo Now try the RPMs with rpm -i.
}
dospinwxx11()
{
echo Making wxX11 RPMs...
RPM_ROOT=$WXDEST/wxx11/rpm-root
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxx11
mkdir $WXDEST/wxx11
mkdir $WXDEST/wxx11/release
mkdir $RPM_ROOT
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxx11/release
echo Configuring...
$WXSRC/configure --with-x11 --no-recursion
echo Making...
make -j1 dist bzip-dist-only
if [ "$NORPMS" != "1" ]
then
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
mkdir $RPM_ROOT/BUILD
mkdir $RPM_ROOT/RPMS
mkdir $RPM_ROOT/RPMS/i386
mkdir $RPM_ROOT/RPMS/i686
mkdir $RPM_ROOT/RPMS/noarch
mkdir $RPM_ROOT/SOURCES
mkdir $RPM_ROOT/SPECS
mkdir $RPM_ROOT/SRPMS
echo %_topdir $RPM_ROOT > ~/.rpmmacros
echo Copying wxX11-$WXVER.tar.bz2 to $RPM_ROOT/SOURCES...
cp wxX11-$WXVER.tar.bz2 $RPM_ROOT/SOURCES
echo Copying wxX11.spec to $RPM_ROOT/SPECS...
cp $WXSRC/wxX11.spec $RPM_ROOT/SPECS
echo Starting wxX11 RPM build...
cd $RPM_ROOT
rpmbuild -ba SPECS/wxX11.spec 2>&1 | tee wxX11.out
echo Finished wxX11 RPM build, in $RPM_ROOT.
echo "SRPMS:"
ls SRPMS
echo "RPMS/i386:"
ls RPMS/i386
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
fi
cp $WXDEST/wxx11/release/*.tar.gz $WXDEST
cp $WXDEST/wxx11/release/*.tar.bz2 $WXDEST
# rm -f -r $WXDEST/wxx11
echo Now try the RPMs with rpm -i.
}
PROGNAME=$0
WXSRC=$1
WXDEST=$2
WXVER=$3
SPINWXX11=0
SPINWXGTK1=0
SPINWXGTK2=0
SPINWXGTK2UNICODE=0
SPINWXMAC=0
SPINWXMOTIF=0
SPINWXBASE=0
SPINWXBASEUNICODE=0
SPINWXMGL=0
SPINEVERYTHING=0
UPDATECVS=0
usage()
{
echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
echo Options:
echo " --help Display this help message"
echo " --wxgtk1 Spin wxGTK1 RPMs"
echo " --wxgtk2 Spin wxGTK2 RPMs"
echo " --wxgtk2unicode Spin wxGTK2 Unicode RPMs"
echo " --wxbase Spin wxBase RPMs"
echo " --wxbaseunicode Spin wxBase Unicode RPMs"
echo " --wxx11 Spin wxX11 RPMs"
echo " --wxmotif Spin wxMotif RPMs"
echo " --wxmgl Spin wxMGL RPMs"
echo " --wxmac Make wxMac tarball"
echo " --all Spin EVERYTHING"
echo " --updatecvs Update from CVS"
echo " --norpms No RPMS, just tarballs"
exit 1
}
init=""
if [ "$1" = "" ]
then
usage
exit
fi
if [ "$2" = "" ]
then
usage
exit
fi
if [ "$3" = "" ]
then
usage
exit
fi
# Process command line options.
shift 3
for i in "$@"; do
case "$i" in
--wxx11) SPINWXX11=1 ;;
--wxgtk1) SPINWXGTK1=1 ;;
--wxgtk2) SPINWXGTK2=1 ;;
--wxgtk2unicode) SPINWXGTK2UNICODE=1 ;;
--wxmotif) SPINWXMOTIF=1 ;;
--wxmgl) SPINWXMGL=1 ;;
--wxmac) SPINWXMAC=1 ;;
--wxbase) SPINWXBASE=1 ;;
--wxbaseunicode) SPINWXBASEUNICODE=1 ;;
--all) SPINEVERYTHING=1 ;;
--updatecvs) UPDATECVS=1 ;;
--norpms) NORPMS=1 ;;
*)
usage
exit
;;
esac
done
echo About to make wxWidgets RPMs:
echo From $WXSRC
echo To $WXDEST
echo Version $WXVER
echo CTRL-C if this is not correct.
read dummy
if [ "$UPDATECVS" = "1" ]; then
doupdatecvs
fi
if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxx11
fi
if [ "$SPINWXGTK1" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
RPMBUILDARGS="--without gtk2"
PLATFORM=gtk1
dospinwxgtk
fi
if [ "$SPINWXGTK2" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
RPMBUILDARGS="--with gtk2"
PLATFORM=gtk2
dospinwxgtk
fi
if [ "$SPINWXGTK2UNICODE" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
RPMBUILDARGS="--with gtk2 --with unicode"
PLATFORM=gtk2unicode
dospinwxgtk
fi
if [ "$SPINWXBASE" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
PLATFORM=base
dospinwxbase
fi
if [ "$SPINWXBASEUNICODE" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
RPMBUILDARGS="--with unicode"
PLATFORM=baseunicode
dospinwxbase
fi
if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmotif
fi
if [ "$SPINWXMGL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmgl
fi
if [ "$SPINWXMAC" = "1" ]; then
dospinwxmac
fi

View File

@@ -1,832 +0,0 @@
#!/bin/sh
# Make a distribution of an application on MSW.
# Example:
# ../distrib/msw/makesetup.sh --wxmsw --verbose &> log
# If your zip accepts Cygwin-style paths, then
# use cygpath, else substitute echo
CYGPATHPROG=cygpath
#CYGPATHPROG=echo
INNO=1
SPINMSW=0
SPINMAC=0
SPINOS2=0
SPINDOCS=0
SPINALL=0
SPINWXALL=0
SPINBASE=0
GETMAKEFILES=0
VERBOSE=0
ZIPFLAGS=
PROGNAME=$0
SCRIPTDIR=$WXWIN/distrib/msw
WEBFILES=c:/wx2dev/wxWebSite
# Set this to the required version
VERSION=2.6.2
. $SCRIPTDIR/setup.var
doreplace()
{
thefile=$1
theexpr=$2
if [ -f $thefile ]; then
sed -e "$theexpr" < $thefile > $thefile.tmp
mv $thefile.tmp $thefile
else
echo "*** $thefile not found."
fi
}
unix2dosname()
{
echo $1 | sed -e "s/\//\\\\\\\/g" > /tmp/filename.tmp
RETVALUE=`cat /tmp/filename.tmp`
rm -f /tmp/filename.tmp
}
unix2dosname2()
{
echo $1 | sed -e "s/\//\\\\/g" > /tmp/filename.tmp
RETVALUE=`cat /tmp/filename.tmp`
rm -f /tmp/filename.tmp
}
doinit()
{
if [ "$VERBOSE" != "1" ]; then
ZIPFLAGS=-q
fi
}
rearchive()
{
archive=$1
dirname=$2
changeto=$3
echo Re-archiving $archive as $dirname
pushd $changeto
if [ -d $dirname ]; then
rm -f -r $dirname
fi
mkdir $dirname
cd $dirname
unzip $ZIPFLAGS ../$archive
cd ..
rm -f $archive
zip $ZIPFLAGS -r $archive $dirname/*
popd
}
rearchivetar()
{
archive=$1
dirname=$2
changeto=$3
echo Re-tarring $archive as $dirname
pushd $changeto
if [ -d $dirname ]; then
rm -f -r $dirname
fi
mkdir $dirname
cd $dirname
tar xfz ../$archive
cd ..
rm -f $archive
tar cfz $archive $dirname/*
popd
}
# Find the version from wx/version.h
# Not yet used
findversion()
{
echo "#include <stdio.h>" > /tmp/appver.c
echo "#include \"$VERSIONSYMBOLFILE\"" >> /tmp/appver.c
echo "int main() { printf(\"%.2f\", $VERSIONSYMBOL); }" >> /tmp/appver.c
gcc /tmp/appver.c -I$APPDIR -o /tmp/appver
VERSION=`/tmp/appver`
rm -f /tmp/appver /tmp/appver.c
}
dospinos2()
{
cd $APPDIR
echo Zipping OS/2...
# Zip up the complete wxOS2-xxx.zip file
zip $ZIPFLAGS -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/generic.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/os2.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/jpeg.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/tiff.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/tiff.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/jpeg.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/utils.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/tex2rtf.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/ogl.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/xml.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/contrib.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/deprecated.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxOS2-$VERSION.zip < $APPDIR/distrib/msw/makefile.rsp
# Rearchive under wxWidgets-$VERSION
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
rm -f -r $DESTDIR/wxWidgets-$VERSION
fi
mkdir $DESTDIR/wxWidgets-$VERSION
cd $DESTDIR/wxWidgets-$VERSION
unzip $ZIPFLAGS ../wxOS2-$VERSION.zip
# No longer do this, configure should be OK
# echo Overwriting with OS2-specific versions of configure files...
# unzip $ZIPFLAGS -o $APPDIR/distrib/os2/os2-specific.zip
rm -f src/gtk/descrip.mms src/motif/descrip.mms docs/pdf/*.pdf
rm -f src/tiff/*.mcp src/jpeg/*.mcp src/png/*.mcp src/zlib/*.mcp
rm -f -r docs/html/tex2rtf
# echo Making OS/2 files lower case...
# no longer necessary
# $SCRIPTDIR/namedown include/wx/os2/*.H
# $SCRIPTDIR/namedown src/os2/*.CPP src/os2/*.I
echo Copying readme files...
cp $APPDIR/docs/os2/install.txt INSTALL-OS2.txt
cp $APPDIR/docs/licence.txt LICENCE.txt
cp $APPDIR/docs/lgpl.txt COPYING.LIB
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README.txt
cd $DESTDIR
rm -f wxOS2-$VERSION.zip
zip $ZIPFLAGS -r wxOS2-$VERSION.zip wxWidgets-$VERSION/*
}
dospinmac()
{
echo Spinning wxMac...
cd $APPDIR
echo Zipping wxMac distribution
cp $APPDIR/include/wx/mac/setup0.h $APPDIR/include/wx/setup.h
zip $ZIPFLAGS -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/generic.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/mac.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/cocoa.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/cw_mac.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/tiff.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/jpeg.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/utils.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/tex2rtf.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/ogl.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/xml.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/stc.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/contrib.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/deprecated.rsp
zip $ZIPFLAGS -u -@ $DESTDIR/wxMac-$VERSION.zip < $APPDIR/distrib/msw/makefile.rsp
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-CW-Mac.zip < $APPDIR/distrib/msw/cw_mac.rsp
rm -f $APPDIR/include/wx/setup.h
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
rm -f -r $DESTDIR/wxWidgets-$VERSION
fi
mkdir $DESTDIR/wxWidgets-$VERSION
cd $DESTDIR/wxWidgets-$VERSION
unzip $ZIPFLAGS ../wxMac-$VERSION.zip
rm -f src/gtk/descrip.mms src/motif/descrip.mms docs/pdf/*.pdf
rm -f -r docs/html/tex2rtf docs/htmlhelp
echo Copying readme files...
cp $APPDIR/docs/mac/readme.txt README-MAC.txt
cp $APPDIR/docs/mac/install.txt INSTALL-MAC.txt
cp $APPDIR/docs/licence.txt LICENCE.txt
cp $APPDIR/docs/lgpl.txt COPYING.LIB
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README.txt
cd $DESTDIR
rm -f wxMac-$VERSION.zip
zip $ZIPFLAGS -r wxMac-$VERSION.zip wxWidgets-$VERSION/*
}
dospinmsw()
{
echo Zipping wxMSW...
cd $APPDIR
# Create wxWidgets-$VERSION-win.zip which is used to create wxMSW
echo Zipping individual components
rm -f $DESTDIR/wxWidgets-$VERSION-win.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/generic.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/makefile.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/msw.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/ogl.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/mmedia.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/stc.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/tex2rtf.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/jpeg.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/tiff.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/xml.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/contrib.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/deprecated.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/utils.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/utilmake.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/univ.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/wince.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-win.zip < $APPDIR/distrib/msw/palmos.rsp
}
dospinwxall()
{
echo Zipping wxAll...
cd $APPDIR
echo Zipping individual components
rm -f $DESTDIR/wxWidgets-$VERSION-all.zip
# Save adding all the wxMSW files again
if [ ! -f $DESTDIR/wxWidgets-$VERSION-win.zip ]; then
dospinmsw
fi
cp $DESTDIR/wxWidgets-$VERSION-win.zip $DESTDIR/wxWidgets-$VERSION-all.zip
cat $APPDIR/distrib/msw/cw_mac.rsp $APPDIR/distrib/msw/vc.rsp $APPDIR/distrib/msw/x11.rsp $APPDIR/distrib/msw/gtk.rsp $APPDIR/distrib/msw/cocoa.rsp $APPDIR/distrib/msw/motif.rsp $APPDIR/distrib/msw/mac.rsp $APPDIR/distrib/msw/mgl.rsp $APPDIR/distrib/msw/os2.rsp $APPDIR/distrib/msw/palmos.rsp | sort | uniq > /tmp/all.txt
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-all.zip < /tmp/all.txt
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
rm -f -r $DESTDIR/wxWidgets-$VERSION
fi
mkdir $DESTDIR/wxWidgets-$VERSION
cd $DESTDIR/wxWidgets-$VERSION
unzip $ZIPFLAGS ../wxWidgets-$VERSION-all.zip
echo Copying readme files...
cp $APPDIR/docs/licence.txt LICENCE.txt
cp $APPDIR/docs/lgpl.txt COPYING.LIB
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README.txt
cd $DESTDIR
rm -f $DESTDIR/wxWidgets-$VERSION-all.zip
zip $ZIPFLAGS -r wxWidgets-$VERSION.zip wxWidgets-$VERSION/*
}
dospinbase()
{
cd $APPDIR
echo Zipping wxBase...
rm -f $DESTDIR/wxBase-$VERSION.zip
zip $ZIPFLAGS -@ $DESTDIR/wxBase-$VERSION.zip < $APPDIR/distrib/msw/base.rsp
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
rm -f -r $DESTDIR/wxWidgets-$VERSION
fi
mkdir $DESTDIR/wxWidgets-$VERSION
cd $DESTDIR/wxWidgets-$VERSION
unzip $ZIPFLAGS ../wxBase-$VERSION.zip
echo Copying readme files...
cp $APPDIR/docs/base/readme.txt README.txt
cp $APPDIR/docs/licence.txt LICENCE.txt
cp $APPDIR/docs/lgpl.txt COPYING.LIB
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README2.txt
cd $DESTDIR
rm -f wxBase-$VERSION.zip
zip $ZIPFLAGS -r wxBase-$VERSION.zip wxWidgets-$VERSION/*
}
dospindocs()
{
cd $APPDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-DocSource.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-DocSource.zip < $APPDIR/distrib/msw/docsrc.rsp
rearchive wxWidgets-$VERSION-DocSource.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-WinHelp.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-WinHelp.zip < $APPDIR/distrib/msw/wx_hlp.rsp
rearchive wxWidgets-$VERSION-WinHelp.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-HTML.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTML.zip < $APPDIR/distrib/msw/wx_html.rsp
rearchive wxWidgets-$VERSION-HTML.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-PDF.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-PDF.zip < $APPDIR/distrib/msw/wx_pdf.rsp
rearchive wxWidgets-$VERSION-PDF.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-PDF.tar.gz
tar zcf /c/wx2dev/wxWindows/deliver/wxWidgets-$VERSION-PDF.tar.gz docs/pdf/*.pdf
rearchivetar wxWidgets-$VERSION-PDF.tar.gz wxWidgets-$VERSION /c/wx2dev/wxWindows/deliver
# zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-Word.zip < $APPDIR/distrib/msw/wx_word.rsp
# rearchive wxWidgets-$VERSION-Word.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-HTB.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTB.zip < $APPDIR/distrib/msw/wx_htb.rsp
rearchive wxWidgets-$VERSION-HTB.zip wxWidgets-$VERSION $DESTDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip < $APPDIR/distrib/msw/wx_chm.rsp
rearchive wxWidgets-$VERSION-HTMLHelp.zip wxWidgets-$VERSION $DESTDIR
# Add Linuxy docs to a separate archive to be transported to Linux for the
# Linux-based releases
echo Creating $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip < $APPDIR/distrib/msw/wx_html.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip < $APPDIR/distrib/msw/wx_pdf.rsp
zip $ZIPFLAGS -@ -u $DESTDIR/wxWidgets-$VERSION-LinuxDocs.zip < $APPDIR/distrib/msw/wx_htb.rsp
# PDF/HTML docs that should go into the Windows setup because
# there are no WinHelp equivalents
echo Creating $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip < $APPDIR/distrib/msw/extradoc.rsp
rearchive wxWidgets-$VERSION-ExtraDoc.zip wxWidgets-$VERSION $DESTDIR
}
dospinmisc()
{
cd $APPDIR
# zip up Univ-specific files
echo Creating $DESTDIR/wxWidgets-$VERSION-Univ.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-Univ.zip < $APPDIR/distrib/msw/univ.rsp
rearchive wxWidgets-$VERSION-Univ.zip wxWidgets-$VERSION $DESTDIR
# VC++ project files
echo Creating $DESTDIR/wxWidgets-$VERSION-VC.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-VC.zip < $APPDIR/distrib/msw/vc.rsp
# rearchive wxWidgets-$VERSION-VC.zip wxWidgets-$VERSION $DESTDIR
# eVC++ project files
echo Creating $DESTDIR/wxWidgets-$VERSION-eVC.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-eVC.zip < $APPDIR/distrib/msw/wince.rsp
# rearchive wxWidgets-$VERSION-eVC.zip wxWidgets-$VERSION $DESTDIR
# DMC project files
echo Creating $DESTDIR/wxWidgets-$VERSION-DMC.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-DMC.zip < $APPDIR/distrib/msw/dmc.rsp
# rearchive wxWidgets-$VERSION-DMC.zip wxWidgets-$VERSION $DESTDIR
# BC++ project files
echo Creating $DESTDIR/wxWidgets-$VERSION-BC.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-BC.zip < $APPDIR/distrib/msw/bc.rsp
# rearchive wxWidgets-$VERSION-BC.zip wxWidgets-$VERSION $DESTDIR
# CodeWarrior project files
echo Creating $DESTDIR/wxWidgets-$VERSION-CW.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-CW.zip < $APPDIR/distrib/msw/cw.rsp
# rearchive wxWidgets-$VERSION-CW.zip wxWidgets-$VERSION $DESTDIR
}
dospinsetup()
{
cd $DESTDIR
# Put all archives for transit to Linux in a zip file
echo Creating $DESTDIR/wxWidgets-$VERSION-LinuxTransit.zip
rm -f $DESTDIR/wxWidgets-$VERSION-LinuxTransit.zip
zip $ZIPFLAGS $DESTDIR/wxWidgets-$VERSION-LinuxTransit.zip wxWidgets-$VERSION-LinuxDocs.zip wxWidgets-$VERSION-VC.zip wxWidgets-$VERSION-DMC.zip wxWidgets-$VERSION-eVC.zip wxWidgets-$VERSION-CW-Mac.zip
if [ ! -f $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip ]; then
cd $APPDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-HTMLHelp.zip < $APPDIR/distrib/msw/wx_chm.rsp
rearchive wxWidgets-$VERSION-HTMLHelp.zip wxWidgets-$VERSION $DESTDIR
cd $DESTDIR
fi
if [ ! -f $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip ]; then
cd $APPDIR
echo Creating $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip
zip $ZIPFLAGS -@ $DESTDIR/wxWidgets-$VERSION-ExtraDoc.zip < $APPDIR/distrib/msw/extradoc.rsp
rearchive wxWidgets-$VERSION-ExtraDoc.zip wxWidgets-$VERSION $DESTDIR
cd $DESTDIR
fi
rm -f -r wxWidgets-$VERSION
echo Unzipping the Windows files into wxWidgets-$VERSION
mkdir -p wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-win.zip -d wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-VC.zip -d wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-DMC.zip -d wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-BC.zip -d wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-CW.zip -d wxWidgets-$VERSION
unzip $ZIPFLAGS -o wxWidgets-$VERSION-HTMLHelp.zip
unzip $ZIPFLAGS -o wxWidgets-$VERSION-ExtraDoc.zip
# After this change of directory, we're in the
# temporary 'wx' directory and not acting on
# the source wxWidgets directory.
cd $DESTDIR/wxWidgets-$VERSION
# Now delete a few files that are unnecessary
#attrib -R *
rm -f BuildCVS.txt descrip.mms
rm -f setup.h_vms
rm -f docs/html/wxbook.htm docs/html/roadmap.htm
rm -f -r contrib/docs/latex/ogl
rm -f src/mingegcs.bat
rm -f -r distrib
rm -f *.spec
rm -f src/gtk/descrip.mms src/motif/descrip.mms
echo Copying readme files...
cp $APPDIR/docs/msw/readme.txt README-MSW.txt
cp $APPDIR/docs/msw/install.txt INSTALL-MSW.txt
cp $APPDIR/docs/licence.txt LICENCE.txt
cp $APPDIR/docs/lgpl.txt COPYING.LIB
cp $APPDIR/docs/changes.txt CHANGES.txt
cp $APPDIR/docs/readme.txt README.txt
# Now cp some binary files to 'bin'
if [ ! -d bin ]; then
mkdir bin
fi
cp $APPDIR/bin/tex2rtf.exe bin
cp $APPDIR/bin/tex2rtf.chm bin
cp $APPDIR/bin/widgets.exe bin
cp $APPDIR/bin/life.exe bin
cp $APPDIR/demos/life/breeder.lif bin
cp $APPDIR/docs/htmlhelp/tex2rtf.chm bin
if [ ! -d docs/pdf ]; then
mkdir docs/pdf
fi
#cp $APPDIR/docs/pdf/wxTutorial.pdf docs/pdf
# Make wxMSW-xxx.zip
cd $DESTDIR
zip $ZIPFLAGS -r wxMSW-$VERSION.zip wxWidgets-$VERSION/*
cd wxWidgets-$VERSION
echo Generating $SETUPSCRIPTNAME
rm -f $SETUPSCRIPTNAME
sh $SCRIPTDIR/makeinno.sh $SETUPIMAGEDIR $INNOTOP $INNOBOTTOM $SETUPSCRIPTNAME
if [ ! -f $SETUPSCRIPTNAME ]; then
echo "*** Error - something went wrong with the script file generation."
exit 1
fi
# Now replace %VERSION% with the real application version, and other
# variables
echo Replacing variables in the setup script
doreplace $SETUPSCRIPTNAME "s/%VERSION%/$VERSION/g"
doreplace $SETUPSCRIPTNAME "s/%COPYRIGHTHOLDER%/$AUTHOR/g"
doreplace $SETUPSCRIPTNAME "s/%VENDOR%/$VENDOR/g"
unix2dosname $READMEFILE
doreplace $SETUPSCRIPTNAME "s;%READMEFILE%;$RETVALUE;g"
unix2dosname $READMEAFTERFILE
doreplace $SETUPSCRIPTNAME "s;%READMEAFTERFILE%;$RETVALUE;g"
unix2dosname $LICENSEFILE
doreplace $SETUPSCRIPTNAME "s;%LICENSEFILE%;$RETVALUE;g"
doreplace $SETUPSCRIPTNAME "s/%APPNAME%/$APPNAME/g"
doreplace $SETUPSCRIPTNAME "s/%APPTITLE%/$APPTITLE/g"
unix2dosname $SETUPIMAGEDIR
doreplace $SETUPSCRIPTNAME "s;%SOURCEDIR%;$RETVALUE;g"
unix2dosname $DESTDIR
doreplace $SETUPSCRIPTNAME "s;%OUTPUTDIR%;$RETVALUE;g"
doreplace $SETUPSCRIPTNAME "s/%APPEXTENSION%/$APPEXTENSION/g"
# FIXME: how do we get the first name in the list?
if [ "$MANUALFILES" != "" ]; then
HELPFILE=`basename $MANUALFILES`
unix2dosname $HELPFILE
doreplace $SETUPSCRIPTNAME "s;%HELPFILE%;$RETVALUE;g"
fi
rm -f $DESTDIR/setup*.* $DESTDIR/wxMSW-$VERSION-Setup.exe
# Inno Setup complains if this step is not done
unix2dos --unix2dos $SETUPSCRIPTNAME
# Now invoke INNO compiler on the new ISS file
# First, make a DOS filename or Inno Setup will get confused.
unix2dosname2 $SETUPSCRIPTNAME
DOSFILENAME=$RETVALUE
# Note: the double slash is Mingw32/MSYS convention for
# denoting a switch, that must not be converted into
# a path (otherwise /c = c:/)
cd `dirname $SETUPSCRIPTNAME`
BASESCRIPTNAME=`basename $SETUPSCRIPTNAME`
echo Invoking Inno Setup compiler on $BASESCRIPTNAME
"$SETUPCOMPILER" //cc $BASESCRIPTNAME
if [ ! -f $DESTDIR/setup.exe ]; then
echo "*** Error - the setup.exe was not generated."
exit
fi
cd $DESTDIR
mv setup.exe wxMSW-$VERSION-Setup.exe
# echo Putting all the setup files into a single zip archive
# zip wxMSW-$VERSION-setup.zip readme-$VERSION.txt setup*.*
rm -f wxWidgets-$VERSION-win.zip
rm -f wxWidgets-$VERSION-ExtraDoc.zip
rm -f wxWidgets-$VERSION-DMC.zip
rm -f wxWidgets-$VERSION-eVC.zip
rm -f wxWidgets-$VERSION-Univ.zip
rm -f wxWidgets-$VERSION-VC.zip
rm -f wxWidgets-$VERSION-DocSource.zip
rm -f wxWidgets-$VERSION-LinuxDocs.zip
echo If you saw no warnings or errors, $APPTITLE was successfully spun.
echo
}
makesetup()
{
# if [ -d $SETUPIMAGEDIR ]; then
# echo Removing contents of existing $SETUPIMAGEDIR
# rm -f -r $SETUPIMAGEDIR/*
# fi
if [ ! -d $SETUPIMAGEDIR ]; then
echo Making the $SETUPIMAGEDIR for preparing the setup
mkdir -p $SETUPIMAGEDIR
fi
# Copying readmes
if [ "$READMEFILE" != "" ] && [ -f $READMEFILE ]; then
echo Copying readme.txt
cp $READMEFILE $SETUPIMAGEDIR
# else
# echo "*** Warning - $READMEFILE not found"
fi
if [ "$LICENSEFILE" != "" ] && [ -f $LICENSEFILE ]; then
echo Copying licence.txt
cp $LICENSEFILE $SETUPIMAGEDIR
# else
# echo "*** Warning - $LICENSEFILE not found"
fi
if [ "$MAKEMANUAL" != "0" ]; then
if [ -d $MANUALDIR ]; then
cd $MANUALDIR
make
else
echo "*** Warning - $MANUALDIR not found"
fi
fi
rm -f $DESTDIR/wx*.zip
rm -f $DESTDIR/*.htb
rm -f $DESTDIR/ogl3*.zip
rm -f $DESTDIR/contrib*.zip
rm -f $DESTDIR/tex2rtf2*.zip
rm -f $DESTDIR/mmedia*.zip
rm -f $DESTDIR/jpeg*.zip
rm -f $DESTDIR/tiff*.zip
rm -f $DESTDIR/utils*.zip
rm -f $DESTDIR/extradoc*.zip
rm -f $DESTDIR/stc*.zip
rm -f $DESTDIR/*-win32*.zip
rm -f $DESTDIR/setup*.*
rm -f $DESTDIR/*.txt
rm -f $DESTDIR/make*
if [ -d $DESTDIR/wx ]; then
rm -f -r $DESTDIR/wx
fi
if [ ! -d $DESTDIR ]; then
mkdir $DESTDIR
fi
if [ -d $DESTDIR/wxWidgets-$VERSION ]; then
rm -f -r $DESTDIR/wxWidgets-$VERSION
fi
# Copy FAQ from wxWebSite CVS
if [ ! -d $WEBFILES ]; then
echo Error - $WEBFILES does not exist
exit
fi
echo Copying FAQ and other files from $WEBFILES
cp $WEBFILES/site/faq*.htm $APPDIR/docs/html
cp $WEBFILES/site/platform.htm $APPDIR/docs/html
cp $WEBFILES/site/i18n.htm $APPDIR/docs/html
# Copy setup0.h files to setup.h
# OS/2 always built with configure now
# cp $APPDIR/include/wx/os2/setup0.h $APPDIR/include/wx/os2/setup.h
cp $APPDIR/include/wx/msw/setup0.h $APPDIR/include/wx/msw/setup.h
cp $APPDIR/include/wx/univ/setup0.h $APPDIR/include/wx/univ/setup.h
# Do OS/2 spin
if [ "$SPINOS2" = "1" ] || [ "$SPINALL" = "1" ]; then
dospinos2
fi
# Do Mac spin
if [ "$SPINMAC" = "1" ] || [ "$SPINALL" = "1" ]; then
dospinmac
fi
# Do MSW spin
if [ "$SPINMSW" = "1" ] || [ "$SPINALL" = "1" ]; then
dospinmsw
fi
# Do wxBase spin
if [ "$SPINBASE" = "1" ] || [ "$SPINALL" = "1" ]; then
dospinbase
fi
# Do wxAll spin
if [ "$SPINWXALL" = "1" ] || [ "$SPINALL" = "1" ]; then
dospinwxall
fi
# Do docs spin
if [ "$SPINDOCS" = "1" ] || [ "$SPINALL" = "1" ]; then
dospindocs
fi
# Do misc files spin
dospinmisc
cp $APPDIR/docs/changes.txt $DESTDIR/changes-$VERSION.txt
cp $APPDIR/docs/readme.txt $DESTDIR/readme-$VERSION.txt
cp $APPDIR/docs/msw/readme.txt $DESTDIR/readme-msw-$VERSION.txt
cp $APPDIR/docs/msw/install.txt $DESTDIR/install-msw-$VERSION.txt
cp $APPDIR/docs/mac/readme.txt $DESTDIR/readme-mac-$VERSION.txt
cp $APPDIR/docs/mac/install.txt $DESTDIR/install-mac-$VERSION.txt
cp $APPDIR/docs/motif/readme.txt $DESTDIR/readme-motif-$VERSION.txt
cp $APPDIR/docs/motif/install.txt $DESTDIR/install-motif-$VERSION.txt
cp $APPDIR/docs/gtk/readme.txt $DESTDIR/readme-gtk-$VERSION.txt
cp $APPDIR/docs/gtk/install.txt $DESTDIR/install-gtk-$VERSION.txt
cp $APPDIR/docs/x11/readme.txt $DESTDIR/readme-x11-$VERSION.txt
# cp $APPDIR/docs/x11/readme-nanox.txt $DESTDIR/readme-nanox-$VERSION.txt
cp $APPDIR/docs/x11/install.txt $DESTDIR/install-x11-$VERSION.txt
cp $APPDIR/docs/mgl/readme.txt $DESTDIR/readme-mgl-$VERSION.txt
cp $APPDIR/docs/mgl/install.txt $DESTDIR/install-mgl-$VERSION.txt
cp $APPDIR/docs/cocoa/readme.txt $DESTDIR/readme-cocoa-$VERSION.txt
cp $APPDIR/docs/cocoa/install.txt $DESTDIR/install-cocoa-$VERSION.txt
cp $APPDIR/docs/base/readme.txt $DESTDIR/readme-base-$VERSION.txt
cp $APPDIR/docs/os2/install.txt $DESTDIR/install-os2-$VERSION.txt
cp $APPDIR/docs/univ/readme.txt $DESTDIR/readme-univ-$VERSION.txt
cp $APPDIR/docs/readme_vms.txt $DESTDIR/readme-vms-$VERSION.txt
# cp $APPDIR/docs/motif/makewxmotif $DESTDIR/makewxmotif-$VERSION
# cp $APPDIR/docs/gtk/makewxgtk $DESTDIR/makewxgtk-$VERSION
# Time to regenerate the Inno Install script
if [ "$INNO" != "0" ]; then
dospinsetup
fi
}
# Get the makefiles that aren't in CVS and unarchive them
getmakefiles()
{
echo Getting eVC++ project files...
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-evcprj.zip --output /c/transit/wx-mk-evcprj.zip
echo Getting Digital Mars makefiles...
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-dmars.zip --output /c/transit/wx-mk-dmars.zip
echo Getting VC++ makefiles...
curl http://biolpc22.york.ac.uk/pub/CVS_Makefiles/wx-mk-msvc.zip --output /c/transit/wx-mk-msvc.zip
cd $APPDIR
echo Unarchiving makefiles and project files...
unzip -o -a /c/transit/wx-mk-evcprj.zip
unzip -o -a /c/transit/wx-mk-dmars.zip
unzip -o -a /c/transit/wx-mk-msvc.zip
echo Done getting makefiles and project files.
}
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
# So if we need to (not in this script so far) we do something like this instead:
# expandlines $SRC/setup/files.rsp temp.txt
# zip -@ `$CYGPATHPROG -w $DEST/archive.zip` < temp.txt
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ $line != "" ]; then
ls $line >> $outputfile
fi
done
}
usage()
{
echo "Usage: $PROGNAME [ options ]" 1>&2
echo Options:
echo " --help Display this help message"
echo " --upx Compress executable with UPX"
echo " --no-upx Do not compress executable with UPX"
echo " --inno Build the setup.exe"
echo " --no-inno Do not build the setup.exe"
echo " --wxmac Build wxMac distribution"
echo " --wxmsw Build wxMSW distribution"
echo " --wxos2 Build wxOS2 distribution"
echo " --wxall Build wxAll zip distribution"
echo " --wxbase Build wxBase zip distribution"
echo " --docs Build docs archives"
echo " --all Build all distributions (the default)"
echo " --getmakefiles Get out-of-CVS makefiles and unarchive into the wxWidgets source tree"
echo " --verbose Verbose zip operation"
echo.
echo Note that options only override settings in $SCRIPTDIR/setup.var.
exit 1
}
# Process command line options.
for i in "$@"; do
case "$i" in
--inno) INNO=1 ;;
--no-inno) INNO=0 ;;
--upx) UPX=1 ;;
--no-upx) UPX=0 ;;
--wxmac) SPINMAC=1; SPINALL=0 ;;
--wxmsw) SPINMSW=1; SPINALL=0 ;;
--wxos2) SPINOS2=1; SPINALL=0 ;;
--wxall) SPINWXALL=1; SPINALL=0 ;;
--wxbase) SPINBASE=1; SPINALL=0 ;;
--getmakefiles) GETMAKEFILES=1; SPINALL=0 ;;
--docs) SPINDOCS=1; SPINALL=0 ;;
--all) SPINALL=1 ;;
--verbose) VERBOSE=1 ;;
*)
usage
exit
;;
esac
done
doinit
if [ "$GETMAKEFILES" = "1" ]; then
getmakefiles
exit
fi
# findversion
makesetup

View File

@@ -1,350 +0,0 @@
#!/bin/sh
# Makes the wxWidgets tarballs with 'make dist'
doupdatecvs()
{
cd $WXSRC
echo Updating from CVS...
cvswx update -d -P
}
dospinwxgtk()
{
echo Making wxGTK tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxgtk
mkdir $WXDEST/wxgtk
mkdir $WXDEST/wxgtk/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxgtk/release
echo Configuring...
$WXSRC/configure --no-recursion
echo Making...
make -j1 dist bzip-dist-only
mv $WXDEST/wxgtk/release/*.gz $WXDEST/wxgtk/release/*.bz2 $WXDEST
}
dospinwxmgl()
{
echo Making wxMGL tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmgl
mkdir $WXDEST/wxmgl
mkdir $WXDEST/wxmgl/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmgl/release
echo Configuring...
$WXSRC/configure --no-recursion --with-mgl
echo Making...
make -j1 dist bzip-dist-only
mv $WXDEST/wxmgl/release/*.gz $WXDEST/wxmgl/release/*.bz2 $WXDEST
}
dospinwxbase()
{
echo Making wxBase tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxbase
mkdir $WXDEST/wxbase
mkdir $WXDEST/wxbase/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxbase/release
echo Configuring...
$WXSRC/configure --no-recursion --disable-gui
echo Making...
make -j1 dist bzip-dist-only
mv $WXDEST/wxbase/release/*.gz $WXDEST/wxbase/release/*.bz2 $WXDEST
}
dospinwxx11()
{
echo Making wxX11 tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxx11
mkdir $WXDEST/wxx11
mkdir $WXDEST/wxx11/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxx11/release
echo Configuring...
$WXSRC/configure --with-x11 --no-recursion
echo Making...
make -j1 dist bzip-dist-only
cp $WXDEST/wxx11/release/*.tar.gz $WXDEST
cp $WXDEST/wxx11/release/*.tar.bz2 $WXDEST
}
dospinwxmotif()
{
echo Making wxMotif tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmotif
mkdir $WXDEST/wxmotif
mkdir $WXDEST/wxmotif/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmotif/release
echo Configuring...
$WXSRC/configure --with-motif --no-recursion
echo Making...
make -j1 dist bzip-dist-only
cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST
cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST
echo Rearchiving wxMotif tarballs to change wxMOTIF to wxMotif...
cd $WXDEST
mkdir wxMotif.tmp
cd wxMotif.tmp
rm -f -r *
tar xfz ../wxMOTIF-$WXVER.tar.gz
mv wxMOTIF-$WXVER wxMotif-$WXVER
rm -f ../wxMOTIF-$WXVER.tar.gz
rm -f ../wxMOTIF-$WXVER.tar.bz2
tar cf ../wxMotif-$WXVER.tar *
gzip -c ../wxMotif-$WXVER.tar > ../wxMotif-$WXVER.tar.gz
bzip2 -f9 ../wxMotif-$WXVER.tar
cd ..
rm -f -r wxMotif.tmp
# rm -f -r $WXDEST/wxmotif
}
dospinwxmac()
{
echo Making wxMac tarballs...
if [ ! -d $WXDEST ]; then
mkdir $WXDEST
fi
rm -f -r $WXDEST/wxmac
mkdir $WXDEST/wxmac
mkdir $WXDEST/wxmac/release
cd $WXSRC
cd locale
make allmo
cd $WXDEST/wxmac/release
echo Configuring...
$WXSRC/configure --with-mac --no-recursion
echo Making...
make -j1 dist bzip-dist-only
cp $WXDEST/wxmac/release/*.tar.gz $WXDEST
cp $WXDEST/wxmac/release/*.tar.bz2 $WXDEST
echo Rearchiving wxMac tarballs to change wxMAC to wxMAC...
cd $WXDEST
mkdir wxMac.tmp
cd wxMac.tmp
rm -f -r *
tar xfz ../wxMac-$WXVER.tar.gz
mv wxMAC-$WXVER wxMac-$WXVER
rm -f ../wxMAC-$WXVER.tar.gz
rm -f ../wxMAC-$WXVER.tar.bz2
tar cf ../wxMac-$WXVER.tar *
gzip -c ../wxMac-$WXVER.tar > ../wxMac-$WXVER.tar.gz
bzip2 -f9 ../wxMac-$WXVER.tar
cd ..
rm -f -r wxMac.tmp
rm -f -r $WXDEST/wxmac
}
docopydocs()
{
cp $WXSRC/docs/readme.txt $WXDEST/readme-${WXVER}.txt
cp $WXSRC/docs/changes.txt $WXDEST/changes-${WXVER}.txt
cp $WXSRC/docs/mgl/readme.txt $WXDEST/readme-mgl-${WXVER}.txt
cp $WXSRC/docs/mgl/install.txt $WXDEST/install-mgl-${WXVER}.txt
cp $WXSRC/docs/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt
cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt
cp $WXSRC/docs/x11/install.txt $WXDEST/install-x11-${WXVER}.txt
cp $WXSRC/docs/motif/readme.txt $WXDEST/readme-motif-${WXVER}.txt
cp $WXSRC/docs/motif/install.txt $WXDEST/install-motif-${WXVER}.txt
cp $WXSRC/docs/msw/readme.txt $WXDEST/readme-msw-${WXVER}.txt
cp $WXSRC/docs/msw/install.txt $WXDEST/install-msw-${WXVER}.txt
cp $WXSRC/docs/gtk/readme.txt $WXDEST/readme-gtk-${WXVER}.txt
cp $WXSRC/docs/gtk/install.txt $WXDEST/install-gtk-${WXVER}.txt
cp $WXSRC/docs/mac/readme.txt $WXDEST/readme-mac-${WXVER}.txt
cp $WXSRC/docs/mac/install.txt $WXDEST/install-mac-${WXVER}.txt
cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
}
dospindocs()
{
mkdir -p $WXSRC/docs/html/wx
mkdir -p $WXSRC/docs/html/tex2rtf
mkdir -p $WXSRC/docs/html/fl
mkdir -p $WXSRC/docs/html/ogl
mkdir -p $WXSRC/docs/htb
rm -f -r $WXSRC/docs/html/wx/*.htm*
rm -f -r $WXSRC/docs/htb/wx.htb
echo Making HTML wxWidgets manual...
cd $WXSRC/docs/latex/wx
cp *.gif $WXSRC/docs/html/wx
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
echo Making HTB wxWidgets manual...
cd $WXSRC/docs/html/wx
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
echo Archiving manuals...
# TODO
echo Done making manuals.
}
PROGNAME=$0
WXSRC=$1
WXDEST=$2
WXVER=$3
SPINWXX11=0
SPINWXGTK=0
SPINWXMOTIF=0
SPINWXMAC=0
SPINWXBASE=0
SPINWXMGL=0
SPINDOCS=0
SPINEVERYTHING=0
UPDATECVS=0
SILENT=0
usage()
{
echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
echo Options:
echo " --help Display this help message"
echo " --wxgtk Spin wxGTK"
echo " --wxbase Spin wxBase"
echo " --wxx11 Spin wxX11"
echo " --wxmotif Spin wxMotif"
echo " --wxmac Spin wxMac"
echo " --wxmgl Spin wxMGL"
echo " --docs Spin docs"
echo " --all Spin EVERYTHING"
echo " --updatecvs Update from CVS"
exit 1
}
init=""
if [ "$1" = "" ]
then
usage
exit
fi
if [ "$2" = "" ]
then
usage
exit
fi
if [ "$3" = "" ]
then
usage
exit
fi
# Process command line options.
shift 3
for i in "$@"; do
case "$i" in
--wxx11) SPINWXX11=1 ;;
--wxgtk) SPINWXGTK=1 ;;
--wxmac) SPINWXMAC=1 ;;
--wxbase) SPINWXBASE=1 ;;
--wxmgl) SPINWXMGL=1 ;;
--wxmotif) SPINWXMOTIF=1 ;;
--all) SPINEVERYTHING=1 ;;
--updatecvs) UPDATECVS=1 ;;
--silent) SILENT=1 ;;
*)
usage
exit
;;
esac
done
echo About to make wxWidgets RPMs:
echo From $WXSRC
echo To $WXDEST
echo Version $WXVER
# we don't want this when batch building tarballs.
if [ "$SILENT" = "0" ]; then
echo CTRL-C if this is not correct.
read dummy
fi
if [ "$UPDATECVS" = "1" ]; then
doupdatecvs
fi
if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxx11
fi
if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxgtk
fi
if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmotif
fi
if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmac
fi
if [ "$SPINWXMGL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmgl
fi
if [ "$SPINWXBASE" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxbase
fi
if [ "$SPINDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospindocs
fi
docopydocs

View File

@@ -1,9 +0,0 @@
PATH="/c/Program Files/Bakefile/src":$PATH
cd $WXWIN
mkdir -p build/wince
echo "<?xml version=\"1.0\"?><bakefile-gen><enable-formats>msevc4prj</enable-formats></bakefile-gen>" > build/bakefiles/Bakefiles.local.bkgen
cd build/bakefiles
echo $PATH
# bakefile_gen -b wx.bkl -f msevc4prj
bakefile_gen -f msevc4prj

View File

@@ -1,7 +0,0 @@
include/wx/mgl/*.h
src/mgl/*.cpp
src/mgl/*.lst
include/wx/msdos/*.h
src/msdos/*.cpp

View File

@@ -1,55 +0,0 @@
include/wx/*.h
include/wx/*.cpp
include/wx/*.inl
include/wx/msw/*.h
include/wx/msw/*.rc
include/wx/msw/*.cur
include/wx/msw/*.ico
include/wx/msw/*.bmp
include/wx/msw/ole/*.h
include/wx/generic/*.h
include/wx/generic/*.xpm
include/wx/unix/*.h
include/wx/univ/*.h
src/common/*.cpp
src/common/*.c
src/common/*.inc
src/generic/*.cpp
src/generic/*.c
src/unix/*.cpp
src/unix/*.c
src/univ/*.cpp
src/univ/*.c
src/univ/*.lst
src/univ/themes/*.cpp
src/msw/*.cpp
src/msw/*.h
src/msw/*.lst
src/msw/*.def
src/msw/*.inc
src/msw/winestub.c
src/msw/gsocket.c
src/msw/gsockmsw.c
src/msw/version.rc
src/msw/makefile.mic
src/msw/ole/*.cpp
samples/minimal/*.cpp
samples/minimal/*.h
samples/minimal/makefile.mic
samples/minimal/*.xpm
samples/minimal/*.ico
lib/dummy.txt
distrib/msw/microwin.rsp
distrib/msw/tarmicrowin.sh
microwindows.patches
docs/microwin/readme.txt
docs/msw/readme.txt
docs/msw/install.txt

View File

@@ -1,37 +0,0 @@
contrib/docs/html/mmedia/*.htm
contrib/docs/html/mmedia/*.gif
contrib/docs/html/mmedia/*.png
contrib/docs/winhelp/mmedia.hlp
contrib/docs/winhelp/mmedia.cnt
contrib/docs/pdf/mmedia.pdf
contrib/docs/latex/mmedia/*.tex
contrib/docs/latex/mmedia/*.sty
contrib/docs/latex/mmedia/*.bib
contrib/docs/latex/mmedia/*.hpj
contrib/docs/latex/mmedia/*.ini
contrib/docs/latex/mmedia/*.txt
contrib/docs/latex/mmedia/*.cnt
contrib/docs/latex/mmedia/*.eps
contrib/docs/latex/mmedia/*.bmp
contrib/docs/latex/mmedia/*.gif
contrib/docs/latex/mmedia/*.wmf
contrib/include/wx/mmedia/*.h
contrib/include/wx/mmedia/internal/*.h
contrib/build/mmedia/makefile*
contrib/src/mmedia/README
contrib/src/mmedia/*.h
contrib/src/mmedia/*.cpp
contrib/samples/mmedia/*.h
contrib/samples/mmedia/*.cpp
contrib/samples/mmedia/makefile*
contrib/samples/mmedia/*.xbm
contrib/samples/mmedia/*.xpm
contrib/samples/mmedia/*.ico
contrib/samples/mmedia/*.txt
contrib/samples/mmedia/*.rc
contrib/samples/mmedia/*.def
contrib/samples/mmedia/mmboard.dsp
contrib/samples/mmedia/*.bkl

View File

@@ -1,31 +0,0 @@
src/motif/files.lst
src/motif/*.cpp
src/motif/*.c
src/motif/*.h
src/motif/makefile*
src/motif/*.inc
src/motif/*.xbm
src/motif/xmcombo/*.c
src/motif/xmcombo/*.h
src/motif/xmcombo/*.doc
src/motif/xmcombo/*.man
src/motif/xmcombo/*.txt
src/x11/files.lst
src/x11/*.cpp
src/x11/*.c
src/x11/*.h
src/x11/makefile*
src/x11/*.inc
src/x11/*.xbm
include/wx/motif/*.h
include/wx/x11/*.h
docs/motif/*.txt
docs/motif/makewxmotif
lib/dummy
misc/afm/*.afm
misc/gs_afm/*.afm

View File

@@ -1,109 +0,0 @@
build/msw/config.*
build/msw/makefile.*
lib/dummy
lib/wx*.def
lib/_sc/*.txt
lib/_sc/*.def
docs/licence.txt
docs/msw/*.txt
docs/wine/*.txt
docs/wine/COPYING.LIB
docs/microwin/readme.txt
docs/microwin/microwindows.patches
distrib/msw/*.rsp
distrib/msw/*.bat
tools/gettext/*.exe
tools/gettext/*.sed
src/cwcopysetup.bat
src/cwdcopysetup.bat
src/common/*.rc
src/msw/*.cpp
src/msw/*.h
src/msw/*.lst
src/msw/*.inc
src/msw/winestub.c
src/msw/gsocket.c
src/msw/gsockmsw.c
src/msw/version.rc
src/msw/ole/*.cpp
src/msw/*.prj
src/msw/wince/*.cpp
src/msw/wince/*.c
include/wx/msw/*.h
include/wx/msw/*.rc
include/wx/msw/wx.manifest
include/wx/msw/ole/*.h
include/wx/msw/*.cur
include/wx/msw/*.ico
include/wx/msw/*.bmp
include/msvc/wx/*.h
include/wx/msw/wince/*.h
include/wx/msw/wince/*.rc
samples/*.rc
samples/*.xpm
samples/*.ico
samples/makefile*
samples/ownerdrw/*.cpp
samples/ownerdrw/*.h
samples/ownerdrw/makefile.*
samples/ownerdrw/*.rc
samples/ownerdrw/*.def
samples/ownerdrw/*.bmp
samples/ownerdrw/*.png
samples/ownerdrw/*.ico
samples/ownerdrw/*.txt
samples/ownerdrw/*.bkl
samples/regtest/*.cpp
samples/regtest/*.h
samples/regtest/makefile.*
samples/regtest/*.rc
samples/regtest/*.def
samples/regtest/*.bmp
samples/regtest/*.ico
samples/regtest/*.txt
samples/regtest/*.bkl
samples/nativdlg/*.cpp
samples/nativdlg/*.h
samples/nativdlg/*.def
samples/nativdlg/*.rc
samples/nativdlg/*.txt
samples/nativdlg/makefile.*
samples/nativdlg/*.xbm
samples/nativdlg/*.ico
samples/nativdlg/*.bmp
samples/nativdlg/*.bkl
samples/mfc/*.h
samples/mfc/*.cpp
samples/mfc/*.def
samples/mfc/*.rc
samples/mfc/makefile.*
samples/mfc/*.txt
samples/mfc/*.bmp
samples/mfc/*.ico
samples/mfc/*.bkl
samples/oleauto/*.h
samples/oleauto/*.cpp
samples/oleauto/*.def
samples/oleauto/*.rc
samples/oleauto/makefile.*
samples/oleauto/*.txt
samples/oleauto/*.bmp
samples/oleauto/*.ico
samples/oleauto/*.bkl

View File

@@ -1,265 +0,0 @@
*.m4
autogen.sh
configure
config.guess
config.sub
configure.in
setup.h.in
install-sh
mkinstalldirs
wx-config.in
locale/*.po
locale/*.mo
locale/Makefile
art/*.xpm
docs/readme.txt
docs/readme_vms.txt
docs/install.txt
docs/changes.txt
docs/todo.txt
docs/licence.txt
docs/licendoc.txt
docs/preamble.txt
docs/gpl.txt
docs/lgpl.txt
docs/symbols.txt
docs/bugs.txt
docs/index.htm
docs/html/*.htm
docs/html/*.gif
docs/html/*.png
docs/html/icons/*.gif
docs/html/icons/*.png
docs/html/icons/*.jpg
docs/html/images/*.gif
docs/html/images/*.png
docs/html/images/*.jpg
src/makeenvs/*.env
src/*.inc
src/mkdir
src/make.env.in
src/makeprog.env.in
src/makelib.env.in
src/files.lst
src/common/*.cpp
src/common/dosyacc.c
src/common/doslex.c
src/common/vmsyacc.c
src/common/vmslex.c
src/common/extended.c
src/common/unzip.c
src/common/unzip.h
src/common/*.l
src/common/*.y
src/common/*.inc
src/common/base.rc
src/generic/*.cpp
src/generic/*.c
src/generic/*.inc
src/html/*.cpp
src/html/*.h
src/html/bitmaps/*.xpm
src/unix/*.cpp
src/unix/*.c
src/png/*.c
src/png/*.h
src/png/makefile*
src/png/INSTALL
src/png/CHANGES
src/png/README
src/png/TODO
src/png/*.1
src/png/*.3
src/png/*.5
src/png/scripts/*.ppc
src/png/scripts/*.bat
src/png/scripts/makefile*
src/png/scripts/*.com
src/png/scripts/*.def
src/zlib/*.c
src/zlib/*.h
src/zlib/INDEX
src/zlib/README
src/zlib/ChangeLog
src/zlib/configure
src/zlib/*.txt
src/zlib/makefile*
src/zlib/*.com
src/zlib/*.3
src/regex/COPYRIGHT
src/regex/makefile*
src/regex/README
src/regex/WHATSNEW
src/regex/mkh
src/regex/*.h
src/regex/*.ih
src/regex/*.c
src/regex/tests
src/regex/regex.3
src/regex/regex.7
include/wx/*.h
include/wx/*.inl
include/wx/*.cpp
include/wx/protocol/*.h
include/wx/wx_setup.vms
include/wx/common/*.h
include/wx/generic/*.h
include/wx/generic/*.xpm
include/wx/unix/*.h
include/wx/html/*.h
include/wx/html/msw/*.bmp
include/wx/html/msw/*.ico
include/wx/html/msw/*.rc
lib/dummy
tools/gettext/*.*
bitmaps/xpm/16x16/*.*
bitmaps/xpm/32x32/*.*
bitmaps/xpm/64x64/*.*
bitmaps/xpm/misc/*.*
bitmaps/*.*
bitmaps/bmp/16x15/*.*
bitmaps/bmp/10x8/*.*
bitmaps/ico/32x32/*.*
samples/*.txt
samples/configure
samples/configure.in
samples/dialogs/*.h
samples/dialogs/*.cpp
samples/dialogs/*.def
samples/dialogs/*.rc
samples/dialogs/makefile*
samples/dialogs/*.xbm
samples/dialogs/*.xpm
samples/dialogs/*.txt
samples/dialogs/*.bmp
samples/dialogs/*.ico
samples/dialogs/*.pro
samples/minimal/*.cpp
samples/minimal/*.h
samples/minimal/*.def
samples/minimal/makefile*
samples/minimal/*.xbm
samples/minimal/*.xpm
samples/minimal/*.ico
samples/minimal/*.rc
samples/minimal/*.pro
samples/widgets/*.cpp
samples/widgets/*.h
samples/widgets/makefile*
samples/widgets/*.rc
samples/widgets/*.def
samples/widgets/*.ico
samples/widgets/*.xpm
samples/widgets/*.txt
samples/widgets/*.bmp
samples/widgets/*.pro
samples/widgets/icons/*.xpm
lib/wx*.def
docs/msw/*.txt
src/makeb32.env
src/makeprog.b32
src/makelib.b32
src/makebcc.env
src/makeprog.bcc
src/makelib.bcc
src/makemsc.env
src/makewat.env
src/makeprog.wat
src/makelib.wat
src/makesc.env
src/makevc.env
src/makeprog.vc
src/makelib.vc
src/makeg95.env
src/makeprog.g95
src/makelib.g95
src/maketwin.env
src/makefile.bcc
src/makefile.vc
src/*.bat
src/msw/*.cpp
src/msw/*.h
src/msw/makefile.*
src/msw/makebase.b32
src/msw/makeuniv.b32
src/msw/*.lst
src/msw/*.def
src/msw/*.inc
src/msw/winestub.c
src/msw/gsocket.c
src/msw/gsockmsw.c
src/msw/version.rc
src/msw/ole/*.cpp
src/msw/*.prj
include/wx/msw/*.h
include/wx/msw/*.rc
include/wx/msw/ctl3d/*.h
include/wx/msw/gnuwin32/*.h
include/wx/msw/gnuwin32/*.def
include/wx/msw/gnuwin32/gl/*.h
include/wx/msw/ole/*.h
include/wx/msw/*.cur
include/wx/msw/*.ico
include/wx/msw/*.bmp
Makefile.in
src/regex/Makefile.in
samples/Makefile.in
src/wxWindows.dsp
src/wxWindows.dsw
src/wxUniv.dsp
src/wxUniv.dsw
src/wxBase.dsp
src/wxBase.dsw
src/jpeg/jpeg.dsp
src/jpeg/jpeg.dsw
src/tiff/tiff.dsp
src/tiff/tiff.dsw
src/zlib/zlib.dsp
src/zlib/zlib.dsw
src/png/png.dsp
src/png/png.dsw
src/regex/regex.dsp
src/regex/regex.dsw
samples/samples.dsw
samples/dialogs/dialogs.dsp
samples/minimal/minimal.dsp
samples/minimal/minimalUniv.dsp
samples/widgets/widgets.dsp
samples/widgets/widgetsUniv.dsp

View File

@@ -1,57 +0,0 @@
#
# To make this Bourne shell script operative apply once:
# chmod 700 namedown
# rehash
case $# in
0)
echo
echo "====================================================="
echo "namedown, Convert file names to lower case and ; to ."
echo "By Hannu Hirvonen and Timo Salmi Sun 18-Mar-2001"
echo "http://www.uwasa.fi/~ts/ and http://www.uwasa.fi/~hh/"
echo "====================================================="
echo
echo "Usage: namedown [FILENAME(S)]"
echo
echo "Converts file names only. Directory names are not affected"
echo
;;
*)
for oldname in $*
do
newfile=`basename ${oldname} | tr '[A-Z;]' '[a-z.]'`
dirname=`dirname ${oldname}`
newname="${dirname}/${newfile}"
oldname="${dirname}/`basename ${oldname}`"
#Don't convert a file into itself
if [ "${newname}" = "${oldname}" ]; then
echo > /dev/null
#Don't convert directory names
elif [ -d "${oldname}" ]; then
mv "${oldname}" "${oldname}.bak"
mv "${oldname}.bak" "${newname:-${oldname}}"
# echo "Directory ${oldname} converted to directory ${newname:-${oldname}}"
# echo /dev/null
#Don't convert if the file does not exist
elif [ ! -f "${oldname}" ]; then
echo > /dev/null
#Don't overwrite existing files
# elif [ -f "${newname}" ]; then
echo "${oldname} not converted, file ${newname} already exists" 2>&1
#Don't move to subdirectories if they happen to exist
elif [ -d "${newname}" ]; then
echo "${oldname} not converted, directory ${newname} already exists" 2>&1
#Do it
else
mv "${oldname}" "${oldname}.bak"
mv "${oldname}.bak" "${newname:-${oldname}}"
# echo "File ${oldname} converted to file ${newname:-${oldname}}"
fi
done
;;
esac

View File

@@ -1,29 +0,0 @@
utils/nplugin/make*.*
utils/nplugin/src/*.cpp
utils/nplugin/src/*.h
utils/nplugin/src/*.rc
utils/nplugin/src/*.def
utils/nplugin/src/makefile.*
utils/nplugin/src/*.txt
utils/nplugin/samples/simple/*.cpp
utils/nplugin/samples/simple/*.h
utils/nplugin/samples/simple/*.rc
utils/nplugin/samples/simple/*.def
utils/nplugin/samples/simple/makefile.*
utils/nplugin/samples/simple/*.txt
utils/nplugin/samples/gui/*.cpp
utils/nplugin/samples/gui/*.h
utils/nplugin/samples/gui/*.rc
utils/nplugin/samples/gui/*.def
utils/nplugin/samples/gui/makefile.*
utils/nplugin/samples/gui/*.txt
utils/nplugin/docs/*.tex
utils/nplugin/docs/*.txt
utils/nplugin/docs/*.hpj
utils/nplugin/docs/*.eps
utils/nplugin/docs/*.ps
utils/nplugin/docs/*.ini
utils/nplugin/docs/*.cnt
utils/nplugin/docs/*.hlp
utils/nplugin/lib/dummy

View File

@@ -1,99 +0,0 @@
contrib/docs/html/ogl/*.htm
contrib/docs/html/ogl/*.gif
contrib/docs/html/ogl/*.png
contrib/docs/winhelp/ogl.hlp
contrib/docs/winhelp/ogl.cnt
contrib/docs/pdf/ogl.pdf
contrib/docs/latex/ogl/*.tex
contrib/docs/latex/ogl/*.sty
contrib/docs/latex/ogl/*.bib
contrib/docs/latex/ogl/*.hpj
contrib/docs/latex/ogl/*.ini
contrib/docs/latex/ogl/*.txt
contrib/docs/latex/ogl/*.cnt
contrib/docs/latex/ogl/*.eps
contrib/docs/latex/ogl/*.bmp
contrib/docs/latex/ogl/*.gif
contrib/docs/latex/ogl/*.wmf
contrib/src/ogl/*.cpp
contrib/src/ogl/*.h
contrib/src/ogl/*.rc
contrib/src/ogl/*.def
contrib/src/ogl/*.xbm
contrib/src/ogl/*.xpm
contrib/src/ogl/makefile.vc
contrib/src/ogl/makefile.bcc
contrib/src/ogl/makefile.b32
contrib/src/ogl/makefile.wat
contrib/src/ogl/makefile.g95
contrib/src/ogl/makefile.unx
contrib/src/ogl/makefile.vms
contrib/src/ogl/Makefile.in
contrib/src/ogl/*.txt
contrib/src/ogl/*.ico
contrib/src/ogl/*.bmp
contrib/include/wx/ogl/*.h
contrib/samples/ogl/ogledit/*.cpp
contrib/samples/ogl/ogledit/*.h
contrib/samples/ogl/ogledit/*.rc
contrib/samples/ogl/ogledit/*.def
contrib/samples/ogl/ogledit/*.xbm
contrib/samples/ogl/ogledit/makefile.vc
contrib/samples/ogl/ogledit/makefile.bcc
contrib/samples/ogl/ogledit/makefile.b32
contrib/samples/ogl/ogledit/makefile.wat
contrib/samples/ogl/ogledit/makefile.g95
contrib/samples/ogl/ogledit/makefile.unx
contrib/samples/ogl/ogledit/makefile.vms
contrib/samples/ogl/ogledit/Makefile.in
contrib/samples/ogl/ogledit/*.txt
contrib/samples/ogl/ogledit/*.ico
contrib/samples/ogl/ogledit/*.bmp
contrib/samples/ogl/ogledit/*.xpm
contrib/samples/ogl/ogledit/*.dsp
contrib/samples/ogl/ogledit/bitmaps/*.bmp
contrib/samples/ogl/ogledit/bitmaps/*.gif
contrib/samples/ogl/ogledit/bitmaps/*.xbm
contrib/samples/ogl/ogledit/bitmaps/*.xpm
contrib/samples/ogl/studio/*.cpp
contrib/samples/ogl/studio/*.h
contrib/samples/ogl/studio/*.rc
contrib/samples/ogl/studio/*.def
contrib/samples/ogl/studio/*.xbm
contrib/samples/ogl/studio/makefile.vc
contrib/samples/ogl/studio/makefile.bcc
contrib/samples/ogl/studio/makefile.b32
contrib/samples/ogl/studio/makefile.wat
contrib/samples/ogl/studio/makefile.g95
contrib/samples/ogl/studio/makefile.unx
contrib/samples/ogl/studio/makefile.vms
contrib/samples/ogl/studio/Makefile.in
contrib/samples/ogl/studio/*.txt
contrib/samples/ogl/studio/*.ico
contrib/samples/ogl/studio/*.bmp
contrib/samples/ogl/studio/*.xpm
contrib/samples/ogl/studio/*.wxr
contrib/samples/ogl/studio/*.dsp
contrib/samples/ogl/studio/bitmaps/*.bmp
contrib/samples/ogl/studio/bitmaps/*.gif
contrib/samples/ogl/studio/bitmaps/*.xbm
contrib/samples/ogl/studio/bitmaps/*.xpm
contrib/samples/ogl/studio/bitmaps/*.ico
contrib/samples/ogl/studio/manual/*.tex
contrib/samples/ogl/studio/manual/*.ini
contrib/samples/ogl/studio/manual/*.gif
contrib/samples/ogl/studio/manual/*.bmp
contrib/samples/ogl/studio/manual/*.htm
contrib/samples/ogl/studio/manual/*.hlp
contrib/samples/ogl/studio/manual/*.cnt
contrib/samples/ogl/studio/manual/Makefile
distrib/msw/ogl.rsp
distrib/msw/zipogl.bat

View File

@@ -1,35 +0,0 @@
lib/dummy
docs/licence.txt
docs/os2/*.txt
distrib/msw/*.rsp
distrib/msw/*.bat
src/makeva.env
src/makefile.va
src/makeprog.va
src/common/dosyacc.c
src/common/doslex.c
src/common/y_tab.c
src/common/lex_yy.c
src/common/*.rc
src/os2/*.cpp
src/os2/*.c
src/os2/makefile.va
src/os2/*.def
src/os2/*.lst
src/os2/*.sh
src/*.icc
include/wx/os2/*.h
include/wx/os2/*.rc
include/wx/os2/*.res
include/wx/msw/*.cur
include/wx/msw/*.ico
include/wx/msw/*.bmp
samples/minimal/Minimal.icc

View File

@@ -1,18 +0,0 @@
build/palmos/.cdtproject
build/palmos/.project
build/palmos/*.mk
build/palmos/makefile
docs/palmos/*.txt
src/palmos/*.cpp
src/palmos/*.c
src/palmos/*.h
include/wx/palmos/*.h
include/wx/palmos/*.xrd
include/wx/palmos/*.def
include/wx/palmos/*.sld
include/wx/palmos/*.xrd
include/wx/palmos/Icons/*.bmp

View File

@@ -1,11 +0,0 @@
include/wx/msw/window.h
include/wx/msw/listbox.h
src/msw/window.cpp
include/wx/msw/notebook.h
include/wx/msw/uxthemep.h
src/msw/notebook.cpp
src/msw/tbar95.cpp
src/msw/helpchm.cpp
src/generic/grid.cpp
src/generic/splitter.cpp

View File

@@ -1,36 +0,0 @@
Distribution scripts and lists
-----------------------------------------------------------------
This directory (distrib\msw) contains some 4DOS batch files
(.bat) and 'response' files (.rsp) to simplify the job of
producing distributions. The .rsp files specify which files are
associated with a particular module, e.g. wx200vc.rsp refers to
the VC++ project files, wx200gen.rsp represents the generic files,
wx200msw.rsp specifies the Windows specific files, etc.
When making a distribution on Windows, I call zipdist.bat to prepare
zip files with everything needed for Windows,
GTK and Motif. zipdist then unzips some of them into
deliver\wx, removes and adds a few files to perfect the
distribution.
zipdist then calls 'makewise.bat' to generate a new wxwin2.wse
script, for WISE Installer. It takes wisetop.txt, wisebott.txt
and adds the section for file installation. (If you've modified
wxwin2.wse using WISE Installer, simply compile and run splitwise.exe
to put back up-to-date wisetop.txt, wisebott.txt files before
running zipdist.)
Finally, zipdist runs WISE Installer using a command line
argument to produce the setup.* files automatically.
Note that although zipdist.bat produces archives for 3 platforms,
I only use a subset of these to produce the Windows-specific
setup.exe. I then have the option of distributing the zip files
as well.
You may need to install 4DOS to run these scripts. If anyone
wishes to remove 4DOS dependency, that's fine with me.
Julian Smart, 11th October 1999

View File

@@ -1,144 +0,0 @@
### List of variables for the purposes of generating an application's
### setup.exe
#-------------------------------------------------------------------------
# The application name
#-------------------------------------------------------------------------
APPNAME=wxwin
#-------------------------------------------------------------------------
# The application title
#-------------------------------------------------------------------------
APPTITLE="wxWidgets"
#-------------------------------------------------------------------------
# The application author (copyright holder)
#-------------------------------------------------------------------------
AUTHOR="The wxWidgets Team"
#-------------------------------------------------------------------------
# The application vendor (organisation)
#-------------------------------------------------------------------------
VENDOR="Anthemion"
#-------------------------------------------------------------------------
# The application data file extension
#-------------------------------------------------------------------------
APPEXTENSION=
#-------------------------------------------------------------------------
# The symbol to use when querying for the version number (not used)
#-------------------------------------------------------------------------
VERSIONSYMBOL=wxVERSION
#-------------------------------------------------------------------------
# The top-level directory of the application source tree
#-------------------------------------------------------------------------
APPDIR=c:/wx2dev/wxWindows
#-------------------------------------------------------------------------
# The destination directory of the setup
#-------------------------------------------------------------------------
DESTDIR=$APPDIR/deliver
#-------------------------------------------------------------------------
# The temporary image directory to use when preparing the setup
#-------------------------------------------------------------------------
SETUPIMAGEDIR=$APPDIR/deliver/wxWidgets-$VERSION
#-------------------------------------------------------------------------
# The name of the file with $VERSIONSYMBOL in it
#-------------------------------------------------------------------------
VERSIONSYMBOLFILE=$APPDIR/include/wx/version.h
#-------------------------------------------------------------------------
# The locations of the project's Inno Setup header and footer files
#-------------------------------------------------------------------------
INNOTOP=$APPDIR/distrib/msw/innotop.txt
INNOBOTTOM=$APPDIR/distrib/msw/innobott.txt
#-------------------------------------------------------------------------
# The location of the generated setup script
#-------------------------------------------------------------------------
SETUPSCRIPTNAME=$APPDIR/distrib/msw/wxwin2.iss
#-------------------------------------------------------------------------
# The locations of the readme and license files
#-------------------------------------------------------------------------
READMEFILE=$APPDIR/docs/readme.txt
READMEAFTERFILE=$APPDIR/docs/msw/install.txt
LICENSEFILE=$APPDIR/docs/licence.txt
#-------------------------------------------------------------------------
# The binary to include in the setup
#-------------------------------------------------------------------------
APPBINARY=$APPDIR/src/ReleaseStable/$APPNAME.exe
#APPBINARY=$APPDIR/src/ReleaseDev/$APPNAME.exe
#-------------------------------------------------------------------------
# The location of the setup compiler
#-------------------------------------------------------------------------
#SETUPCOMPILER="c:/Program Files/Inno Setup 4/compil32.exe"
SETUPCOMPILER="c:/Program Files/Inno Setup 5/compil32.exe"
#-------------------------------------------------------------------------
# Whether we will compress the binary (0 or 1).
# Use --upx or --no-upx to override this default value.
#-------------------------------------------------------------------------
UPX=0
#-------------------------------------------------------------------------
# Whether we will make a manual (0 or 1)
# Use --make-manual or --no-make-manual to override this default value.
#-------------------------------------------------------------------------
MAKEMANUAL=0
#-------------------------------------------------------------------------
# The manual filename(s)
#-------------------------------------------------------------------------
MANUALFILES=wx.chm
#-------------------------------------------------------------------------
# The directory containing the manual source. We assume
# that there is a Makefile in this directory for making the
# manual.
#-------------------------------------------------------------------------
MANUALDIR=$APPDIR/docs
#-------------------------------------------------------------------------
# The resources file to compile, if any (e.g. myapp.bin).
# This is just a zip containing files to be used by the
# application, usually stored in src/resources.
#
# If this is left empty, no resources will be compiled.
#-------------------------------------------------------------------------
RESOURCESFILE=
#-------------------------------------------------------------------------
# The directory containing the resources.
#
# If this is left empty, no resources will be compiled.
#-------------------------------------------------------------------------
RESOURCESDIR=

View File

@@ -1,52 +0,0 @@
contrib/docs/html/stc/*.htm
contrib/docs/html/stc/*.gif
contrib/docs/html/stc/*.png
contrib/docs/winhelp/stc.hlp
contrib/docs/winhelp/stc.cnt
contrib/docs/pdf/stc.pdf
contrib/docs/latex/stc/*.tex
contrib/docs/latex/stc/*.sty
contrib/docs/latex/stc/*.bib
contrib/docs/latex/stc/*.hpj
contrib/docs/latex/stc/*.ini
contrib/docs/latex/stc/*.txt
contrib/docs/latex/stc/*.cnt
contrib/docs/latex/stc/*.eps
contrib/docs/latex/stc/*.bmp
contrib/docs/latex/stc/*.gif
contrib/docs/latex/stc/*.wmf
contrib/src/stc/*.cpp
contrib/src/stc/*.h
contrib/src/stc/*.rc
contrib/src/stc/*.def
contrib/src/stc/*.xbm
contrib/src/stc/*.xpm
contrib/src/stc/make*.*
contrib/src/stc/*.ico
contrib/src/stc/*.bmp
contrib/src/stc/README.txt
contrib/src/stc/scintilla/README.txt
contrib/src/stc/scintilla/include/*.h
contrib/src/stc/scintilla/src/*.cpp
contrib/src/stc/scintilla/src/*.cxx
contrib/src/stc/scintilla/src/*.h
contrib/include/wx/stc/*.h
contrib/samples/stc/*.cpp
contrib/samples/stc/*.h
contrib/samples/stc/*.rc
contrib/samples/stc/*.def
contrib/samples/stc/*.xbm
contrib/samples/stc/make*.*
contrib/samples/stc/Makefile
contrib/samples/stc/*.txt
contrib/samples/stc/*.ico
contrib/samples/stc/*.bmp
contrib/samples/stc/*.xpm
contrib/samples/stc/*.wxr
contrib/samples/stc/*.dsp
contrib/samples/stc/*.bkl

View File

@@ -1,15 +0,0 @@
src/stubs/*.cpp
src/stubs/*.h
src/stubs/makefile*
src/stubs/*.inc
src/make.env
src/makeprog.env
src/makelib.env
include/wx/stubs/*.h
include/wx/stubs/*.rc
lib/dummy

View File

@@ -1,2 +0,0 @@
@ctags.exe -R --totals --lang=c++ -I WXDLLEXPORT src\msw src\common src\generic src\html include\wx include\wx\generic include\wx\msw include\wx\protocol include\wx\html

View File

@@ -1,573 +0,0 @@
#!/bin/sh
# tardist: make up a tar.gz distribution of wxWidgets 2
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
TAR=tar
ARCH=`arch`
if [ "$ARCH" = "ppc" ]; then
TAR=gnutar
fi
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ "$line" != "" ]; then
ls $line >> $outputfile
fi
uniq < $outputfile > /tmp/uniqtemp.txt
mv /tmp/uniqtemp.txt $outputfile
done
}
doinit()
{
cd $WXSRC
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $WXDEST/wx*-${WXVER}*.tar.gz
# Copy setup files
cp $WXSRC/include/wx/msw/setup0.h $WXSRC/include/wx/msw/setup.h
cp $WXSRC/include/wx/univ/setup0.h $WXSRC/include/wx/univ/setup.h
# Copy readme and other files
cp $WXSRC/docs/readme.txt $WXDEST/readme-${WXVER}.txt
cp $WXSRC/docs/changes.txt $WXDEST/changes-${WXVER}.txt
cp $WXSRC/docs/mgl/readme.txt $WXDEST/readme-mgl-${WXVER}.txt
cp $WXSRC/docs/mgl/install.txt $WXDEST/install-mgl-${WXVER}.txt
cp $WXSRC/docs/x11/readme.txt $WXDEST/readme-x11-${WXVER}.txt
# cp $WXSRC/docs/x11/readme-nanox.txt $WXDEST/readme-nanox-${WXVER}.txt
cp $WXSRC/docs/x11/install.txt $WXDEST/install-x11-${WXVER}.txt
cp $WXSRC/docs/motif/readme.txt $WXDEST/readme-motif-${WXVER}.txt
cp $WXSRC/docs/motif/install.txt $WXDEST/install-motif-${WXVER}.txt
cp $WXSRC/docs/msw/readme.txt $WXDEST/readme-msw-${WXVER}.txt
cp $WXSRC/docs/msw/install.txt $WXDEST/install-msw-${WXVER}.txt
cp $WXSRC/docs/gtk/readme.txt $WXDEST/readme-gtk-${WXVER}.txt
cp $WXSRC/docs/gtk/install.txt $WXDEST/install-gtk-${WXVER}.txt
cp $WXSRC/docs/mac/readme.txt $WXDEST/readme-mac-${WXVER}.txt
cp $WXSRC/docs/mac/install.txt $WXDEST/install-mac-${WXVER}.txt
cp $WXSRC/docs/cocoa/readme.txt $WXDEST/readme-cocoa-${WXVER}.txt
cp $WXSRC/docs/cocoa/install.txt $WXDEST/install-cocoa-${WXVER}.txt
cp $WXSRC/docs/os2/install.txt $WXDEST/install-os2-${WXVER}.txt
# Make .mo files
cd $WXSRC/locale
make allmo
}
dospinwxgtk()
{
echo Tarring wxGTK...
cd $WXSRC
cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxgtk_in.txt
expandlines /tmp/wxgtk_in.txt /tmp/wxgtk.txt
$TAR cf $WXDEST/wxGTK-${WXVER}.tar -T /tmp/wxgtk.txt
echo Re-tarring wxGTK in a subdirectory...
cd $WXDEST
mkdir wxGTK-${WXVER}
cd wxGTK-${WXVER}
$TAR xf ../wxGTK-${WXVER}.tar
echo Copying readme files...
cp $WXSRC/docs/gtk/readme.txt README-GTK.txt
cp $WXSRC/docs/gtk/install.txt INSTALL-GTK.txt
cp $WXSRC/docs/readme.txt README.txt
cp $WXSRC/docs/changes.txt CHANGES.txt
cp $WXSRC/docs/licence.txt LICENCE.txt
cp $WXSRC/docs/lgpl.txt COPYING.LIB
cd ..
rm -f wxGTK-${WXVER}.tar
$TAR cf $WXDEST/wxGTK-${WXVER}.tar wxGTK-${WXVER}/*
rm -f -r wxGTK-${WXVER}
gzip $WXDEST/wxGTK-${WXVER}.tar
}
dospinwxmotif()
{
echo Tarring wxMotif...
cd $WXSRC
cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmotif_in.txt
expandlines /tmp/wxmotif_in.txt /tmp/wxmotif.txt
$TAR cf $WXDEST/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt
echo Re-tarring wxMotif in a subdirectory...
cd $WXDEST
mkdir wxMotif-${WXVER}
cd wxMotif-${WXVER}
$TAR xf ../wxMotif-${WXVER}.tar
echo Copying readme files...
cp $WXSRC/docs/motif/readme.txt README-MOTIF.txt
cp $WXSRC/docs/motif/install.txt INSTALL-MOTIF.txt
cp $WXSRC/docs/readme.txt README.txt
cp $WXSRC/docs/changes.txt CHANGES.txt
cp $WXSRC/docs/licence.txt LICENCE.txt
cp $WXSRC/docs/lgpl.txt COPYING.LIB
cd ..
rm -f wxMotif-${WXVER}.tar
$TAR cf $WXDEST/wxMotif-${WXVER}.tar wxMotif-${WXVER}/*
rm -f -r wxMotif-${WXVER}
gzip $WXDEST/wxMotif-${WXVER}.tar
}
dospinwxx11()
{
echo Tarring wxX11...
### wxX11: combined wxMotif and wxX11 distributions
cd $WXSRC
cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxx11_in.txt
expandlines /tmp/wxx11_in.txt /tmp/wxx11.txt
$TAR cf $WXDEST/wxX11-${WXVER}.tar -T /tmp/wxx11.txt
echo Re-tarring wxX11 in a subdirectory...
cd $WXDEST
mkdir wxX11-${WXVER}
cd wxX11-${WXVER}
$TAR xf ../wxX11-${WXVER}.tar
echo Copying readme files...
cp $WXSRC/docs/motif/readme.txt README-MOTIF.txt
cp $WXSRC/docs/motif/install.txt INSTALL-MOTIF.txt
cp $WXSRC/docs/x11/readme.txt README-X11.txt
cp $WXSRC/docs/x11/install.txt INSTALL-X11.txt
cp $WXSRC/docs/readme.txt README.txt
cp $WXSRC/docs/changes.txt CHANGES.txt
cp $WXSRC/docs/licence.txt LICENCE.txt
cp $WXSRC/docs/lgpl.txt COPYING.LIB
cd ..
rm -f wxX11-${WXVER}.tar
$TAR cf $WXDEST/wxX11-${WXVER}.tar wxX11-${WXVER}/*
rm -f -r wxX11-${WXVER}
gzip $WXDEST/wxX11-${WXVER}.tar
}
### wxMSW
# cd $WXSRC
# cat $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/bc.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmsw_in.txt
# expandlines /tmp/wxmsw_in.txt /tmp/wxmsw.txt
# $TAR cf $WXDEST/wxMSW-${WXVER}.tar -T /tmp/wxmsw.txt
# gzip $WXDEST/wxMSW-${WXVER}.tar
dospinwxmac()
{
echo Tarring wxMac...
### wxMac
cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/setup.h
cp $WXSRC/include/wx/mac/setup0.h $WXSRC/include/wx/mac/setup.h
cd $WXSRC
cat $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/cocoa.rsp $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt
expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt
$TAR cf $WXDEST/wxMac-${WXVER}.tar -T /tmp/wxmac.txt
rm -f $WXSRC/include/wx/setup.h
echo Re-tarring wxMac in a subdirectory...
cd $WXDEST
mkdir wxMac-${WXVER}
cd wxMac-${WXVER}
# If we have the full set of Mac CW project files,
# get them
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip ]; then
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip
else
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-CW-Mac.zip"
fi
$TAR xf ../wxMac-${WXVER}.tar
rm -f -r contrib/src/mmedia contrib/samples/mmedia
echo Copying readme files...
cp $WXSRC/docs/mac/readme.txt README-MAC.txt
cp $WXSRC/docs/mac/install.txt INSTALL-MAC.txt
cp $WXSRC/docs/readme.txt README.txt
cp $WXSRC/docs/changes.txt CHANGES.txt
cp $WXSRC/docs/licence.txt LICENCE.txt
cp $WXSRC/docs/lgpl.txt COPYING.LIB
cd ..
rm -f wxMac-${WXVER}.tar
$TAR cf $WXDEST/wxMac-${WXVER}.tar wxMac-${WXVER}/*
rm -f -r wxMac-${WXVER}
gzip $WXDEST/wxMac-${WXVER}.tar
}
### wxUniv: universal-specific files
#cd $WXSRC
#cat $WXSRC/distrib/msw/univ.rsp > /tmp/wxuniv_in.txt
#expandlines /tmp/wxuniv_in.txt /tmp/wxuniv.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar -T /tmp/wxuniv.txt
#
#echo Re-tarring wxUniversal in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-Univ.tar
#cd ..
#rm -f wxWidgets-${WXVER}-Univ.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-Univ.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-Univ.tar
dospinwxall()
{
echo Tarring wxAll...
### wxAll: all distributions in one giant archive
cd $WXSRC
cat $WXSRC/distrib/msw/generic.rsp $WXSRC/distrib/msw/msw.rsp $WXSRC/distrib/msw/wince.rsp $WXSRC/distrib/msw/vc.rsp $WXSRC/distrib/msw/cw.rsp $WXSRC/distrib/msw/cw_mac.rsp $WXSRC/distrib/msw/gtk.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/motif.rsp $WXSRC/distrib/msw/mac.rsp $WXSRC/distrib/msw/cocoa.rsp $WXSRC/distrib/msw/os2.rsp $WXSRC/distrib/msw/palmos.rsp $WXSRC/distrib/msw/x11.rsp $WXSRC/distrib/msw/univ.rsp $WXSRC/distrib/msw/mgl.rsp $WXSRC/distrib/msw/contrib.rsp $WXSRC/distrib/msw/deprecated.rsp $WXSRC/distrib/msw/utilmake.rsp $WXSRC/distrib/msw/utils.rsp $WXSRC/distrib/msw/mmedia.rsp $WXSRC/distrib/msw/tex2rtf.rsp $WXSRC/distrib/msw/stc.rsp $WXSRC/distrib/msw/xml.rsp $WXSRC/distrib/msw/ogl.rsp $WXSRC/distrib/msw/makefile.rsp $WXSRC/distrib/msw/tiff.rsp $WXSRC/distrib/msw/jpeg.rsp $WXSRC/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt
expandlines /tmp/wxall_in.txt /tmp/wxall.txt
$TAR cf $WXDEST/wxWidgets-${WXVER}.tar -T /tmp/wxall.txt
echo Re-tarring wxAll in a subdirectory...
cd $WXDEST
mkdir wxWidgets-${WXVER}
cd wxWidgets-${WXVER}
# If we have the full set of VC++ project files,
# get them
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-VC.zip ]; then
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-VC.zip
else
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-VC.zip"
fi
# If we have the full set of eVC++ project files,
# get them
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip ]; then
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-eVC.zip
else
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-eVC.zip"
fi
# If we have the full set of DMC project files,
# get them
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip ]; then
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-DMC.zip
else
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-DMC.zip"
fi
# If we have the full set of Mac CW project files,
# get them
if [ -f $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip ]; then
unzip -o $WXDEST/extra/wxWidgets-${WXVER}-CW-Mac.zip
else
echo "Warning - did not find $WXDEST/deliver/extra/wxWidgets-${WXVER}-CW-Mac.zip"
fi
$TAR xf ../wxWidgets-${WXVER}.tar
# Translate all .dsp and .dsw files to DOS format
unix2dos --unix2dos `cat $WXSRC/distrib/msw/vc.rsp`
echo Copying readme files...
cp $WXSRC/docs/readme.txt README.txt
cp $WXSRC/docs/changes.txt CHANGES.txt
cp $WXSRC/docs/licence.txt LICENCE.txt
cp $WXSRC/docs/lgpl.txt COPYING.LIB
cp $WXSRC/docs/motif/readme.txt README-MOTIF.txt
cp $WXSRC/docs/motif/install.txt INSTALL-MOTIF.txt
cp $WXSRC/docs/x11/readme.txt README-X11.txt
cp $WXSRC/docs/x11/install.txt INSTALL-X11.txt
cp $WXSRC/docs/mac/readme.txt README-MAC.txt
cp $WXSRC/docs/mac/install.txt INSTALL-MAC.txt
cp $WXSRC/docs/mgl/readme.txt README-MGL.txt
cp $WXSRC/docs/mgl/install.txt INSTALL-MGL.txt
cp $WXSRC/docs/palmos/readme.txt README-PALMOS.txt
#cp $WXSRC/docs/os2/readme.txt README-OS2.txt
cp $WXSRC/docs/os2/install.txt INSTALL-OS2.txt
cd ..
rm -f wxWidgets-${WXVER}.tar
$TAR cf $WXDEST/wxWidgets-${WXVER}.tar wxWidgets-${WXVER}/*
rm -f -r wxWidgets-${WXVER}
gzip -c $WXDEST/wxWidgets-${WXVER}.tar > $WXDEST/wxWidgets-${WXVER}.tar.gz
bzip2 $WXDEST/wxWidgets-${WXVER}.tar
}
domakedocs()
{
mkdir -p $WXSRC/docs/html/wx
mkdir -p $WXSRC/docs/html/tex2rtf
mkdir -p $WXSRC/docs/html/fl
mkdir -p $WXSRC/docs/html/ogl
mkdir -p $WXSRC/docs/htb
rm -f -r $WXSRC/docs/html/wx/*.htm*
rm -f -r $WXSRC/docs/htb/wx.htb
echo Making HTML wxWidgets manual...
cd $WXSRC/docs/latex/wx
cp *.gif $WXSRC/docs/html/wx
tex2rtf manual.tex $WXSRC/docs/html/wx/wx.htm -twice -html
echo Making HTB wxWidgets manual...
cd $WXSRC/docs/html/wx
zip -q $WXSRC/docs/htb/wx.htb *.html *.gif *.hhp *.hhc *.hhk
echo Done making manuals.
}
dospinwxdocs()
{
# First make the docs
domakedocs
echo Tarring wxDocs...
### Doc sources
#cd $WXSRC
#cat $WXSRC/distrib/msw/docsrc.rsp > /tmp/docsrc_in.txt
#expandlines /tmp/docsrc_in.txt /tmp/docsrc.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-doc.tar -T /tmp/docsrc.txt
#
#echo Re-tarring docs in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-doc.tar
#cd ..
#rm -f wxWidgets-${WXVER}-doc.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-doc.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-doc.tar
### HTML docs
cd $WXSRC
cat $WXSRC/distrib/msw/wx_html.rsp > /tmp/html_in.txt
expandlines /tmp/html_in.txt /tmp/html.txt
$TAR cf $WXDEST/wxWidgets-${WXVER}-HTML.tar -T /tmp/html.txt
echo Re-tarring HTML in a subdirectory...
cd $WXDEST
mkdir wxWidgets-${WXVER}
cd wxWidgets-${WXVER}
$TAR xf ../wxWidgets-${WXVER}-HTML.tar
cd ..
rm -f wxWidgets-${WXVER}-HTML.tar
$TAR cf $WXDEST/wxWidgets-${WXVER}-HTML.tar wxWidgets-${WXVER}/*
rm -f -r wxWidgets-${WXVER}
gzip $WXDEST/wxWidgets-${WXVER}-HTML.tar
### HTB docs
cd $WXSRC
cat $WXSRC/distrib/msw/wx_htb.rsp > /tmp/htb_in.txt
expandlines /tmp/htb_in.txt /tmp/htb.txt
$TAR cf $WXDEST/wxWidgets-${WXVER}-HTB.tar -T /tmp/htb.txt
echo Re-tarring HTB in a subdirectory...
cd $WXDEST
mkdir wxWidgets-${WXVER}
cd wxWidgets-${WXVER}
$TAR xf ../wxWidgets-${WXVER}-HTB.tar
cd ..
rm -f wxWidgets-${WXVER}-HTB.tar
$TAR cf $WXDEST/wxWidgets-${WXVER}-HTB.tar wxWidgets-${WXVER}/*
rm -f -r wxWidgets-${WXVER}
gzip $WXDEST/wxWidgets-${WXVER}-HTB.tar
### PDF docs
cd $WXSRC
cat $WXSRC/distrib/msw/wx_pdf.rsp > /tmp/pdf_in.txt
expandlines /tmp/pdf_in.txt /tmp/pdf.txt
$TAR cf $WXDEST/wxWidgets-${WXVER}-PDF.tar -T /tmp/pdf.txt
echo Re-tarring PDF in a subdirectory...
cd $WXDEST
mkdir wxWidgets-${WXVER}
cd wxWidgets-${WXVER}
$TAR xf ../wxWidgets-${WXVER}-PDF.tar
cd ..
rm -f wxWidgets-${WXVER}-PDF.tar
$TAR cf $WXDEST/wxWidgets-${WXVER}-PDF.tar wxWidgets-${WXVER}/*
rm -f -r wxWidgets-${WXVER}
gzip $WXDEST/wxWidgets-${WXVER}-PDF.tar
}
### Tex2RTF
#cd $WXSRC
#cat $WXSRC/distrib/msw/tex2rtf.rsp > /tmp/tex2rtf_in.txt
#expandlines /tmp/tex2rtf_in.txt /tmp/tex2rtf.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar -T /tmp/tex2rtf.txt
#
#echo Re-tarring Tex2RTF in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-tex2rtf.tar
#cd ..
#rm -f wxWidgets-${WXVER}-tex2rtf.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-tex2rtf.tar
### OGL
#cd $WXSRC
#cat $WXSRC/distrib/msw/ogl.rsp > /tmp/ogl_in.txt
#expandlines /tmp/ogl_in.txt /tmp/ogl.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-ogl.tar -T /tmp/ogl.txt
#
#echo Re-tarring OGL in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-ogl.tar
#cd ..
#rm -f wxWidgets-${WXVER}-ogl.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-ogl.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-ogl.tar
### JPEG
#cd $WXSRC
#cat $WXSRC/distrib/msw/jpeg.rsp > /tmp/jpeg_in.txt
#expandlines /tmp/jpeg_in.txt /tmp/jpeg.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-jpeg.tar -T /tmp/jpeg.txt
#
#echo Re-tarring jpeg in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-jpeg.tar
#cd ..
#rm -f wxWidgets-${WXVER}-jpeg.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-jpeg.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-jpeg.tar
### TIFF
#cd $WXSRC
#cat $WXSRC/distrib/msw/tiff.rsp > /tmp/tiff_in.txt
#expandlines /tmp/tiff_in.txt /tmp/tiff.txt
#$TAR cf $WXDEST/wxWidgets-${WXVER}-tiff.tar -T /tmp/tiff.txt
#
#echo Re-tarring docs in a subdirectory...
#cd $WXDEST
#mkdir wxWidgets-${WXVER}
#cd wxWidgets-${WXVER}
#$TAR xf ../wxWidgets-${WXVER}-tiff.tar
#cd ..
#rm -f wxWidgets-${WXVER}-tiff.tar
#$TAR cf $WXDEST/wxWidgets-${WXVER}-tiff.tar wxWidgets-${WXVER}/*
#rm -f -r wxWidgets-${WXVER}
#gzip $WXDEST/wxWidgets-${WXVER}-tiff.tar
init=""
if [ "$1" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
PROGNAME=$0
WXSRC=$1
WXDEST=$2
WXVER=$3
SPINWXALL=0
SPINWXX11=0
SPINWXGTK=0
SPINWXMOTIF=0
SPINWXMAC=0
SPINWXDOCS=0
SPINEVERYTHING=0
usage()
{
echo Usage: $PROGNAME "src-dir dest-dir version-number [ options ]"
echo Options:
echo " --help Display this help message"
echo " --wxall Spin wxAll"
echo " --wxgtk Spin wxGTK"
echo " --wxmotif Spin wxMotif"
echo " --wxmac Spin wxMac"
echo " --wxx11 Spin wxX11"
echo " --wxdocs Spin docs"
echo " --all Spin EVERYTHING"
exit 1
}
# Process command line options.
shift 3
for i in "$@"; do
case "$i" in
--wxall) SPINWXALL=1 ;;
--wxx11) SPINWXX11=1 ;;
--wxgtk) SPINWXGTK=1 ;;
--wxmotif) SPINWXMOTIF=1 ;;
--wxmac) SPINWXMAC=1 ;;
--wxdocs) SPINWXDOCS=1 ;;
--all) SPINEVERYTHING=1 ;;
*)
usage
exit
;;
esac
done
echo About to archive wxWidgets:
echo From $WXSRC
echo To $WXDEST
echo Version $WXVER
echo CTRL-C if this is not correct.
read dummy
doinit
if [ "$SPINWXX11" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxx11
fi
if [ "$SPINWXGTK" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxgtk
fi
if [ "$SPINWXMAC" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmac
fi
if [ "$SPINWXMOTIF" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxmotif
fi
if [ "$SPINWXDOCS" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxdocs
fi
if [ "$SPINWXALL" = "1" ] || [ "$SPINEVERYTHING" = "1" ]; then
dospinwxall
fi

View File

@@ -1,117 +0,0 @@
@echo off
rem Tar up an external distribution of wxWidgets 2.0: but
rem putting in separate ASCII and binary files
rem This seems to be the one that works, using
rem separate tar programs for conversion/non-conversion
rem of ASCII/binary files.
if "%1" == "" goto usage
if "%2" == "" goto usage
echo About to archive an external wxWidgets 2.0 distribution:
echo From %1
echo To %2\wx200_1.tgz, %2\wx200_2.tgz, %2\wx200hlp.tgz, %2\wx200ps.tgz, %2\wx200htm.tgz
echo CTRL-C if this is not correct.
inkey /W4 `Press any key to continue...` %%input
erase %2\*.tgz
cd %1
rem First, expand the wildcards in the rsp files
rem Create empty list file
erase %1\distrib\*.lis
c:\bin\touch %1\distrib\wx200asc.lis
c:\bin\touch %1\distrib\wx200bin.lis
c:\bin\touch %1\distrib\wx200hlp.lis
c:\bin\touch %1\distrib\wx200ps.lis
c:\bin\touch %1\distrib\wx200xlp.lis
rem Create a .rsp file with backslashes instead
rem of forward slashes
rem No need if using ls2 (from UNIX95 distribution)
rem sed -e "s/\//\\/g" %1\distrib\wx_asc.rsp > %1\distrib\wx_asc.rs2
call %1\distrib\expdwild.bat %1\distrib\wx_asc.rsp %1\distrib\wx200asc.lis
call %1\distrib\expdwild.bat %1\distrib\util_asc.rsp %1\distrib\wx200asc.lis
call %1\distrib\expdwild.bat %1\distrib\smpl_asc.rsp %1\distrib\wx200asc.lis
rem call %1\distrib\expdwild.bat %1\distrib\wxim1asc.rsp %1\distrib\wx200asc.lis
rem call %1\distrib\expdwild.bat %1\distrib\wxim2asc.rsp %1\distrib\wx200asc.lis
call %1\distrib\expdwild.bat %1\distrib\wx_bin.rsp %1\distrib\wx200bin.lis
call %1\distrib\expdwild.bat %1\distrib\util_bin.rsp %1\distrib\wx200bin.lis
call %1\distrib\expdwild.bat %1\distrib\smpl_bin.rsp %1\distrib\wx200bin.lis
rem call %1\distrib\expdwild.bat %1\distrib\wxim1bin.rsp %1\distrib\wx200bin.lis
rem Docs
call %1\distrib\expdwild.bat %1\distrib\wx_hlp.rsp %1\distrib\wx200hlp.lis
call %1\distrib\expdwild.bat %1\distrib\wx_ps.rsp %1\distrib\wx200ps.lis
call %1\distrib\expdwild.bat %1\distrib\wx_html.rsp %1\distrib\wx200htm.lis
call %1\distrib\expdwild.bat %1\distrib\wx_pdf.rsp %1\distrib\wx200pdf.lis
rem Do some further massaging of the .lis files
sed -e "s/\\/\//g" %1\distrib\wx200asc.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200asc.lis
sed -e "s/\\/\//g" %1\distrib\wx200bin.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200bin.lis
sed -e "s/\\/\//g" %1\distrib\wx200hlp.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200hlp.lis
sed -e "s/\\/\//g" %1\distrib\wx200ps.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200ps.lis
sed -e "s/\\/\//g" %1\distrib\wx200htm.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200htm.lis
sed -e "s/\\/\//g" %1\distrib\wx200pdf.lis > c:\temp\temp.tmp
sed -e "s/D:\/wx\///g" c:\temp\temp.tmp > %1\distrib\wx200pdf.lis
rem 'tar' converts linefeeds.
tar -c -T %1\distrib\wx200asc.lis -f %2\wx200.tar
rem pause Press a key to continue.
rem This converts to lower case
ren %2\wx200.tar %2\wx200_1.tar
gzip32 %2\wx200_1.tar
ren %2\wx200_1.tar.gz %2\wx200_1.tgz
rem No linefeed conversion wanted
rem Note: GNU tar seems to crash with a full destination path, so
rem pander to it.
targnu -c -T %1\distrib\wx200bin.lis -f wx200_2.tar
move wx200_2.tar %2
gzip32 %2\wx200_2.tar
ren %2\wx200_2.tar.gz %2\wx200_2.tgz
targnu -c -T %1\distrib\wx200hlp.lis -f wx200_hlp.tar
move wx200_hlp.tar %2
gzip32 %2\wx200_hlp.tar
ren %2\wx200_hlp.tar.gz %2\wx200hlp.tgz
tar -c -T %1\distrib\wx200ps.lis -f %2\wx200ps.tar
gzip32 %2\wx200ps.tar
ren %2\wx200ps.tar.gz %2\wx200ps.tgz
targnu -c -T %1\distrib\wx200htm.lis -f wx200htm.tar
move wx200htm.tar %2
gzip32 %2\wx200htm.tar
ren %2\wx200htm.tar.gz %2\wx200htm.tgz
targnu -c -T %1\distrib\wx200pdf.lis -f wx200pdf.tar
move wx200pdf.tar %2
gzip32 %2\wx200pdf.tar
ren %2\wx200pdf.tar.gz %2\wx200pdf.tgz
cd %2
echo wxWidgets archived.
goto end
:usage
echo Tar/gzip wxWidgets distribution under DOS, making an ASCII and binary file
echo Usage: tardist source destination
echo e.g. tardist d:\wx d:\wx\deliver
:end

View File

@@ -1,45 +0,0 @@
#!/bin/sh
# tardist: make up a tar.gz distribution of wxMicroWindows.
init=""
if [ "$1" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
WXVER=$3
echo About to archive wxWidgets:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wxMicroWindows-${WXVER}.*
echo Tarring...
ls `cat $1/distrib/msw/microwin.rsp` > /tmp/files.txt
tar cvf $2/wxMicroWindows-${WXVER}.tar -T /tmp/files.txt
gzip $2/wxMicroWindows-${WXVER}.tar
mv $2/wxMicroWindows-${WXVER}.tar.gz $2/wxMicroWindows-${WXVER}.tgz
echo Done!

View File

@@ -1,111 +0,0 @@
#!/bin/sh
# tarwxall: make up a tar.gz distribution of wxAll
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
TAR=tar
ARCH=`arch`
if [ "$ARCH" = "ppc" ]; then
TAR=gnutar
fi
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ "$line" != "" ]; then
ls $line >> $outputfile
fi
uniq < $outputfile > /tmp/uniqtemp.txt
mv /tmp/uniqtemp.txt $outputfile
done
}
init=""
if [ "$1" = "" ]
then
echo Usage: tarwxall wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tarwxall wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tarwxall wx-dir output-dir version
exit
fi
WXVER=$3
echo About to archive wxAll:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wxAll-${WXVER}*.tar.gz
### wxAll: all distributions in one giant archive
cd $1
cat $1/distrib/msw/generic.rsp $1/distrib/msw/msw.rsp $1/distrib/msw/wince.rsp $1/distrib/msw/vc.rsp $1/distrib/msw/cw.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/mac.rsp $1/distrib/msw/cocoa.rsp $1/distrib/msw/os2.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/mgl.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/deprecated.rsp $1/distrib/msw/utilmake.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/mmedia.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp $1/distrib/msw/docsrc.rsp | uniq > /tmp/wxall_in.txt
expandlines /tmp/wxall_in.txt /tmp/wxall.txt
$TAR cf $2/wxAll-${WXVER}.tar -T /tmp/wxall.txt
echo Re-tarring wxAll in a subdirectory...
cd $2
rm -f -r wxWidgets-${WXVER}
mkdir wxWidgets-${WXVER}
# If we have the full set of VC++ project files,
# get them
if [ -f $2/extra/wxWidgets-${WXVER}-VC.zip ]; then
unzip -o $2/extra/wxWidgets-${WXVER}-VC.zip
else
echo "Warning - did not find $2/deliver/extra/wxWidgets-${WXVER}-VC.zip"
fi
cd wxWidgets-${WXVER}
$TAR xf ../wxAll-${WXVER}.tar
# Translate all .dsp and .dsw files to DOS format
unix2dos --unix2dos `cat $1/distrib/msw/vc.rsp`
# Copy OS/2 specific configure files
cp $1/distrib/os2/os2-specific.zip docs/os2
# Copy the OS/2 files which probably haven't been copied yet
mkdir include/wx/os2
mkdir src/os2
cp $1/include/wx/os2/*.H include/wx/os2
cp $1/src/os2/*.CPP $1/src/os2/*.I src/os2
# Make all OS/2 files lower case
$1/distrib/msw/namedown include/wx/os2/*.H
$1/distrib/msw/namedown src/os2/*.CPP src/os2/*.I
cd ..
rm -f wxAll-${WXVER}.tar
$TAR cf $2/wxAll-${WXVER}.tar wxWidgets-${WXVER}/*
rm -f -r wxWidgets-${WXVER}
gzip $2/wxAll-${WXVER}.tar

View File

@@ -1,115 +0,0 @@
#!/bin/sh
# tarwxmac: make up a tar.gz distribution of wxMac
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
TAR=tar
ARCH=`arch`
if [ "$ARCH" = "ppc" ]; then
TAR=gnutar
fi
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ "$line" != "" ]; then
ls $line >> $outputfile
fi
uniq < $outputfile > /tmp/uniqtemp.txt
mv /tmp/uniqtemp.txt $outputfile
done
}
init=""
if [ "$1" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tardist wx-dir output-dir version
exit
fi
WXVER=$3
echo About to archive wxMac:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wxMac-${WXVER}*.tar.gz
rm -f -r $2/wxMac-${WXVER}
cp $1/include/wx/mac/setup0.h $1/include/wx/setup.h
echo Tarring...
### wxMac
cat $1/distrib/msw/mac.rsp $1/distrib/msw/cocoa.rsp $1/distrib/msw/generic.rsp $1/distrib/msw/cw_mac.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/stc.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/deprecated.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxmac_in.txt
expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt
$TAR cf $2/wxMac-${WXVER}.tar -T /tmp/wxmac.txt
cat $1/distrib/msw/cw_mac.rsp > /tmp/wxmac_in.txt
expandlines /tmp/wxmac_in.txt /tmp/wxmac.txt
$TAR cf $2/wxWidgets-${WXVER}-CW-Mac.tar -T /tmp/wxmac.txt
rm -f $1/include/wx/setup.h
echo Re-tarring in a subdirectory...
cd $2
mkdir wxMac-${WXVER}
cd wxMac-${WXVER}
$TAR xf ../wxMac-${WXVER}.tar
# Remove mmedia
rm -f -r contrib/src/mmedia contrib/samples/mmedia
cd ..
rm -f wxMac-${WXVER}.tar
$TAR cf $2/wxMac-${WXVER}.tar wxMac-${WXVER}/*
rm -f -r wxMac-${WXVER}
gzip $2/wxMac-${WXVER}.tar
echo Re-tarring CW project files...
cd $2
mkdir wxWidgets-${WXVER}
cd wxWidgets-${WXVER}
$TAR xf $2/wxWidgets-${WXVER}-CW-Mac.tar
cd ..
rm -f wxWidgets-${WXVER}-CW-Mac.tar
$TAR zcf wxWidgets-${WXVER}-CW-Mac.tar.gz wxWidgets-${WXVER}/*
# Copy readme and other files
cp $1/docs/readme.txt $2/readme-${WXVER}.txt
cp $1/docs/changes.txt $2/changes-${WXVER}.txt
cp $1/docs/mac/readme.txt $2/readme-mac-${WXVER}.txt
cp $1/docs/mac/install.txt $2/install-mac-${WXVER}.txt
cp $1/docs/cocoa/readme.txt $2/readme-cocoa-${WXVER}.txt
cp $1/docs/cocoa/install.txt $2/install-cocoa-${WXVER}.txt
echo Done!

View File

@@ -1,94 +0,0 @@
#!/bin/sh
# tardist: make up a tar.gz distribution of wxWidgets 2
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
init=""
WXVER=2.2.0
if [ $1 = "" ]
then
exit
fi
if [ $2 = "" ]
then
exit
fi
echo About to archive wxWidgets:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
echo Setting permissions...
chmod a+x $1/configure $1/config.sub $1/config.guess $1/samples/configure $1/demos/configure $1/contrib/configure
rm -f $2/wxMotif-${WXVER}*.tgz
rm -f $2/wxWidgets*.tgz
rm -f $2/tex2rtf2.tgz
rm -f $2/ogl3.tgz
rm -f $2/jpeg.tgz
rm -f $2/tiff.tgz
echo Tarring...
### wxMotif
ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/utilmake.rsp $1/distrib/msw/jpeg.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/wx_html.rsp $1/distrib/msw/tex2rtf.rsp $1/distrib/msw/utils.rsp` > /tmp/wxmotif.txt
tar cvf $2/wxMotif-${WXVER}.tar -T /tmp/wxmotif.txt
gzip $2/wxMotif-${WXVER}.tar
mv $2/wxMotif-${WXVER}.tar.gz $2/wxMotif-${WXVER}.tgz
### HTML docs
ls `cat $1/distrib/msw/wx_html.rsp` > /tmp/html.txt
tar cvf $2/wxWidgets-${WXVER}-HTML.tar -T /tmp/html.txt
gzip $2/wxWidgets-${WXVER}-HTML.tar
mv $2/wxWidgets-${WXVER}-HTML.tar.gz $2/wxWidgets-${WXVER}-HTML.tgz
### HTB (wxHTML Help) docs
ls `cat $1/distrib/msw/wx_htb.rsp` > /tmp/htb.txt
tar cvf $2/wxWidgets-${WXVER}-HTB.tar -T /tmp/htb.txt
gzip $2/wxWidgets-${WXVER}-HTB.tar
mv $2/wxWidgets-${WXVER}-HTB.tar.gz $2/wxWidgets-${WXVER}-HTB.tgz
### PDF docs
ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp/pdf.txt
tar cvf $2/wxWidgets-${WXVER}-PDF.tar -T /tmp/pdf.txt
gzip $2/wxWidgets-${WXVER}-PDF.tar
mv $2/wxWidgets-${WXVER}-PDF.tar.gz $2/wxWidgets-${WXVER}-PDF.tgz
### Stubs files
#ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
#tar cvf $2/wxWidgets-${WXVER}-stubs.tar -T /tmp/stubs.txt
#gzip $2/wxWidgets-${WXVER}-stubs.tar
#mv $2/wxWidgets-${WXVER}-stubs.tar.gz $2/wxWidgets-${WXVER}-stubs.tgz
### Tex2RTF
ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
gzip $2/tex2rtf2.tar
mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
### OGL
ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
tar cvf $2/ogl3.tar -T /tmp/ogl.txt
gzip $2/ogl3.tar
mv $2/ogl3.tar.gz $2/ogl3.tgz
### JPEG
#ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
#tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
#gzip $2/jpeg.tar
#mv $2/jpeg.tar.gz $2/jpeg.tgz
### TIFF
#ls `cat $1/distrib/msw/tiff.rsp` > /tmp/tiff.txt
#tar cvf $2/tiff.tar -T /tmp/tiff.txt
#gzip $2/tiff.tar
#mv $2/tiff.tar.gz $2/tiff.tgz
echo Done!

View File

@@ -1,85 +0,0 @@
#!/bin/sh
# tarwxall: make up a tar.gz distribution of wxX11
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
# We can't use e.g. this:
# ls `cat $SRC/distrib/msw/makefile.rsp` zip -@ -u $DEST/wxWidgets-$VERSION-gen.zip
# because there's not enough space on the command line, plus we need to ignore the
# blank lines.
TAR=tar
ARCH=`arch`
if [ "$ARCH" = "ppc" ]; then
TAR=gnutar
fi
expandlines()
{
toexpand=$1
outputfile=$2
rm -f $outputfile
touch $outputfile
for line in `cat $toexpand` ; do
if [ "$line" != "" ]; then
ls $line >> $outputfile
fi
uniq < $outputfile > /tmp/uniqtemp.txt
mv /tmp/uniqtemp.txt $outputfile
done
}
init=""
if [ "$1" = "" ]
then
echo Usage: tarwxx11 wx-dir output-dir version
exit
fi
if [ "$2" = "" ]
then
echo Usage: tarwxx11 wx-dir output-dir version
exit
fi
if [ "$3" = "" ]
then
echo Usage: tarwxx11 wx-dir output-dir version
exit
fi
WXVER=$3
echo About to archive wxAll:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wxX11-${WXVER}*.tar.gz
rm -f $2/wxX11-${WXVER}
### wxX11: combined wxMotif and wxX11 distributions
cd $1
cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/x11.rsp $1/distrib/msw/univ.rsp $1/distrib/msw/contrib.rsp $1/distrib/msw/deprecated.rsp $1/distrib/msw/utils.rsp $1/distrib/msw/xml.rsp $1/distrib/msw/ogl.rsp $1/distrib/msw/makefile.rsp $1/distrib/msw/tiff.rsp $1/distrib/msw/jpeg.rsp > /tmp/wxx11_in.txt
expandlines /tmp/wxx11_in.txt /tmp/wxx11.txt
$TAR cf $2/wxX11-${WXVER}.tar -T /tmp/wxx11.txt
echo Re-tarring wxX11 in a subdirectory...
cd $2
mkdir wxX11-${WXVER}
cd wxX11-${WXVER}
$TAR xf ../wxX11-${WXVER}.tar
cd ..
rm -f wxX11-${WXVER}.tar
$TAR cf $2/wxX11-${WXVER}.tar wxX11-${WXVER}/*
rm -f -r wxX11-${WXVER}
gzip $2/wxX11-${WXVER}.tar

View File

@@ -1,52 +0,0 @@
utils/tex2rtf/Makefile.in
utils/tex2rtf/src/*.cpp
utils/tex2rtf/src/*.h
utils/tex2rtf/src/makefile.bcc
utils/tex2rtf/src/makefile.b32
utils/tex2rtf/src/makefile.wat
utils/tex2rtf/src/makefile.unx
utils/tex2rtf/src/makefile.vms
utils/tex2rtf/src/makefile.g95
utils/tex2rtf/src/makefile.gcc
utils/tex2rtf/src/makefile.dmc
utils/tex2rtf/src/makengui.nt
utils/tex2rtf/src/Makefile.in
utils/tex2rtf/src/*.bkl
utils/tex2rtf/src/*.dsp
utils/tex2rtf/src/*.xbm
utils/tex2rtf/src/*.xpm
utils/tex2rtf/src/*.sty
utils/tex2rtf/src/*.ini
utils/tex2rtf/lib/dummy
utils/tex2rtf/src/*.bmp
utils/tex2rtf/src/*.ico
utils/tex2rtf/src/*.def
utils/tex2rtf/src/*.rc
utils/tex2rtf/tools/*.1
utils/tex2rtf/tools/*.exe
utils/tex2rtf/tools/*.lex
utils/tex2rtf/tools/*.rea
utils/tex2rtf/tools/*.txt
utils/tex2rtf/distrib/*.sh
utils/tex2rtf/distrib/*.bat
utils/tex2rtf/distrib/*.txt
utils/tex2rtf/distrib/*.rsp
utils/tex2rtf/distrib/tex2rtf.exe.manifest
utils/tex2rtf/docs/*.tex
utils/tex2rtf/docs/*.sty
utils/tex2rtf/docs/*.bib
utils/tex2rtf/docs/*.hpj
utils/tex2rtf/docs/*.ini
utils/tex2rtf/docs/*.txt
utils/tex2rtf/docs/*.cnt
utils/tex2rtf/docs/*.eps
utils/tex2rtf/docs/*.bmp
utils/tex2rtf/docs/*.gif
utils/tex2rtf/docs/*.wmf
utils/tex2rtf/docs/*.shg
utils/tex2rtf/docs/makefile.vc
utils/tex2rtf/docs/Makefile

View File

@@ -1,9 +0,0 @@
src/tiff/make*
src/tiff/tiff.dsp
src/tiff/tiff.dsw
src/tiff/*.c
src/tiff/*.h
src/tiff/README
src/tiff/COPYRIGHT
src/tiff/VERSION
src/tiff/TODO

View File

@@ -1,94 +0,0 @@
# FIXME we'll generate this makefile with configure later, but for now please
# change it manually
#TMAKEDIR=/home/zeitlin/build/tmake
#TMAKE=$(TMAKEDIR)/bin/tmake
TMAKE=tmake
WXDIR=../../..
MSW_MAKEFILES_DIR=$(WXDIR)/src/msw
all: $(MSW_MAKEFILES_DIR)/makefile.vc \
$(MSW_MAKEFILES_DIR)/makefile.b32 \
$(MSW_MAKEFILES_DIR)/makefile.dos \
$(MSW_MAKEFILES_DIR)/makefile.bcc \
$(MSW_MAKEFILES_DIR)/makefile.wat \
$(MSW_MAKEFILES_DIR)/makefile.g95 \
$(WXDIR)/Makefile.in \
$(WXDIR)/src/files.lst \
$(WXDIR)/src/msw/files.lst \
$(WXDIR)/src/gtk/files.lst \
$(WXDIR)/src/mac/files.lst \
$(WXDIR)/src/cocoa/files.lst \
$(WXDIR)/src/motif/files.lst \
$(WXDIR)/src/os2/files.lst \
$(WXDIR)/src/mgl/files.lst \
$(WXDIR)/src/mgl/makefile.wat \
$(WXDIR)/src/microwin/files.lst \
$(WXDIR)/src/x11/files.lst \
$(WXDIR)/src/univ/files.lst \
$(WXDIR)/src/wxBase.dsp \
$(WXDIR)/src/wxWindows.dsp \
$(WXDIR)/src/wxUniv.dsp
$(MSW_MAKEFILES_DIR)/makefile.vc: vc.t filelist.txt wxwin.pro
$(TMAKE) -t vc wxwin.pro -o $@
$(MSW_MAKEFILES_DIR)/makefile.b32: b32.t filelist.txt wxwin.pro
$(TMAKE) -t b32 wxwin.pro -o $@
$(MSW_MAKEFILES_DIR)/makefile.dos: dos.t filelist.txt wxwin.pro
$(TMAKE) -t dos wxwin.pro -o $@
$(MSW_MAKEFILES_DIR)/makefile.bcc: bcc.t filelist.txt wxwin.pro
$(TMAKE) -t bcc wxwin.pro -o $@
$(MSW_MAKEFILES_DIR)/makefile.wat: wat.t filelist.txt wxwin.pro
$(TMAKE) -t wat wxwin.pro -o $@
$(MSW_MAKEFILES_DIR)/makefile.g95: g95.t filelist.txt wxwin.pro
$(TMAKE) -t g95 wxwin.pro -o $@
$(WXDIR)/src/files.lst: base.t filelist.txt wxwin.pro
$(TMAKE) -t base wxwin.pro -o $@
$(WXDIR)/src/msw/files.lst: msw.t filelist.txt wxwin.pro
$(TMAKE) -t msw wxwin.pro -o $@
$(WXDIR)/src/mgl/files.lst: mgl.t filelist.txt wxwin.pro
$(TMAKE) -t mgl wxwin.pro -o $@
$(WXDIR)/src/mgl/makefile.wat: watmgl.t filelist.txt wxwin.pro
$(TMAKE) -t watmgl wxwin.pro -o $@
$(WXDIR)/src/microwin/files.lst: micro.t filelist.txt wxwin.pro
$(TMAKE) -t micro wxwin.pro -o $@
$(WXDIR)/src/gtk/files.lst: gtk.t filelist.txt wxwin.pro
$(TMAKE) -t gtk wxwin.pro -o $@
$(WXDIR)/src/mac/files.lst: mac.t filelist.txt wxwin.pro
$(TMAKE) -t mac wxwin.pro -o $@
$(WXDIR)/src/cocoa/files.lst: cocoa.t filelist.txt wxwin.pro
$(TMAKE) -t cocoa wxwin.pro -o $@
$(WXDIR)/src/motif/files.lst: motif.t filelist.txt wxwin.pro
$(TMAKE) -t motif wxwin.pro -o $@
$(WXDIR)/src/os2/files.lst: os2.t filelist.txt wxwin.pro
$(TMAKE) -t os2 wxwin.pro -o $@
$(WXDIR)/src/univ/files.lst: univ.t filelist.txt wxwin.pro
$(TMAKE) -t univ wxwin.pro -o $@
$(WXDIR)/src/x11/files.lst: x11.t filelist.txt wxwin.pro
$(TMAKE) -t x11 wxwin.pro -o $@
$(WXDIR)/src/wxBase.dsp: vc6base.t filelist.txt wxwin.pro
WXWIN=$(WXDIR) $(TMAKE) -t vc6base wxwin.pro -o $@
$(WXDIR)/src/wxWindows.dsp: vc6msw.t filelist.txt wxwin.pro
WXWIN=$(WXDIR) $(TMAKE) -t vc6msw wxwin.pro -o $@
$(WXDIR)/src/wxUniv.dsp: vc6univ.t filelist.txt wxwin.pro
$(TMAKE) -t vc6univ wxwin.pro -o $@

View File

@@ -1,748 +0,0 @@
#!#############################################################################
#! File: b32.t
#! Purpose: tmake template file from which makefile.b32 is generated by running
#! tmake -t b32 wxwin.pro
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxUNIV) {
next if $wxUNIV{$file} =~ /\T\b/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(UNIVDIR)\\" . $file . " ";
$project{"WXUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
}
foreach $file (sort keys %wxUNIV) {
next unless $wxUNIV{$file} =~ /\T\b/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(UNIVTHEMEDIR)\\" . $file . " ";
$project{"WXUNIVTHEMEOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
}
foreach $file (sort keys %wxHTML) {
next if $wxHTML{$file} =~ /\b16\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXHTMLOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXCOMMONOBJS"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#! MSW dir for native port
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} =~ /\b16\b/;
$isCFile = $file =~ /\.c$/;
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
$file =~ s/cp?p?$/obj/;
my $obj = "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXMSWOBJS"} .= $obj;
if ( $isOleObj ) {
#! remember that this file is in ole subdir
$project{"WXOLEOBJS"} .= $obj;
}
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#! Now do MSW dir for UNIV
foreach $file (sort keys %wxMSW) {
next unless $wxMSW{$file} =~ /\b(L|B)\b/;
$isCFile = $file =~ /\.c$/;
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
$file =~ s/cp?p?$/obj/;
my $obj = "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXMSWUNIVOBJS"} .= $obj;
if ( $isOleObj ) {
#! remember that this file is in ole subdir
$project{"WXOLEUNIVOBJS"} .= $obj;
}
$project{"WXCUNIVOBJS"} .= $obj if $isCFile;
}
#! Generic Dir for Native Port
foreach $file (sort keys %wxGeneric) {
my $tag = "";
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXGENERICOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
}
#! Generic Dir for UNIV Port
foreach $file (sort keys %wxGeneric) {
my $filereal = $file;
if ( $file =~ /^([^.]+)g.cpp$/ ) {
$filereal = "$1.cpp";
}
$file =~ s/cp?p?$/obj/;
$filereal =~ s/cp?p?$/obj/;
next if $project{"WXMSWUNIVOBJS"} =~ /\b$filereal\b/ ||
$project{"WXUNIVOBJS"} =~ /\b$filereal\b/;
$project{"WXGENERICUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
# File: makefile.b32
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright:
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wx.lib for MS Windows,
# and Borland C++ (32-bit).
# BCCDIR now defined in ../makeb32.env
!if "$(WXWIN)" == ""
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
!endif
WXDIR = $(WXWIN)
THISDIR = $(WXDIR)\src\msw
# Set all these to 1 if you want to build a dynamic library
!if "$(DLL)" == "1"
WXMAKINGDLL=1
WXBUILDDLL=1
!endif
!include $(WXDIR)\src\makeb32.env
# Please set these according to the settings in wx_setup.h, so we can include
# the appropriate libraries in wx.lib
USE_CTL3D=0
PERIPH_LIBS=
PERIPH_TARGET=
PERIPH_CLEAN_TARGET=
!if "$(USE_CTL3D)" == "1"
#Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman)
PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS)
PERIPH_TARGET=ctl3d $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET)
!endif
PERIPH_LIBS=
PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET)
!if "$(DLL)" == "0"
DUMMY=dummy
!else
DUMMY=dummydll
LIBS= cw32mti import32 ole2w32 odbc32 zlib_bc$(DEBUG_SUFFIX) png_bc$(DEBUG_SUFFIX) jpeg_bc$(DEBUG_SUFFIX) tiff_bc$(DEBUG_SUFFIX) regex_bc$(DEBUG_SUFFIX)
!endif
LIBTARGET=$(WXLIB)
GENDIR=..\generic
COMMDIR=..\common
HTMLDIR=..\html
OLEDIR=.\ole
UNIVDIR=..\univ
UNIVTHEMEDIR=..\univ\themes
MSWDIR=.
DOCDIR = $(WXDIR)\docs
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
GENERICUNIVOBJS= #$ ExpandList("WXGENERICUNIVOBJS");
MSWUNIVOBJS = #$ ExpandList("WXMSWUNIVOBJS");
UNIVOBJS = #$ ExpandList("WXUNIVOBJS");
UNIVTHEMEOBJS = #$ ExpandList("WXUNIVTHEMEOBJS");
HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
COMMONOBJS = \
#$ ExpandList("WXCOMMONOBJS");
!if "$(WXUSINGUNIV)" == "1"
OBJECTS = $(COMMONOBJS) $(GENERICUNIVOBJS) $(MSWUNIVOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS)
!else
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
!endif
default: wx
wx: $(ARCHINCDIR)\wx makeoutdir makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
all: wx
# Copy the in-CVS setup0.h to setup.h if necessary
makesetuph:
cd $(WXDIR)\include\wx\msw
if not exist setup.h copy setup0.h setup.h
cd $(WXDIR)\src\msw
# Copy include\wx\msw\setup.h to the architecture-specific location
makearchsetuph:
copy $(SETUPSRCDIR)\setup.h $(ARCHSETUPH)
cd $(WXDIR)\src\msw
makeoutdir:
-mkdir $(OBJ_PATH)
$(ARCHINCDIR)\wx:
-mkdir $(ARCHINCDIR)
-mkdir $(ARCHINCDIR)\wx
-if exist $(CFG) $(RM) $(CFG)
!if "$(DLL)" == "0"
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
tlib "$(LIBTARGET)" /P1024 $(LINKDEBUGFLAGS) @&&!
+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
!
!else
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
-$(RM) $(LIBTARGET)
-$(RM) $(WXDLL)
$(LINK) $(LINK_FLAGS) $(LINKDEBUGFLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk @&&!
c0d32.obj $(OBJECTS)
$(WXDLL)
nul
$(PERIPH_LIBS) $(LIBS)
wxb32
!
implib -c -f $(LIBTARGET) $(WXDLL)
!endif
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
version.res:
brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
# $(OBJECTS): $(WXDIR)\include\wx\setup.h
!if "$(WXUSINGUNIV)" == "1"
########################################################
# MSW objects (compile Native or UNIV) - UNIV
#${
$_ = $project{"WXMSWUNIVOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
$suffix = $project{"WXCUNIVOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/obj$/$suffix/;
s/OBJ_PATH/MSWDIR/;
$text .= $_ . "\n\n";
}
#$}
!else
########################################################
# MSW objects (compile Native or UNIV) - Native
#${
$_ = $project{"WXMSWOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/obj$/$suffix/;
s/OBJ_PATH/MSWDIR/;
$text .= $_ . "\n\n";
}
#$}
!endif
!if "$(WXUSINGUNIV)" == "1"
########################################################
# UNIV objects
#${
$_ = $project{"WXUNIVOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/OBJ_PATH/UNIVDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
########################################################
# UNIV THEME objects
#${
$_ = $project{"WXUNIVTHEMEOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/OBJ_PATH/UNIVTHEMEDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
!endif
########################################################
# Common objects (always compiled)
#${
$_ = $project{"WXCOMMONOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/OBJ_PATH/COMMDIR/;
s/obj$/$suffix/;
$text .= $_ . "\n\n";
}
#$}
!if "$(WXUSINGUNIV)" == "1"
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)
# Native
#${
$_ = $project{"WXGENERICUNIVOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/OBJ_PATH/GENDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
!else
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)
# Native
#${
$_ = $project{"WXGENERICOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/OBJ_PATH/GENDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
!endif
########################################################
# HTML objects (always compiled)
#${
$_ = $project{"WXHTMLOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/OBJ_PATH/HTMLDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
all_utils:
cd $(WXDIR)\utils
${MAKE} -f makefile.b32
cd $(WXDIR)\src\msw
all_samples:
cd $(WXDIR)\samples
${MAKE} -f makefile.b32
cd $(WXDIR)\src\msw
all_execs:
cd $(WXDIR)\utils
${MAKE} -f makefile.b32 all_execs
cd $(WXDIR)\src\msw
png: $(CFG)
cd $(WXDIR)\src\png
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
cd $(WXDIR)\src\msw
clean_png:
cd $(WXDIR)\src\png
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
cd $(WXDIR)\src\msw
zlib: $(CFG)
cd $(WXDIR)\src\zlib
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
cd $(WXDIR)\src\msw
jpeg: $(CFG)
cd $(WXDIR)\src\jpeg
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
cd $(WXDIR)\src\msw
clean_jpeg:
cd $(WXDIR)\src\jpeg
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
cd $(WXDIR)\src\msw
regex: $(CFG)
cd $(WXDIR)\src\regex
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
cd $(WXDIR)\src\msw
clean_regex:
cd $(WXDIR)\src\regex
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
cd $(WXDIR)\src\msw
tiff: $(CFG)
cd $(WXDIR)\src\tiff
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
cd $(WXDIR)\src\msw
clean_tiff:
cd $(WXDIR)\src\tiff
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
cd $(WXDIR)\src\msw
$(CFG): makefile.b32
copy &&!
-Hc
-H=$(OBJ_PATH)\wx32.csm
-3
-d
-a1 # byte alignment
-R-
-X
-w-par
-w-aus
-w-hid # virtual function A hides virtual function B
-tWM
-I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
-D__WXWIN__
-D$(PORT)
-D__WINDOWS__
-DWIN32
$(OPT)
$(DEBUG_FLAGS)
$(WIN95FLAG)
! $(CFG)
cleancfg:
-if exist $(OBJ_PATH)\*.cfg $(RM) $(OBJ_PATH)\*.cfg
clean: $(PERIPH_CLEAN_TARGET)
-if exist $(WXLIBDIR)\wx.il? $(RM) $(WXLIBDIR)\wx.tds
-if exist $(WXLIBDIR)\wx.il? $(RM) $(WXLIBDIR)\wx.il?
-if exist $(OBJ_PATH)\*.obj $(RM) $(OBJ_PATH)\*.obj
-if exist $(OBJ_PATH)\*.csm $(RM) $(OBJ_PATH)\*.csm
-if exist "$(OBJ_PATH)\wx32.#??" $(RM) "$(OBJ_PATH)\wx32.#??"
-if exist *.pch $(RM) *.pch
-if exist *.csm $(RM) *.csm
-if exist *.obj $(RM) *.obj
-if exist "wx32.#??" $(RM) "wx32.#??"
cleanall: clean cleancfg
# Making documents
docs: allhlp allhtml allpdfrtf
alldocs: docs
hlp: wxhlp portinghlp
wxhlp: $(DOCDIR)/winhelp/wx.hlp
refhlp: $(DOCDIR)/winhelp/techref.hlp
rtf: $(DOCDIR)/winhelp/wx.rtf
pdfrtf: $(DOCDIR)/pdf/wx.rtf
refpdfrtf: $(DOCDIR)/pdf/techref.rtf
html: wxhtml portinghtml
wxhtml: $(DOCDIR)\html\wx\wx.htm
htmlhelp: $(DOCDIR)\html\wx\wx.chm
ps: wxps referencps
wxps: $(WXDIR)\docs\ps\wx.ps
referencps: $(WXDIR)\docs\ps\referenc.ps
portinghtml: $(DOCDIR)\html\porting\port.htm
portingrtf: $(DOCDIR)/winhelp/porting.rtf
portinghlp: $(DOCDIR)/winhelp/porting.hlp
portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
portingps: $(WXDIR)\docs\ps\porting.ps
allhlp: wxhlp portinghlp
cd $(WXDIR)\utils\dialoged\src
${MAKE} -f makefile.b32 hlp
cd $(THISDIR)
# cd $(WXDIR)\utils\wxhelp\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\tex2rtf\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\wxgraph\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\wxchart\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\wxtree\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\wxbuild\src
# ${MAKE} -f makefile.b32 hlp
# cd $(WXDIR)\utils\wxgrid\src
# ${MAKE} -f makefile.b32 hlp
allhtml: wxhtml portinghtml
cd $(WXDIR)\utils\dialoged\src
${MAKE} -f makefile.b32 html
cd $(THISDIR)
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\dialoged\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\hytext\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\wxhelp\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\tex2rtf\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\wxgraph\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\wxchart\src
# ${MAKE} -f makefile.b32 html
# cd $(WXDIR)\utils\wxtree\src
# ${MAKE} -f makefile.b32 html
allps: wxps referencps portingps
cd $(WXDIR)\utils\dialoged\src
${MAKE} -f makefile.b32 ps
cd $(THISDIR)
allpdfrtf: pdfrtf portingpdfrtf
cd $(WXDIR)\utils\dialoged\src
${MAKE} -f makefile.b32 pdfrtf
cd $(THISDIR)
# cd $(WXDIR)\utils\wxhelp\src
# ${MAKE} -f makefile.b32 ps
# cd $(WXDIR)\utils\tex2rtf\src
# ${MAKE} -f makefile.b32 ps
# cd $(WXDIR)\utils\wxgraph\src
# ${MAKE} -f makefile.b32 ps
# cd $(WXDIR)\utils\wxchart\src
# ${MAKE} -f makefile.b32 ps
# cd $(WXDIR)\utils\wxtree\src
# ${MAKE} -f makefile.b32 ps
# cd $(THISDIR)
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
cd $(DOCDIR)/latex/wx
-if exist wx.ph $(RM) wx.ph
hc wx
move wx.hlp $(DOCDIR)\winhelp\wx.hlp
move wx.cnt $(DOCDIR)\winhelp\wx.cnt
cd $(THISDIR)
$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
cd $(DOCDIR)/latex/porting
-if exist porting.ph $(RM) porting.ph
hc porting
move porting.hlp $(DOCDIR)\winhelp\porting.hlp
move porting.cnt $(DOCDIR)\winhelp\porting.cnt
cd $(THISDIR)
$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
cd $(DOCDIR)/latex/techref
-if exist techref.ph $(RM) techref.ph
hc techref
move techref.hlp $(DOCDIR)\winhelp\techref.hlp
move techref.cnt $(DOCDIR)\winhelp\techref.cnt
cd $(THISDIR)
$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
cd $(DOCDIR)\latex\porting
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
cd $(DOCDIR)\latex\techref
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
cd $(THISDIR)
$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
cd $(DOCDIR)\latex\porting
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
cd $(THISDIR)
$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
cd $(DOCDIR)\latex\techref
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
cd $(THISDIR)
$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\html\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
-if exist $(DOCDIR)\html\wx\*.con $(RM) $(DOCDIR)\html\wx\*.con
-if exist $(DOCDIR)\html\wx\*.ref $(RM) $(DOCDIR)\html\wx\*.ref
-if exist $(DOCDIR)\latex\wx\*.con $(RM) $(DOCDIR)\latex\wx\*.con
-if exist $(DOCDIR)\latex\wx\*.ref $(RM) $(DOCDIR)\latex\wx\*.ref
cd $(THISDIR)
$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
cd $(DOCDIR)\html\wx
-hhc wx.hhp
cd $(THISDIR)
$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
cd $(DOCDIR)\latex\porting
-mkdir $(DOCDIR)\html\porting
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
-if exist $(DOCDIR)\html\porting\*.con $(RM) $(DOCDIR)\html\porting\*.con
-if exist $(DOCDIR)\html\porting\*.ref $(RM) $(DOCDIR)\html\porting\*.ref
-if exist $(DOCDIR)\latex\porting\*.con $(RM) $(DOCDIR)\latex\porting\*.con
-if exist $(DOCDIR)\latex\porting\*.ref $(RM) $(DOCDIR)\latex\porting\*.ref
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
cd $(WXDIR)\docs\latex\wx
-latex manual
-latex manual
-makeindx manual
-bibtex manual
-latex manual
-latex manual
cd $(THISDIR)
$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
cd $(WXDIR)\docs\latex\porting
-latex porting
-latex porting
-makeindx porting
-bibtex porting
-latex porting
-latex porting
cd $(THISDIR)
$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o wx.ps manual
move wx.ps $(WXDIR)\docs\ps\wx.ps
cd $(THISDIR)
$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
cd $(WXDIR)\docs\latex\porting
-dvips32 -o porting.ps porting
move porting.ps $(WXDIR)\docs\ps\porting.ps
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
cd $(WXDIR)\docs\latex\wx
-latex referenc
-latex referenc
-makeindx referenc
-bibtex referenc
-latex referenc
-latex referenc
cd $(THISDIR)
$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o referenc.ps referenc
move referenc.ps $(WXDIR)\docs\ps\referenc.ps
cd $(THISDIR)
# In order to force document reprocessing
touchmanual:
-touch $(WXDIR)\docs\latex\wx\manual.tex
updatedocs: touchmanual alldocs
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
# Office StartUp folder, and PDFMaker should be installed.
updatepdf: # touchmanual pdfrtf
start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
MFTYPE=b32
# Can't use this or we'll have to distribute all tmake files with wxWindows
# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
self:
!if "$(TM)"==""
@echo Error in Environment!
@echo Please set TM in the environment to the directory containing tmake binaries
@echo eg set TM=c:\wx\tmake\bin
!else
cd $(WXWIN)\distrib\msw\tmake
perl $(TM)\tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
!endif

View File

@@ -1,285 +0,0 @@
#!#############################################################################
#! File: baseb32.t
#! Purpose: tmake template file from which makebase.b32 is generated by running
#! tmake -t b32 wxwin.pro
#! Author: Michael Fielding
#! Created: 6-08-02
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} !~ /\bB\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXCOMMONOBJS"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} !~ /\bB\b/;
$isCFile = $file =~ /\.c$/;
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
$file =~ s/cp?p?$/obj/;
my $obj = "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXMSWOBJS"} .= $obj;
if ( $isOleObj ) {
#! remember that this file is in ole subdir
$project{"WXOLEOBJS"} .= $obj;
}
$project{"WXCOBJS"} .= $obj if $isCFile;
}
foreach $file (sort keys %wxBase) {
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= "\$(OBJ_PATH)\\" . $file . " ";
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
# File: makebase.b32
# Author: Julian Smart
# Created: 1998
# Updated: Michael Fielding, 2002
# Copyright:
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wxbase.lib for MS Windows,
# and Borland C++ (32-bit).
# BCCDIR now defined in ../makeb32.env
!if "$(WXWIN)" == ""
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
!endif
WXDIR = $(WXWIN)
THISDIR = $(WXDIR)\src\msw
# Set all these to 1 if you want to build a dynamic library
!if "$(DLL)" == "1"
WXMAKINGDLL=1
WXBUILDDLL=1
!endif
wxUSE_GUI=0
!include $(WXDIR)\src\makeb32.env
PERIPH_LIBS=
PERIPH_TARGET=zlib regex $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_zlib clean_regex $(PERIPH_CLEAN_TARGET)
!if "$(DLL)" == "0"
DUMMY=dummy
!else
DUMMY=dummydll
LIBS= cw32mti import32 ole2w32 odbc32 zlib regex
!endif
LIBTARGET=$(WXLIB)
GENDIR=..\generic
COMMDIR=..\common
HTMLDIR=..\html
OLEDIR=.\ole
MSWDIR=.
DOCDIR = $(WXDIR)\docs
COMMONOBJS = \
#$ ExpandList("WXCOMMONOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
OBJECTS = $(COMMONOBJS) $(MSWOBJS)
default: wx
wx: $(ARCHINCDIR)\wx makesetuph makearchsetuph makeoutdir $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
all: wx
makeoutdir:
-mkdir $(OBJ_PATH)
# Copy the in-CVS setup0.h to setup.h if necessary
makesetuph:
cd $(WXDIR)\include\wx\msw
if not exist setup.h copy setup0.h setup.h
cd $(WXDIR)\src\msw
# Copy include\wx\msw\setup.h to the architecture-specific location
makearchsetuph:
copy $(WXDIR)\include\wx\msw\setup.h $(ARCHSETUPH)
cd $(WXDIR)\src\msw
$(ARCHINCDIR)\wx:
-mkdir $(ARCHINCDIR)
-mkdir $(ARCHINCDIR)\wx
-erase $(CFG)
!if "$(DLL)" == "0"
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
-erase $(WXLIB)
tlib "$(WXLIB)" /P1024 @&&!
+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
!
!else
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
-erase $(WXLIB)
-erase $(WXDLL)
$(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&!
c0d32.obj $(OBJECTS)
$(WXLIBDIR)\$(WXLIBNAME)
nul
$(PERIPH_LIBS) $(LIBS)
wxb32
!
implib -c $(LIBTARGET) $(WXLIBDIR)\$(WXLIBNAME).dll
!endif
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
version.res:
brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
#${
$_ = $project{"WXMSWOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/obj$/$suffix/;
s/OBJ_PATH/MSWDIR/;
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; }
$text .= $_ . "\n\n";
}
#$}
########################################################
# Common objects (always compiled)
#${
$_ = $project{"WXCOMMONOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/OBJ_PATH/COMMDIR/;
s/obj$/$suffix/;
$text .= $_ . "\n\n";
}
#$}
all_utils:
cd $(WXDIR)\utils
${MAKE} -f makefile.b32
cd $(WXDIR)\src\msw
all_samples:
cd $(WXDIR)\samples
${MAKE} -f makefile.b32
cd $(WXDIR)\src\msw
all_execs:
cd $(WXDIR)\utils
${MAKE} -f makefile.b32 all_execs
cd $(WXDIR)\src\msw
zlib: $(CFG)
cd $(WXDIR)\src\zlib
${MAKE} -f makefile.b32 wxUSE_GUI=0 lib
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
${MAKE} -f makefile.b32 clean
cd $(WXDIR)\src\msw
regex: $(CFG)
cd $(WXDIR)\src\regex
${MAKE} -f makefile.b32 wxUSE_GUI=0 lib
cd $(WXDIR)\src\msw
clean_regex:
cd $(WXDIR)\src\regex
${MAKE} -f makefile.b32 clean
cd $(WXDIR)\src\msw
$(CFG): makebase.b32
copy &&!
-Hc
-H=$(WXDIR)\src\msw\wx32.csm
-3
-d
-a1 # byte alignment
-R-
-X
-w-par
-w-aus
-w-hid # virtual function A hides virtual function B
-tWM
-tWC
-I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff;$(THISDIR)
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
-D__WXWIN__
-D__WXMSW__
-D__WINDOWS__
-DWIN32
$(OPT)
$(DEBUG_FLAGS)
$(WIN95FLAG)
! $(CFG)
clean: $(PERIPH_CLEAN_TARGET)
-$(RM) $(WXLIBDIR)\*.tds
-$(RM) $(WXLIBDIR)\*.il?
-$(RM) $(OBJ_PATH)\*.obj
-$(RM) $(OBJ_PATH)\*.pch
-$(RM) $(OBJ_PATH)\*.csm
-$(RM) $(OBJ_PATH)\"wx32.#??"
cleancfg:
-$(RM) $(OBJ_PATH)\*.cfg
cleanall: clean cleancfg
self:
cd $(WXWIN)\distrib\msw\tmake
perl -S tmake -tb32base wxwin.pro -o makebase.b32
copy makebase.b32 $(WXWIN)\src\msw

View File

@@ -1,92 +0,0 @@
#!################################################################################
#! File: base.t
#! Purpose: tmake template file from which src/files.lst containing the
#! list of files for wxBase library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 27.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUnix, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxBase) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"BASE_SOURCES"} .= "common/" . $file . " ";
$project{"BASE_OBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next unless $wxCommon{$file} =~ /\bB\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"BASE_SOURCES"} .= "common/" . $file . " ";
$project{"BASE_OBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxUNIX) {
next unless $wxUNIX{$file} =~ /\bB\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"BASE_SOURCES"} .= "unix/" . $file . " ";
$project{"BASE_UNIX_OBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxMSW) {
next unless $wxMSW{$file} =~ /\bB\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"BASE_SOURCES"} .= "msw/" . $file . " ";
$project{"BASE_MSW_OBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next unless $wxWXINCLUDE{$file} =~ /\bB\b/;
$project{"BASE_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/;
$project{"BASE_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
next unless $wxMSWINCLUDE{$file} =~ /\bB\b/;
$project{"BASE_HEADERS"} .= "msw/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
next unless $wxPROTOCOLINCLUDE{$file} =~ /\bB\b/;
$project{"BASE_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
ALL_SOURCES = \
#$ ExpandList("BASE_SOURCES");
ALL_HEADERS = \
#$ ExpandList("BASE_HEADERS");
BASE_OBJS = \
#$ ExpandList("BASE_OBJS");
BASE_UNIX_OBJS = \
#$ ExpandList("BASE_UNIX_OBJS");
BASE_MSW_OBJS = \
#$ ExpandList("BASE_MSW_OBJS");

View File

@@ -1,234 +0,0 @@
#!#############################################################################
#! File: basevc.t
#! Purpose: tmake template file from which makebase.vc is generated by running
#! tmake -t basevc wxwin.pro -o makebase.vc
#! Author: Mark Johnson
#! Created: 12.03.2001
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} !~ /\bB\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} !~ /\bB\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXMSWOBJS"} .= "..\\msw\\\$D\\" . $file . " "
}
foreach $file (sort keys %wxBase) {
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASEVC.T!
# File: makebase.vc
# Author: Mark Johnson
# Created: 12 March 2001
# Updated:
# Copyright: (c) 1997, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wxBase(d).lib for VC++ (32-bit)
# Arguments:
#
# FINAL=1 argument to nmake to build version with no debugging info.
#
# wxUSE_GUI=0 argument to build wxWindows version with no GUI (Console)
# - makevc.env changes lib name to wxBase(d).lib
#
wxUSE_GUI = 0
!include <../makevc.env>
THISDIR=$(WXWIN)\src\msw
LIBTARGET=$(WXLIB)
# This one overrides the others, to be consistent with the settings in setup.h
MINIMAL_WXWINDOWS_SETUP=0
PERIPH_LIBS=
PERIPH_TARGET=
PERIPH_CLEAN_TARGET=
# These are absolute paths, so that the compiler
# generates correct __FILE__ symbols for debugging.
# Otherwise you don't be able to double-click on a memory
# error to load that file.
COMMDIR=$(WXDIR)\src\common
MSWDIR=$(WXDIR)\src\msw
{../common}.cpp{../common/$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{../common}.c{../common/$D}.obj:
cl @<<
$(CPPFLAGS2) /Fo$@ /c /Tc $<
<<
{../msw}.cpp{../msw/$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{../msw}.c{../msw/$D}.obj:
cl @<<
$(CPPFLAGS2) /Fo$@ /c /Tc $<
<<
COMMONOBJS = \
..\common\$D\y_tab.obj \
#$ ExpandList("WXCOMMONOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
OBJECTS = $(COMMONOBJS) $(MSWOBJS)
ARCHINCDIR=$(WXDIR)\lib\base$(INCEXT)
SETUP_H=$(ARCHINCDIR)\wx\setup.h
# Normal, static library
#all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg tiff $(LIBTARGET)
all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib $(LIBTARGET)
$(WXDIR)\include\wx\msw\setup.h:
cd $(WXDIR)\include\wx\msw
if not exist setup.h copy setup0.h setup.h
cd $(WXDIR)\src\msw
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
dirs: $(MSWDIR)\$D $(COMMDIR)\$D
$D:
mkdir $D
$(COMMDIR)\$D:
mkdir $(COMMDIR)\$D
$(MSWDIR)\$D:
mkdir $(MSWDIR)\$D
### Static library
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
-erase $(LIBTARGET)
$(implib) @<<
-out:$@
-machine:$(CPU)
$(OBJECTS) $(DUMMYOBJ) $(PERIPH_LIBS)
<<
$(DUMMYOBJ): $(DUMMY).$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp
########################################################
..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
cl @<<
$(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
<<
..\common\y_tab.c: ..\common\dosyacc.c
copy "..\common"\dosyacc.c "..\common"\y_tab.c
..\common\lex_yy.c: ..\common\doslex.c
copy "..\common"\doslex.c "..\common"\lex_yy.c
$(OBJECTS): $(WXDIR)/include/wx/setup.h
..\common\$D\unzip.obj: ..\common\unzip.c
cl @<<
$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
<<
png:
cd $(WXDIR)\src\png
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
cd $(WXDIR)\src\msw
clean_png:
cd $(WXDIR)\src\png
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
jpeg:
cd $(WXDIR)\src\jpeg
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
cd $(WXDIR)\src\msw
clean_jpeg:
cd $(WXDIR)\src\jpeg
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
tiff:
cd $(WXDIR)\src\tiff
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
cd $(WXDIR)\src\msw
clean_tiff:
cd $(WXDIR)\src\tiff
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
xpm:
cd $(WXDIR)\src\xpm
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
cd $(WXDIR)\src\msw
clean_xpm:
cd $(WXDIR)\src\xpm
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
cleanall: clean clean_png clean_zlib clean_xpm clean_jpeg clean_tiff
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
-erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
clean: $(PERIPH_CLEAN_TARGET)
-erase $(LIBTARGET)
-erase $(COMMDIR)\$D\*.obj
-erase $(COMMDIR)\$D\*.pdb
-erase $(COMMDIR)\$D\*.sbr
-erase $(COMMDIR)\$D\*.idb
-erase $(COMMDIR)\$D\*.pch
-erase $(COMMDIR)\y_tab.c
-erase $(COMMDIR)\lex_yy.c
-erase $(MSWDIR)\$D\*.idb
-erase $(MSWDIR)\$D\*.pdb
-erase $(MSWDIR)\$D\*.pch
-erase $(MSWDIR)\$D\*.obj
-erase $(MSWDIR)\$D\*.sbr
-erase $(MSWDIR)\$D\*.pdb
-rmdir $(D)
-rmdir ..\common\$(D)

View File

@@ -1,285 +0,0 @@
#!#############################################################################
#! File: bcc.t
#! Purpose: tmake template file from which makefile.bcc is generated by running
#! tmake -t bcc wxwin.pro -o makefile.bcc
#!
#! TODO:
#! - resourc2.obj is not correctly generated (see list and target).
#! - cpp is incorrectly substituted into filenames containing 'obj'
#!
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
my $tag = "";
if ( $wxGeneric{$file} =~ /\b(PS|G|U)\b/ ) {
#! Need this file too since it has wxGenericPageSetupDialog
next unless $file =~ /^prntdlgg\./;
}
$file =~ s/cp?p?$/obj/;
$project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " "
}
foreach $file (sort keys %wxCommon) {
#! socket files don't compile under Win16 currently
next if $wxCommon{$file} =~ /\b(32|S|U)\b/;
#! needs extra files (sql*.h) so not compiled by default.
next if $file =~ /^odbc\./;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(MSWDIR)\\" . $file . " ";
$project{"WXCOMMONOBJS"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#! special hack for Borland in 16 bits needs this file
$project{"WXCOMMONOBJS"} .= '${MSWDIR}\resourc2.obj';
foreach $file (sort keys %wxMSW) {
#! don't take files not appropriate for 16-bit Windows
next if $wxMSW{$file} =~ /\b(32|O)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(MSWDIR)\\" . $file . " ";
$project{"WXMSWOBJS"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
#
# File: makefile.bcc
# Author: Julian Smart
# Created: 1993
# Updated:
# Copyright:
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wx.lib for Windows 3.1
# and Borland C++ 3.1
!if "$(BCCDIR)" == ""
!error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
!endif
!if "$(WXWIN)" == ""
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
!endif
!if "$(CFG)" == ""
# !error You must start compiling from wx\src, not wx\src\msw.
!endif
!ifndef DEBUG
DEBUG=0
!endif
WXDIR = $(WXWIN)
!include $(WXDIR)\src\makebcc.env
THISDIR = $(WXDIR)\src\msw
# Please set these according to the settings in wx_setup.h, so we can include
# the appropriate libraries in wx.lib
USE_CTL3D=1
PERIPH_LIBS=
PERIPH_TARGET=
PERIPH_CLEAN_TARGET=
!if "$(USE_CTL3D)" == "1"
PERIPH_LIBS=$(WXDIR)\lib\bcc16\ctl3dv2.lib $(PERIPH_LIBS)
!endif
# TODO: add these libraries
# PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(PERIPH_LIBS)
PERIPH_TARGET=zlib png $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_zlib clean_png $(PERIPH_CLEAN_TARGET)
CPPFLAGS=$(DEBUG_FLAGS) $(OPT) @$(CFG)
LIBTARGET= $(WXLIBDIR)\wx.lib
DUMMY=dummy
GENDIR=..\generic
COMMDIR=..\common
OLEDIR=.\ole
MSWDIR=.
DOCDIR = $(WXDIR)\docs
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
COMMONOBJS = \
#$ ExpandList("WXCOMMONOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
default: wx
wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
$(LIBTARGET): $(DUMMY).obj $(OBJECTS) $(PERIPH_LIBS)
erase $(LIBTARGET)
tlib $(LIBTARGET) /P2048 @&&!
+$(COMMONOBJS:.obj =.obj +)\
+$(GENERICOBJS:.obj =.obj +)\
+$(MSWOBJS:.obj =.obj +)\
+$(PERIPH_LIBS:.lib =.lib +)
!
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
# $(OBJECTS): $(WXDIR)\include\wx\setup.h
#${
$_ = $project{"WXMSWOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/obj$/$suffix/;
$text .= $_ . "\n\n";
}
#$}
########################################################
# Common objects (always compiled)
#${
$_ = $project{"WXCOMMONOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
s/MSWDIR/COMMDIR/;
s/obj$/$suffix/;
$text .= $_ . "\n\n";
}
#$}
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)
#${
$_ = $project{"WXGENERICOBJS"};
my @objs = split;
foreach (@objs) {
$text .= $_ . ": ";
s/MSWDIR/GENDIR/;
s/obj$/\$(SRCSUFF)/;
$text .= $_ . "\n\n";
}
#$}
all_utils:
cd $(WXDIR)\utils
make -f makefile.bcc
cd $(WXDIR)\src\msw
all_samples:
cd $(WXDIR)\samples
make -f makefile.bcc
cd $(WXDIR)\src\msw
all_execs:
cd $(WXDIR)\utils
make -f makefile.bcc all_execs
cd $(WXDIR)\src\msw
# CONTRIB
png: $(CFG)
cd $(WXDIR)\src\png
make -f makefile.bcc
cd $(WXDIR)\src\msw
clean_png:
cd $(WXDIR)\src\png
make -f makefile.bcc clean
cd $(WXDIR)\src\msw
zlib: $(CFG)
cd $(WXDIR)\src\zlib
make -f makefile.bcc
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
make -f makefile.bcc clean
cd $(WXDIR)\src\msw
$(CFG): makefile.bcc
copy &&!
-H=$(WXDIR)\src\msw\borland.pch
-2
-P
-d
-w-hid
-w-par
-w-pia
-w-aus
-w-rch
-ml
-Od
-WE
-Fs-
-Vf
-Ff=4
-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-D__WXWIN__
-D__WXMSW__
-D__WINDOWS__
-D__WIN16__
! $(CFG)
!if "$(BOR_VER)" == "3.1"
echo -Ff=4 >>$(CFG)
!elif "$(BOR_VER)" == "4"
echo -Ff=512 >>$(CFG)
echo -dc >>$(CFG)
!else
echo -Ff=512 >>$(CFG)
echo -dc >>$(CFG)
!endif
# -O was: -Oxt
clean: $(PERIPH_CLEAN_TARGET)
erase $(LIBTARGET)
erase *.obj
erase *.pch
erase *.csm
erase *.cfg
cleanall: clean
MFTYPE=bcc
# Can't use this or we'll have to distribute all tmake files with wxWindows
#makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
self:
cd $(WXWIN)\distrib\msw\tmake
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXWIN)\src\msw

View File

@@ -1,118 +0,0 @@
#!################################################################################
#! File: cocoa.t
#! Purpose: tmake template file from which src/cocoa/files.lst containing the
#! list of files for wxCocoa library is generated by tmake
#! Author: Gilles Depeyrot (mac.t)
#! Created: 04.10.01
#! Modified: David Elliott
#! Version: $Id:
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bNotCocoa\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$fileobj =~ s/mm?$/\o/;
$project{"COCOA_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotCocoa\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$fileobj =~ s/mm?$/\o/;
$project{"COCOA_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCOCOA) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$fileobj =~ s/mm?$/\o/;
$project{"COCOA_SOURCES"} .= "cocoa/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxUNIX) {
next if $wxUNIX{$file} =~ /\bNotCocoa\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$fileobj =~ s/mm?$/\o/;
$project{"COCOA_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$fileobj =~ s/mm?$/\o/;
$project{"COCOA_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} =~ /\bX\b/;
$project{"COCOA_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxCOCOAINCLUDE) {
$project{"COCOA_HEADERS"} .= "cocoa/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"COCOA_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"COCOA_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"COCOA_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"COCOA_HEADERS"} .= "protocol/" . $file . " "
}
foreach $file (sort keys %wxCOCOARESOURCE) {
$project{"COCOARESOURCES"} .= $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE COCOA.T!
ALL_SOURCES = \
#$ ExpandList("COCOA_SOURCES");
ALL_HEADERS = \
#$ ExpandList("COCOA_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");
COCOARESOURCES = \
#$ ExpandList("COCOARESOURCES");

View File

@@ -1,261 +0,0 @@
#!#############################################################################
#! File: dos.t
#! Purpose: tmake template file from which makefile.dos is generated by running
#! tmake -t dos wxwin.pro -o makefile.dos
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
if ( $wxGeneric{$file} =~ /\b(PS|G|U)\b/ ) {
#! Need this file too since it has wxGenericPageSetupDialog
next unless $file =~ /^prntdlgg\./;
}
$file =~ s/cp?p?$/obj/;
$project{"WXGENERICOBJS"} .= "\$(GENDIR)\\" . $file . " "
}
#! because we later search for " <filename> " in this string
$project{"WXCOBJS"} = " ";
foreach $file (sort keys %wxCommon) {
#! socket files don't compile under Win16 currently
next if $wxCommon{$file} =~ /\b(32|S)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(COMMDIR)\\" . $file . " ";
#! $project{"WXCOMMONOBJS"} .= $obj;
#! have to split lib in 2 halves because otherwise it's too big
$project{$file =~ "^[a-o]" ? "WXCOMMONOBJS1" : "WXCOMMONOBJS2"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
foreach $file (sort keys %wxMSW) {
#! don't take files not appropriate for 16-bit Windows
next if $wxMSW{$file} =~ /\b(32|O)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = "\$(MSWDIR)\\" . $file . " ";
#! have to split lib in 2 halves because otherwise it's too big
$project{$file =~ "^[a-o]" ? "WXMSWOBJS1" : "WXMSWOBJS2"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE DOS.T!
#
# File: makefile.dos
# Author: Julian Smart
# Created: 1997
# Updated:
# Copyright:(c) 1997, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wx.lib for VC++ (16-bit)
# Arguments:
#
# FINAL=1 argument to nmake to build version with no debugging info.
#
!include <..\makemsc.env>
LIBTARGET=$(WXLIB)
DUMMYOBJ=dummy.obj
# Please set these according to the settings in wx_setup.h, so we can include
# the appropriate libraries in wx.lib
# This one overrides the others, to be consistent with the settings in wx_setup.h
MINIMAL_WXWINDOWS_SETUP=0
USE_CTL3D=1
!if "$(MINIMAL_WXWINDOWS_SETUP)" == "1"
USE_CTL3D=0
!endif
PERIPH_LIBS=
PERIPH_TARGET=
PERIPH_CLEAN_TARGET=
# !if "$(USE_CTL3D)" == "1"
# PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS)
# !endif
# PNG and Zlib
PERIPH_TARGET=png zlib $(PERIPH_TARGET)
PERIPH_CLEAN_TARGET=clean_png clean_zlib $(PERIPH_CLEAN_TARGET)
GENDIR=..\generic
COMMDIR=..\common
OLEDIR=.\ole
MSWDIR=.
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
# we can't have all objects in one list because the library becomes too big
COMMONOBJS1 = \
#$ ExpandList("WXCOMMONOBJS1");
COMMONOBJS2 = \
#$ ExpandList("WXCOMMONOBJS2");
# we can't have all objects in one list because the library becomes too big
MSWOBJS1 = #$ ExpandList("WXMSWOBJS1");
MSWOBJS2 = #$ ExpandList("WXMSWOBJS2");
OBJECTS = $(COMMONOBJS1) $(COMMONOBJS2) $(GENERICOBJS) $(MSWOBJS1) $(MSWOBJS2)
# Normal, static library
all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib $(WXDIR)\lib\wx4.lib $(WXDIR)\lib\wx5.lib
$(WXDIR)\lib\wx1.lib: $(COMMONOBJS1) $(PERIPH_LIBS)
-erase $(WXDIR)\lib\wx1.lib
lib /PAGESIZE:128 @<<
$(WXDIR)\lib\wx1.lib
y
$(COMMONOBJS1) $(PERIPH_LIBS)
nul
;
<<
$(WXDIR)\lib\wx2.lib: $(COMMONOBJS2)
-erase $(WXDIR)\lib\wx2.lib
lib /PAGESIZE:128 @<<
$(WXDIR)\lib\wx2.lib
y
$(COMMONOBJS2)
nul
;
<<
$(WXDIR)\lib\wx3.lib: $(GENERICOBJS)
-erase $(WXDIR)\lib\wx3.lib
lib /PAGESIZE:128 @<<
$(WXDIR)\lib\wx3.lib
y
$(GENERICOBJS)
nul
;
<<
$(WXDIR)\lib\wx4.lib: $(MSWOBJS1)
-erase $(WXDIR)\lib\wx4.lib
lib /PAGESIZE:128 @<<
$(WXDIR)\lib\wx4.lib
y
$(MSWOBJS1)
nul
;
<<
$(WXDIR)\lib\wx5.lib: $(MSWOBJS2)
-erase $(WXDIR)\lib\wx5.lib
lib /PAGESIZE:128 @<<
$(WXDIR)\lib\wx5.lib
y
$(MSWOBJS2)
nul
;
<<
########################################################
# Windows-specific objects
dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
cl @<<
cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
<<
#dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
# cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
cl @<<
$(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
<<
#${
$_ = $project{"WXMSWOBJS1"} . $project{"WXMSWOBJS2"} . $project{"WXCOMMONOBJS1"} . $project{"WXCOMMONOBJS2"} . $project{"WXGENERICOBJS"};
my @objs = split;
foreach (@objs) {
if ( $project{"WXCOBJS"} =~ / \Q$_\E / ) {
s:\\:/:;
$text .= $_ . ': $*.c' . "\n" .
' cl @<<' . "\n" .
'$(CPPFLAGS2) /Fo$@ /c /Tc $*.c' . "\n" .
"<<\n\n";
}
else {
s:\\:/:;
$text .= $_ . ': $*.$(SRCSUFF)' . "\n" .
' cl @<<' . "\n" .
'$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)' . "\n" .
"<<\n\n";
}
}
#$}
$(OBJECTS): $(WXDIR)/include/wx/setup.h
# Peripheral components
zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.dos FINAL=$(FINAL)
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.dos clean
cd $(WXDIR)\src\msw
png:
cd $(WXDIR)\src\png
nmake -f makefile.dos FINAL=$(FINAL)
cd $(WXDIR)\src\msw
clean_png:
cd $(WXDIR)\src\png
nmake -f makefile.dos clean
cd $(WXDIR)\src\msw
clean: $(PERIPH_CLEAN_TARGET)
-erase *.obj
-erase ..\lib\*.lib
-erase *.pdb
-erase *.sbr
-erase *.pch
cd $(WXDIR)\src\generic
-erase *.pdb
-erase *.sbr
-erase *.obj
cd $(WXDIR)\src\common
-erase *.pdb
-erase *.sbr
-erase *.obj
cd $(WXDIR)\src\msw\ole
-erase *.pdb
-erase *.sbr
-erase *.obj
cd $(WXDIR)\src\msw
cleanall: clean
MFTYPE=dos
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
cd $(WXWIN)\distrib\msw\tmake
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXWIN)\src\msw

View File

@@ -1,150 +0,0 @@
#!#############################################################################
#! File: filelist.t
#! Purpose: tmake template file containig Perl code to parse the filelist.txt
#! file - this is used by all other templates.
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
use lib './lib';
use wxFileInfo;
open(FILELIST, "filelist.txt") or die "Can't open filelist file: $!\n";
#! maps file types to array names, for example an entry of the form
#! FooH => 'wxXYZ' means that all files with type "FooH" will be
#! added to an array named @wxXYZ
my %type_2_array = (
Common => "wxCommon",
Generic => "wxGeneric",
GenericH => "wxGenericInclude",
HTML => "wxHtml",
HtmlH => "wxHtmlInclude",
Motif => "wxMotif",
MotifH => "wxMotifInclude",
ProtoH => "wxProtocolInclude",
Unix => "wxUnix",
UnixH => "wxUnixInclude",
WXH => "wxWxInclude",
);
line: while ( defined($_ = <FILELIST>) ) {
chomp;
#! comment or blank line, skip
next line if ( $_ eq "" or /^#/ );
#! if ( $verbose ) {
#! print STDERR "Processing line: '$_'\n";
#! }
my @fields = split /\t/;
#! first column is filename, second is type, third is flags
my ($filename, $filetype, $fileflags) = @fields;
if ( $#fields > 2 ) {
warn "Ignoring malformed line $_ in the filelist file.\n";
next line;
} elsif ( $#fields == 1 ) {
#! add an empty flags string
$fileflags = "";
}
if ( $verbose ) {
print STDERR "File $filename: type '$filetype', flags '$fileflags'\n";
}
#! save all information in @wxALL
my $fileinfo = new wxFileInfo( $filename, $filetype, $fileflags );
push @wxALL, $fileinfo;
#! this is a bit stupid but all templates are written using the old
#! single letter flags which became so unreadable that I decided to
#! replace them with more readable strings, but it was easier to do
#! the translation here instead of changing all *.t files
$fileflags =~ s/Base/B/;
$fileflags =~ s/NotWin32/16/;
$fileflags =~ s/Win32Only/32/;
$fileflags =~ s/Generic/G/;
$fileflags =~ s/OLE/O/;
$fileflags =~ s/Socket/S/;
$fileflags =~ s/NotMSW/U/;
$fileflags =~ s/NotOS2/P/;
$fileflags =~ s/LowLevel/L/;
$fileflags =~ s/Theme/T/;
if ( $filetype eq "Common" ) {
$wxCommon{$filename} = $fileflags;
} elsif ( $filetype eq "Generic" ) {
$wxGeneric{$filename} = $fileflags;
} elsif ( $filetype eq "MSW" ) {
$wxMSW{$filename} = $fileflags;
} elsif ( $filetype eq "Mac" ) {
$wxMAC{$filename} = $fileflags;
} elsif ( $filetype eq "Cocoa" ) {
$wxCOCOA{$filename} = $fileflags;
} elsif ( $filetype eq "Motif" ) {
$wxMOTIF{$filename} = $fileflags;
} elsif ( $filetype eq "GTK" ) {
$wxGTK{$filename} = $fileflags;
} elsif ( $filetype eq "Univ" ) {
$wxUNIV{$filename} = $fileflags;
} elsif ( $filetype eq "MGL" ) {
$wxMGL{$filename} = $fileflags;
} elsif ( $filetype eq "Micro" ) {
$wxMICRO{$filename} = $fileflags;
} elsif ( $filetype eq "OS2" ) {
$wxOS2PM{$filename} = $fileflags;
} elsif ( $filetype eq "X11" ) {
$wxX11{$filename} = $fileflags;
} elsif ( $filetype eq "HTML" ) {
$wxHTML{$filename} = $fileflags;
} elsif ( $filetype eq "Unix" ) {
$wxUNIX{$filename} = $fileflags;
} elsif ( $filetype eq "BaseOnly" ) {
$wxBase{$filename} = $fileflags;
} elsif ( $filetype eq "WXH" ) {
$wxWXINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "ProtoH" ) {
$wxPROTOCOLINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "HtmlH" ) {
$wxHTMLINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MacH" ) {
$wxMACINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "CocoaH" ) {
$wxCOCOAINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MotifH" ) {
$wxMOTIFINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MSWH" && $fileflags =~ m/O/ ) {
$wxOLEINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MSWH" ) {
$wxMSWINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "GTKH" ) {
$wxGTKINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "OS2H" ) {
$wxOS2PMINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MGLH" ) {
$wxMGLINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "X11H" ) {
$wxX11INCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "UnivH" ) {
$wxUNIVINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "UnixH" ) {
$wxUNIXINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "GenericH" ) {
$wxGENERICINCLUDE{$filename} = $fileflags;
} elsif ( $filetype eq "MacR" ) {
$wxMACRESOURCE{$filename} = $fileflags;
} elsif ( $filetype eq "CocoaR" ) {
$wxCOCOARESOURCE{$filename} = $fileflags;
} else {
warn "Unknown file type $filetype for $filename, ignoring.\n";
next line;
}
}
close(FILELIST);
#$}
#! vim:sw=4:ts=4:list:et:ft=perl

File diff suppressed because it is too large Load Diff

View File

@@ -1,457 +0,0 @@
#!#############################################################################
#! File: g95.t
#! Purpose: tmake template file from which makefile.g95 is generated by running
#! tmake -t g95 wxwin.pro -o makefile.g95
#! Author: Vadim Zeitlin, Robert Roebling, Julian Smart
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
#! so take the generic version
$base = ( $wxGeneric{$file} =~ /\bB\b/ ) ? '_BASE' : '';
if ( $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/ ) {
next #! unless $file =~ /^dirdlgg\./;
}
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"WXGENERICOBJS$base"} .= '$(GENDIR)/' . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
#! needs extra files (sql*.h) so not compiled by default.
#! next if $file =~ /^odbc\./;
$base = ( $wxCommon{$file} =~ /\bB\b/ ) ? '_BASE' : '';
if ( $file =~ /^odbc\./ )
{
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"ADVANCEDOBJS$base"} .= '$(COMMDIR)/' . $file . " "
}
else
{
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"WXCOMMONOBJS$base"} .= '$(COMMDIR)/' . $file . " "
}
}
foreach $file (sort keys %wxBase) {
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"WXCOMMONOBJS_BASEONLY"} .= '$(COMMDIR)/' . $file . " "
}
foreach $file (sort keys %wxMSW) {
#! native wxDirDlg can't be compiled due to GnuWin32/OLE limitations,
next if $file =~ /^dirdlg\./;
next if $wxMSW{$file} =~ /\b(16)\b/;
$base = ( $wxMSW{$file} =~ /\bB\b/ ) ? '_BASE' : '';
#! Mingw32 doesn't have the OLE headers and has some troubles with
#! socket code, so put in ADVANCEDOBJS
if ( $wxMSW{$file} =~ /\b(O)\b/ )
{
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"ADVANCEDOBJS$base"} .= '$(MSWDIR)/ole/' . $file . " "
}
else
{
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"WXMSWOBJS$base"} .= '$(MSWDIR)/' . $file . " "
}
}
foreach $file (sort keys %wxHTML) {
$file =~ s/cp?p?$/\$(OBJSUFF)/;
$project{"WXHTMLOBJS"} .= '$(HTMLDIR)/' . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
#
# File: makefile.g95
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
# Created: 1993
# Updated: 1999
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
#
# Makefile for libwx.a
# Replace this with your own path if necessary
WXDIR = ../..
# All common compiler flags and options are now in
# this central makefile.
include $(WXDIR)/src/makeg95.env
# DLL Name, if building wxWindows as a DLL.
ifdef WXMAKINGDLL
WXDLL = $(WXDIR)/lib/wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT)$(MIN_SUFFIX).dll
WXDEF = wx$(TOOLKIT)$(WXVERSION)$(UNIEXT)$(DEBEXT).def
DLL_EXTRA_LIBS = $(WXDIR)/lib/libzlib$(MIN_SUFFIX).a \
$(WXDIR)/lib/libpng$(MIN_SUFFIX).a \
$(WXDIR)/lib/libjpeg$(MIN_SUFFIX).a \
$(WXDIR)/lib/libtiff$(MIN_SUFFIX).a \
$(WXDIR)/lib/libregex$(MIN_SUFFIX).a
DLL_LDFLAGS = -L$(WXDIR)/lib
DLL_BASE_LDLIBS = $(DLL_EXTRA_LIBS) -lstdc++ -lwsock32
ifeq ($(wxUSE_GUI),0)
DLL_LDLIBS = $(DLL_BASE_LDLIBS)
else
DLL_LDLIBS = -lcomctl32 -lctl3d32 -lole32 -loleaut32 \
-luuid -lrpcrt4 -lodbc32 -lwinmm -lopengl32 \
$(DLL_BASE_LDLIBS)
endif
endif
# Subordinate library possibilities
EXTRAOBJS=
GENDIR = $(WXDIR)/src/generic
COMMDIR = $(WXDIR)/src/common
HTMLDIR = $(WXDIR)/src/html
ZLIBDIR = $(WXDIR)/src/zlib
PNGDIR = $(WXDIR)/src/png
JPEGDIR = $(WXDIR)/src/jpeg
TIFFDIR = $(WXDIR)/src/tiff
OLEDIR = $(WXDIR)/src/msw/ole
MSWDIR = $(WXDIR)/src/msw
REGEXDIR= $(WXDIR)/src/regex
ZLIBLIB = $(WXDIR)/lib/libzlib$(MIN_SUFFIX).a
PNGLIB = $(WXDIR)/lib/libpng$(MIN_SUFFIX).a
JPEGLIB = $(WXDIR)/lib/libjpeg$(MIN_SUFFIX).a
TIFFLIB = $(WXDIR)/lib/libtiff$(MIN_SUFFIX).a
REGEXLIB= $(WXDIR)/lib/libregex$(MIN_SUFFIX).a
DOCDIR = $(WXDIR)/docs
# Only use the WIN32 wxDirDialog if we have a recent
# version of Mingw32
ifeq "$(strip $(RECENT_MINGW))" "yes"
DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
else
DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
endif
ifeq ($(wxUSE_GUI),0)
DIRDLGOBJ =
endif
GENERICOBJS_BASE = \
#$ ExpandList("WXGENERICOBJS_BASE");
GENERICOBJS = \
$(GENERICOBJS_BASE) \
#$ ExpandList("WXGENERICOBJS");
COMMONOBJS_BASE = \
#$ ExpandList("WXCOMMONOBJS_BASE");
COMMONOBJS_BASEONLY = \
#$ ExpandList("WXCOMMONOBJS_BASEONLY");
COMMONOBJS = \
$(COMMONOBJS_BASE) \
#$ ExpandList("WXCOMMONOBJS");
HTMLOBJS = \
#$ ExpandList("WXHTMLOBJS");
MSWOBJS_BASE = \
#$ ExpandList("WXMSWOBJS_BASE");
MSWOBJS = \
$(MSWOBJS_BASE) \
#$ ExpandList("WXMSWOBJS");
ADVANCEDOBJS_BASE = \
#$ ExpandList("ADVANCEDOBJS_BASE");
ADVANCEDOBJS = \
$(ADVANCEDOBJS_BASE) \
#$ ExpandList("ADVANCEDOBJS");
ZLIBOBJS = \
$(ZLIBDIR)/adler32.$(OBJSUFF) \
$(ZLIBDIR)/compress.$(OBJSUFF) \
$(ZLIBDIR)/crc32.$(OBJSUFF) \
$(ZLIBDIR)/gzio.$(OBJSUFF) \
$(ZLIBDIR)/uncompr.$(OBJSUFF) \
$(ZLIBDIR)/deflate.$(OBJSUFF) \
$(ZLIBDIR)/trees.$(OBJSUFF) \
$(ZLIBDIR)/zutil.$(OBJSUFF) \
$(ZLIBDIR)/inflate.$(OBJSUFF) \
$(ZLIBDIR)/infblock.$(OBJSUFF) \
$(ZLIBDIR)/inftrees.$(OBJSUFF) \
$(ZLIBDIR)/infcodes.$(OBJSUFF) \
$(ZLIBDIR)/infutil.$(OBJSUFF) \
$(ZLIBDIR)/inffast.$(OBJSUFF)
PNGOBJS = \
$(PNGDIR)/png.$(OBJSUFF) \
$(PNGDIR)/pngread.$(OBJSUFF) \
$(PNGDIR)/pngrtran.$(OBJSUFF) \
$(PNGDIR)/pngrutil.$(OBJSUFF) \
$(PNGDIR)/pngpread.$(OBJSUFF) \
$(PNGDIR)/pngtrans.$(OBJSUFF) \
$(PNGDIR)/pngwrite.$(OBJSUFF) \
$(PNGDIR)/pngwtran.$(OBJSUFF) \
$(PNGDIR)/pngwutil.$(OBJSUFF) \
$(PNGDIR)/pngerror.$(OBJSUFF) \
$(PNGDIR)/pngmem.$(OBJSUFF) \
$(PNGDIR)/pngwio.$(OBJSUFF) \
$(PNGDIR)/pngrio.$(OBJSUFF) \
$(PNGDIR)/pngget.$(OBJSUFF) \
$(PNGDIR)/pngset.$(OBJSUFF)
JPEGOBJS = \
$(JPEGDIR)/jcomapi.$(OBJSUFF) \
$(JPEGDIR)/jutils.$(OBJSUFF) \
$(JPEGDIR)/jerror.$(OBJSUFF) \
$(JPEGDIR)/jmemmgr.$(OBJSUFF) \
$(JPEGDIR)/jmemnobs.$(OBJSUFF) \
$(JPEGDIR)/jcapimin.$(OBJSUFF) \
$(JPEGDIR)/jcapistd.$(OBJSUFF) \
$(JPEGDIR)/jctrans.$(OBJSUFF) \
$(JPEGDIR)/jcparam.$(OBJSUFF) \
$(JPEGDIR)/jdatadst.$(OBJSUFF) \
$(JPEGDIR)/jcinit.$(OBJSUFF) \
$(JPEGDIR)/jcmaster.$(OBJSUFF) \
$(JPEGDIR)/jcmarker.$(OBJSUFF) \
$(JPEGDIR)/jcmainct.$(OBJSUFF) \
$(JPEGDIR)/jcprepct.$(OBJSUFF) \
$(JPEGDIR)/jccoefct.$(OBJSUFF) \
$(JPEGDIR)/jccolor.$(OBJSUFF) \
$(JPEGDIR)/jcsample.$(OBJSUFF) \
$(JPEGDIR)/jchuff.$(OBJSUFF) \
$(JPEGDIR)/jcphuff.$(OBJSUFF) \
$(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
$(JPEGDIR)/jfdctfst.$(OBJSUFF) \
$(JPEGDIR)/jfdctflt.$(OBJSUFF) \
$(JPEGDIR)/jfdctint.$(OBJSUFF) \
$(JPEGDIR)/jdapimin.$(OBJSUFF) \
$(JPEGDIR)/jdapistd.$(OBJSUFF) \
$(JPEGDIR)/jdtrans.$(OBJSUFF) \
$(JPEGDIR)/jdatasrc.$(OBJSUFF) \
$(JPEGDIR)/jdmaster.$(OBJSUFF) \
$(JPEGDIR)/jdinput.$(OBJSUFF) \
$(JPEGDIR)/jdmarker.$(OBJSUFF) \
$(JPEGDIR)/jdhuff.$(OBJSUFF) \
$(JPEGDIR)/jdphuff.$(OBJSUFF) \
$(JPEGDIR)/jdmainct.$(OBJSUFF) \
$(JPEGDIR)/jdcoefct.$(OBJSUFF) \
$(JPEGDIR)/jdpostct.$(OBJSUFF) \
$(JPEGDIR)/jddctmgr.$(OBJSUFF) \
$(JPEGDIR)/jidctfst.$(OBJSUFF) \
$(JPEGDIR)/jidctflt.$(OBJSUFF) \
$(JPEGDIR)/jidctint.$(OBJSUFF) \
$(JPEGDIR)/jidctred.$(OBJSUFF) \
$(JPEGDIR)/jdsample.$(OBJSUFF) \
$(JPEGDIR)/jdcolor.$(OBJSUFF) \
$(JPEGDIR)/jquant1.$(OBJSUFF) \
$(JPEGDIR)/jquant2.$(OBJSUFF) \
$(JPEGDIR)/jdmerge.$(OBJSUFF)
TIFFOBJS = $(TIFFDIR)/tif_aux.o \
$(TIFFDIR)/tif_close.o \
$(TIFFDIR)/tif_codec.o \
$(TIFFDIR)/tif_compress.o \
$(TIFFDIR)/tif_dir.o \
$(TIFFDIR)/tif_dirinfo.o \
$(TIFFDIR)/tif_dirread.o \
$(TIFFDIR)/tif_dirwrite.o \
$(TIFFDIR)/tif_dumpmode.o \
$(TIFFDIR)/tif_error.o \
$(TIFFDIR)/tif_fax3.o \
$(TIFFDIR)/tif_fax3sm.o \
$(TIFFDIR)/tif_flush.o \
$(TIFFDIR)/tif_getimage.o \
$(TIFFDIR)/tif_jpeg.o \
$(TIFFDIR)/tif_luv.o \
$(TIFFDIR)/tif_lzw.o \
$(TIFFDIR)/tif_next.o \
$(TIFFDIR)/tif_open.o \
$(TIFFDIR)/tif_packbits.o \
$(TIFFDIR)/tif_pixarlog.o \
$(TIFFDIR)/tif_predict.o \
$(TIFFDIR)/tif_print.o \
$(TIFFDIR)/tif_read.o \
$(TIFFDIR)/tif_strip.o \
$(TIFFDIR)/tif_swab.o \
$(TIFFDIR)/tif_thunder.o \
$(TIFFDIR)/tif_tile.o \
$(TIFFDIR)/tif_version.o \
$(TIFFDIR)/tif_warning.o \
$(TIFFDIR)/tif_win32.o \
$(TIFFDIR)/tif_write.o \
$(TIFFDIR)/tif_zip.o
ifeq "$(strip $(RECENT_MINGW))" "yes"
OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS)
else
OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ)
endif
ifeq ($(wxUSE_GUI),0)
OBJECTS = $(MSWOBJS_BASE) $(COMMONOBJS_BASE) $(COMMONOBJS_BASEONLY) $(GENERICOBJS_BASE)
endif
# how do you do "VAR=\" ? BLEAGH!
BACKSLASH=$(subst a,\,a)
ifeq (,$(findstring $(OSTYPE),"cygwin!msys"))
PATH_SEPARATOR:=$(BACKSLASH)
PATH_SUBST=/
else
PATH_SEPARATOR=/
PATH_SUBST:=$(BACKSLASH)
endif
#ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
ARCHINCDIR=$(WXDIR)/lib/$(TOOLKIT)$(INCEXT)
SETUP_H=$(ARCHINCDIR)/wx/setup.h
ifndef WXMAKINGDLL
all: $(SETUP_H) $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB)
else
all: $(SETUP_H) $(OBJECTS) $(ZLIBLIB) $(PNGLIB) $(JPEGLIB) $(TIFFLIB) $(REGEXLIB) $(WXDLL)
endif
$(ARCHINCDIR)/wx:
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR))
mkdir $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(ARCHINCDIR)/wx)
# Copy ALWAYS uses forward slashes now.
$(SETUP_H): $(ARCHINCDIR)/wx $(WXDIR)/include/wx/msw/setup.h
$(COPY) $(WXDIR)/include/wx/msw/setup.h $(subst $(BACKSLASH),/,$@)
# $(COPY) $(WXDIR)/include/wx/msw/setup.h $@
# $(COPY) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/include/wx/msw/setup.h) $(subst $(PATH_SUBST),$(PATH_SEPARATOR),$@)
ifndef WXMAKINGDLL
$(WXLIB): $(OBJECTS) $(EXTRAOBJS)
ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
$(RANLIB) $@
else
# The new linker is a few orders of magnitude faster than the old way
# of creating DLLs.
ifeq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
$(WXDLL): $(OBJECTS) $(EXTRAOBJS)
$(CXX) -shared -o $@ \
-Wl,--output-def,$(WXDEF) \
-Wl,--out-implib,$(WXLIB) \
$(OBJECTS) $(EXTRAOBJS) \
$(DLL_LDFLAGS) $(DLL_LDLIBS) \
$(ALL_LDFLAGS_DLL)
else
ifeq ($(MINGW32),1)
DLL_ENTRY = _DllMainCRTStartup@12
else
DLL_ENTRY = __cygwin_dll_entry@12
endif
LD_STUFF = $(OBJECTS) $(EXTRAOBJS) -Wl,-e,$(DLL_ENTRY) \
$(DLL_LDFLAGS) $(DLL_LDLIBS) #-Wl,--image-base=0x66000000
DLL_STUFF = --as=$(AS) --dllname $(notdir $(WXDLL)) \
--def $(WXDEF) \
--base-file wx.base --output-exp wx.exp
$(WXDEF) $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
$(DLLTOOL) --output-def $@ --output-lib $(WXLIB) \
--dllname $(notdir $(WXDLL)) \
$(OBJECTS) $(EXTRAOBJS) $(DLL_EXTRA_LIBS)
$(WXDLL): $(OBJECTS) $(EXTRAOBJS) $(WXDEF)
$(CC) -mdll -Wl,--base-file,wx.base -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
$(DLLTOOL) $(DLL_STUFF)
$(CC) -mdll -Wl,--base-file,wx.base wx.exp -s -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
$(DLLTOOL) $(DLL_STUFF)
$(CC) -mdll wx.exp -o $@ $(LD_STUFF) $(ALL_LDFLAGS_DLL)
-$(RM) wx.base
-$(RM) wx.exp
endif
endif
$(ZLIBLIB): $(ZLIBOBJS)
$(AR) $(AROPTIONS) $@ $(ZLIBOBJS)
$(RANLIB) $@
$(PNGLIB): $(PNGOBJS)
$(AR) $(AROPTIONS) $@ $(PNGOBJS)
$(RANLIB) $@
$(JPEGLIB): $(JPEGOBJS)
$(AR) $(AROPTIONS) $@ $(JPEGOBJS)
$(RANLIB) $@
$(TIFFLIB): $(TIFFOBJS)
$(AR) $(AROPTIONS) $@ $(TIFFOBJS)
$(RANLIB) $@
$(REGEXLIB):
$(MAKE) -C $(REGEXDIR) -f makefile.g95 MINGW32=$(MINGW32) WXDIR=$(WXDIR) WXWIN=$(WXDIR)
$(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(ARCHINCDIR)/wx/setup.h
clean:
-$(RM) *.o
-$(RM) ole/*.o
-$(RM) *.bak
-$(RM) core
-$(RM) ../common/*.o
-$(RM) ../common/*.bak
-$(RM) ../generic/*.o
-$(RM) ../generic/*.bak
-$(RM) ../html/*.o
-$(RM) ../zlib/*.o
-$(RM) ../zlib/*.bak
-$(RM) ../png/*.o
-$(RM) ../png/*.bak
-$(RM) ../jpeg/*.o
-$(RM) ../jpeg/*.bak
-$(RM) ../tiff/*.o
-$(RM) ../tiff/*.bak
-$(RM) ../regex/*.o
-$(RM) ../regex/*.bak
cleanall: clean
-$(RM) $(WXLIB)
-$(RM) $(ZLIBLIB)
-$(RM) $(PNGLIB)
-$(RM) $(JPEGLIB)
-$(RM) $(TIFFLIB)
-$(RM) $(REGEXLIB)
ifdef WXMAKINGDLL
-$(RM) $(WXDLL)
-$(RM) $(WXDEF)
ifneq "$(strip $(LD_SUPPORTS_SHARED))" "yes"
-$(RM) wx.base
-$(RM) wx.exp
endif
endif

View File

@@ -1,120 +0,0 @@
#!################################################################################
#! File: gtk.t
#! Purpose: tmake template file from which src/gtk/files.lst containing the
#! list of files for wxGTK library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 28.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bNotGTK\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "generic/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
#! also add it to the list of object files used by wxUniv if there
#! is no file with the same name among wxUniv own objects
my $filereal = $file;
if ( $file =~ /^([^.]+)g.cpp$/ ) {
$filereal = "$1.cpp";
}
if ( !exists $wxUNIV{$filereal} ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotGTK\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxGTK) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "gtk/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
if ( $wxGTK{$file} =~ /\bL\b/ ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
foreach $file (sort keys %wxUNIX) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"GTK_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} =~ /\bNotGTK\b/;
$project{"GTK_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxGTKINCLUDE) {
$project{"GTK_HEADERS"} .= "gtk/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
next if $wxGENERICINCLUDE{$file} =~ /\bNotGTK\b/;
$project{"GTK_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"GTK_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"GTK_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"GTK_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
ALL_SOURCES = \
#$ ExpandList("GTK_SOURCES");
ALL_HEADERS = \
#$ ExpandList("GTK_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
GUI_LOWLEVEL_OBJS = \
#$ ExpandList("GUI_LOWLEVEL_OBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");

View File

@@ -1,90 +0,0 @@
package wxFileInfo;
=head1 NAME
wxFileInfo
=head1 SYNOPSIS
use wxFileInfo;
my $info = new wxFileInfo( $filename, $filetype, $fileflags );
my $info2 = new wxFileInfo( 'mdig.cpp', 'Generic',
'NotWin32,NotGTK,NotMac' );
$f = $info->filename;
$t = $info->filetype;
$flags = $info->fileflags;
$bool = $info->is_header;
$bool = $info->is_source;
$file = $info->object_file;
$file = $info->source_file;
$bool = $info->has_flag( 'NotX' );
=cut
use strict;
sub new {
my $ref = shift;
my $class = ref( $ref ) || $ref;
my $self = bless {}, $class;
my( $filename, $filetype, $fileflags ) = @_;
$fileflags =~ tr/ \t//d;
@{$self}{'filename', 'filetype'} = ( $filename, $filetype );
$self->{fileflags} = [ split /,/, $fileflags ];
return $self;
}
sub filename { $_[0]->{filename} }
sub filetype { $_[0]->{filetype} }
sub fileflags { $_[0]->{fileflags} }
sub is_header { scalar( $_[0]->{filename} =~ m/\.h$/i ) }
sub is_source { !scalar( $_[0]->{filename} =~ m/\.h$/i ) }
sub object_file {
my $self = shift;
my $obj = $self->{filename};
$obj =~ s/cp?p?$/o/i; # PORTABILITY
return $obj;
}
my %src_prefix = ( Common => 'common/',
Generic => 'generic/',
MSW => 'msw/',
Mac => 'mac/',
Motif => 'motif/',
GTK => 'gtk/',
Univ => 'univ/',
X11 => 'x11/',
HTML => 'html/',
Unix => 'unix/',
WXH => '',
ProtoH => 'protocol/',
HtmlH => 'html/',
MotifH => 'motif/',
X11H => 'x11/',
GenericH => 'generic/',
UnixH => 'unix/',
);
sub source_file {
my $self = shift;
my $type = $self->filetype;
die "Unknown file type '$type'" unless exists $src_prefix{$type};
return $src_prefix{$type} . $self->filename; # PORTABILITY
}
sub has_flag {
my( $self, $flag ) = @_;
$flag = lc( $flag );
return grep { lc( $_ ) eq $flag } @{$self->{fileflags}};
}
1;

View File

@@ -1,148 +0,0 @@
package wxFileList;
=head1 NAME
wxFileList
=head1 SYNOPSIS
use wxFileList qw(grep_filetype grep_fileflag grep_not_fileflag
grep_source grep_header sort_files make_arrays);
# shorthand for
# @wxGeneric = sort_files grep_filetype 'Generic', @wxALL;
# @wxGenericInclude = sort_files grep_filetype 'GenericH', @wxALL;
make_arrays( 'wxGeneric', 'wxGenericInclude' );
=head1 METHODS
=cut
use strict;
# alias wxALL from main
use vars qw(@wxALL);
*wxALL = \@main::wxALL;
use base 'Exporter';
use vars qw(@EXPORT_OK %EXPORT_TAGS);
@EXPORT_OK = qw(grep_filetype grep_fileflag grep_not_fileflag
grep_source grep_header sort_files make_arrays);
%EXPORT_TAGS = ( 'default' => [ qw(grep_filetype grep_fileflag grep_source
grep_not_fileflag grep_header
sort_files) ],
);
my %type_2_array = (
Common => "wxCommon",
Generic => "wxGeneric",
GenericH => "wxGenericInclude",
HTML => "wxHtml",
HtmlH => "wxHtmlInclude",
Motif => "wxMotif",
MotifH => "wxMotifInclude",
ProtoH => "wxProtocolInclude",
Unix => "wxUnix",
UnixH => "wxUnixInclude",
WXH => "wxWxInclude",
);
# inverse mapping
my %array_2_type = map { ( $type_2_array{$_}, $_ ) } keys %type_2_array;
sub _sort {
sort { $a->filename cmp $b->filename } @_;
}
=head2 grep_filetype
my @files = grep_filetype 'Type', @all_files;
Returns files in C<@all_files> whose file type matches C<'Type'>.
=cut
sub grep_filetype {
my $filetype = lc( shift );
return _sort grep { $filetype eq lc( $_->filetype ) } @_;
}
=head2 grep_fileflag
=head2 grep_not_fileflag
my @files = grep_fileflag 'NotX', @all_files;
my @files2 = grep_not_fileflag 'NotX', @all_files;
Return files in C<@all_files> [not] having the given file flag.
=cut
sub grep_fileflag {
my $fileflag = shift;
return _sort grep { $_->has_flag( $fileflag ) } @_;
}
sub grep_not_fileflag {
my $fileflag = shift;
return _sort grep { !( $_->has_flag( $fileflag ) ) } @_;
}
=head2 grep_header
=head2 grep_source
my @headers = grep_header @all_files;
my @sources = grep_source @all_files;
Return header/source files contained in C<@all_files>.
=cut
sub grep_header {
return _sort grep { $_->is_header } @_;
}
sub grep_source {
return _sort grep { $_->is_source } @_;
}
=head2 sort_files
my @sorted_files = sort_files @files;
Sorts files by file name.
=cut
sub sort_files {
return sort { $a->{filename} cmp $b->{filename} } @_;
}
=head2 make_arrays
See SYNOPSIS.
=cut
sub make_arrays {
my( $package ) = caller;
foreach my $array ( @_ ) {
my $type = $array_2_type{$array};
unless( $type ) {
require Carp;
croak( "Invalid array name '$array'" );
}
no strict 'refs';
@{"${package}::${array}"} = sort_files grep_filetype $type, @wxALL;
}
}
1;

View File

@@ -1,65 +0,0 @@
package wxVersion;
=head1 NAME
wxVersion
=head1 SYNOPSIS
use wxVersion qw(GetVersion);
=head1 METHODS
=cut
use strict;
use base 'Exporter';
use vars qw(@EXPORT_OK);
@EXPORT_OK = qw(GetVersion);
sub GetVersion()
{
my $filename = $ENV{"WXWIN"} . "/include/wx/version.h";
open(VERSION_H, $filename) or die "Can't open $filename: $!\n";
my %versions;
my $numGot = 0;
while ( defined($_ = <VERSION_H>) ) {
chomp;
if ( /\s*#define\s+wxMAJOR_VERSION\s+(\d+)/ ) {
$versions{'MAJOR'} = $1;
$numGot++;
}
elsif ( /\s*#define\s+wxMINOR_VERSION\s+(\d+)/ ) {
$versions{'MINOR'} = $1;
$numGot++;
}
elsif ( /\s*#define\s+wxRELEASE_NUMBER\s+(\d+)/ ) {
$versions{'MICRO'} = $1;
$numGot++;
}
last if $numGot == 3 # we've got everything we wanted
}
$numGot == 3 or die "Failed to read the version from $filename.\n";
# release number if used in the DLL file names only for the unstable branch
# as for the stable branches the micro releases are supposed to be
# backwards compatible and so should have the same name or otherwise it
# would be impossible to use them without recompiling the applications
# (which is the whole goal of keeping them backwards compatible in the
# first place)
#
# and the final piece of the puzzle: stable branches are those with even
# minor version number (and unstable -- with odd)
$versions{'MICRO_IF_UNSTABLE'} = $versions{'MINOR'} % 2 ? $versions{'MICRO'}
: "";
return %versions;
}

View File

@@ -1,114 +0,0 @@
#!################################################################################
#! File: mac.t
#! Purpose: tmake template file from which src/mac/files.lst containing the
#! list of files for wxMac library is generated by tmake
#! Author: Gilles Depeyrot
#! Created: 04.10.01
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMAC, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
#! MoreFiles sources
$project{"GUIOBJS"} .= "MoreFilesX.o ";
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bNotMac\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MAC_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotMac\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MAC_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxMAC) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MAC_SOURCES"} .= "mac/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxUNIX) {
next if $wxUNIX{$file} =~ /\bNotMac\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MAC_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MAC_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} =~ /\bX\b/;
$project{"MAC_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMACINCLUDE) {
$project{"MAC_HEADERS"} .= "mac/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"MAC_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"MAC_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"MAC_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"MAC_HEADERS"} .= "protocol/" . $file . " "
}
foreach $file (sort keys %wxMACRESOURCE) {
$project{"MACRESOURCES"} .= $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MAC.T!
ALL_SOURCES = \
#$ ExpandList("MAC_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MAC_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");
MACRESOURCES = \
#$ ExpandList("MACRESOURCES");

View File

@@ -1,69 +0,0 @@
@echo off
rem File: makeall.bat
rem Purpose: create wxWindows makefiles for all compilers
rem Author: Vadim Zeitlin
rem Created: 14.07.99
rem Copyright: (c) 1999 Vadim Zeitlin
rem Licence: wxWindows Licence
rem Version: $Id$
rem
rem Makefile to create the makefiles for all compilers from the templates using
rem tmake. The environment variable WX or WXWIN should be defined and contain
rem the root directory of wxWindows installation. TMAKE program should be in
rem path or, alternatively, TMAKE environment variable should be set.
if "x%WX%" == "x" goto skip
set WXDIR=%WX%
goto ok
:skip
if "x%WXWIN%" == "x" goto no_wx
set WXDIR=%WXWIN%
goto ok
:no_wx
echo "Please set WX environment variable!"
goto end
:ok
rem Let's assume that you have tmake in your PATH but let override it with
rem TMAKE env var
set TM=call tmake
if "x%TMAKE%" == "x" goto skip2
set TM=%TMAKE%
:skip2
rem this loop just doesn't want to work under command.com and cmd.exe and
rem 4nt.exe, so I preferred to unroll it.
rem for %%c in (b32 bcc dos g95 sc vc wat) %TM% -t %c% wxwin.pro -o %WXDIR%\src\msw\makefile.%c%
echo Generating for Visual C++ 6.0 wxBase C++ (32 bits)...
%TM% -t basevc wxwin.pro -o %WXDIR%\src\msw\makebase.vc
echo Generating for Visual C++ 6.0 wxWindows.dsp
%TM% -t vc6msw wxwin.pro -o %WXDIR%\src\wxWindows.dsp
echo Generating for Visual C++ 6.0 wxUniv.dsp
%TM% -t vc6univ wxwin.pro -o %WXDIR%\src\wxUniv.dsp
echo Generating for Visual C++ 6.0 wxBase.dsp
%TM% -t vc6base wxwin.pro -o %WXDIR%\src\wxBase.dsp
echo Generating for Visual C++ 4.0...
%TM% -t vc wxwin.pro -o %WXDIR%\src\msw\makefile.vc
echo Generating for Borland C++ (32 bits)...
%TM% -t b32 wxwin.pro -o %WXDIR%\src\msw\makefile.b32
%TM% -t b32base wxwin.pro -o %WXDIR%\src\msw\makebase.b32
echo Generating for Borland C++ (16 bits)...
%TM% -t bcc wxwin.pro -o %WXDIR%\src\msw\makefile.bcc
echo Generating for Cygwin/Mingw32
%TM% -t g95 wxwin.pro -o %WXDIR%\src\msw\makefile.g95
echo Generating for Watcom C++...
%TM% -t wat wxwin.pro -o %WXDIR%\src\msw\makefile.wat
echo Generating for Unix and Configure...
%TM% -t gtk wxwin.pro -o %WXDIR%\src\gtk\files.lst
%TM% -t mgl wxwin.pro -o %WXDIR%\src\mgl\files.lst
%TM% -t micro wxwin.pro -o %WXDIR%\src\microwin\files.lst
%TM% -t univ wxwin.pro -o %WXDIR%\src\univ\files.lst
%TM% -t msw wxwin.pro -o %WXDIR%\src\msw\files.lst
%TM% -t mac wxwin.pro -o %WXDIR%\src\mac\files.lst
%TM% -t motif wxwin.pro -o %WXDIR%\src\motif\files.lst
%TM% -t x11 wxwin.pro -o %WXDIR%\src\x11\files.lst
%TM% -t os2 wxwin.pro -o %WXDIR%\src\os2\files.lst
:end

View File

@@ -1,106 +0,0 @@
#!/bin/sh
#
# File: makeall.sh
# Purpose: create wxWindows makefiles for all compilers
# Author: Michael Bedward
# Created: 29 Aug 1999
# Copyright: (c) 1999 Michael Bedward
# Licence: wxWindows Licence
# Version: $Id$
#
# This creates the makefiles for all compilers from the templates using
# tmake. The tmake executable should be in the path.
# Assume we are in distrib/msw/tmake
#
topdir="../../.."
srcdir="$topdir/src"
mswdir="$srcdir/msw"
[ -z $TMAKE ] && TMAKE=./tmake
for tname in `ls *.t`
do
case $tname in
b32.t)
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
$TMAKE -t b32 wxwin.pro -o $mswdir/makefile.b32
$TMAKE -t b32base wxwin.pro -o $mswdir/makebase.b32 ;;
bcc.t)
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
$TMAKE -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
g95.t)
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
$TMAKE -t g95 wxwin.pro -o $mswdir/makefile.g95;;
vc.t)
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
$TMAKE -t vc wxwin.pro -o $mswdir/makefile.vc;;
vc6msw.t)
echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
$TMAKE -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
vc6base.t)
echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
$TMAKE -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
vc6univ.t)
echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
$TMAKE -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
wat.t)
echo "Generating $mswdir/makefile.wat for Watcom C++..."
$TMAKE -t wat wxwin.pro -o $mswdir/makefile.wat;;
base.t)
echo "Generating $topdir/src/files.lst for Configure..."
$TMAKE -t base wxwin.pro -o $topdir/src/files.lst ;;
gtk.t)
echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
$TMAKE -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
mgl.t)
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
$TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
micro.t)
echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
$TMAKE -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
msw.t)
echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
$TMAKE -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
mac.t)
echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
$TMAKE -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
motif.t)
echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
$TMAKE -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
univ.t)
echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
$TMAKE -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
unx.t)
echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
$TMAKE -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
mgl.t)
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
$TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
x11.t)
echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
$TMAKE -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
watmgl.t)
echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
$TMAKE -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
esac
done

View File

@@ -1,112 +0,0 @@
#!################################################################################
#! File: mgl.t
#! Purpose: tmake template file from which src/mgl/files.lst containing the
#! list of files for wxMGL library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 28.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bNotMGL\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotMGL\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxMGL) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "mgl/" . $file . " ";
#! $project{"GUIOBJS"} .= $fileobj . " ";
if ( $wxMGL{$file} =~ /\bL\b/ ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
foreach $file (sort keys %wxUNIX) {
next if $wxUNIX{$file} =~ /\bNotMGL\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MGL_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
$project{"MGL_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMGLINCLUDE) {
$project{"MGL_HEADERS"} .= "mgl/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"MGL_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"MGL_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"MGL_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"MGL_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MGL.T!
ALL_SOURCES = \
#$ ExpandList("MGL_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MGL_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
#!GUIOBJS = \
#! #$ ExpandList("GUIOBJS");
#!
GUI_LOWLEVEL_OBJS = \
#$ ExpandList("GUI_LOWLEVEL_OBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");

View File

@@ -1,113 +0,0 @@
#!################################################################################
#! File: micro.t
#! Purpose: tmake template file from which src/micro/files.lst containing the
#! list of files for wxMicroWindows library is generated by tmake
#! Author: Robert Roebling
#! Created: 28.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
$project{"COMMONOBJS"} .= "parser.o ";
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bNotMicro\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MICRO_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bNotMicro\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MICRO_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxMICRO) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MICRO_SOURCES"} .= "msw/" . $file . " ";
#! $project{"GUIOBJS"} .= $fileobj . " ";
if ( $wxMICRO{$file} =~ /\bL\b/ ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
foreach $file (sort keys %wxUNIX) {
next if $wxUNIX{$file} =~ /\bNotMicro\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MICRO_SOURCES"} .= "unix/" . $file . " ";
$project{"UNIXOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MICRO_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
$project{"MICRO_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
$project{"MICRO_HEADERS"} .= "msw/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"MICRO_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"MICRO_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"MICRO_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"MICRO_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MICRO.T!
ALL_SOURCES = \
#$ ExpandList("MICRO_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MICRO_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
#!GUIOBJS = \
#! #$ ExpandList("GUIOBJS");
#!
GUI_LOWLEVEL_OBJS = \
#$ ExpandList("GUI_LOWLEVEL_OBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");

View File

@@ -1,86 +0,0 @@
#!#############################################################################
#! File: motif.t
#! Purpose: tmake template file from which src/motif/files.lst containing the
#! list of files for wxMotif library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 28.01.00
#! Version: $Id$
#!#############################################################################
#${
use lib './lib';
use wxFileList qw(:default make_arrays);
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMOTIF, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
make_arrays( 'wxGeneric', 'wxCommon', 'wxMotif',
'wxUnix', 'wxHtml',
'wxWxInclude', 'wxMotifInclude', 'wxGenericInclude',
'wxUnixInclude', 'wxHtmlInclude', 'wxProtocolInclude' );
#! find all our sources
$project{"GUIOBJS"} .= "xmcombo.o ";
my @generic = grep_not_fileflag 'NotX', @wxGeneric;
my @common = grep_not_fileflag 'NotX', @wxCommon;
my @motif = ( @wxMotif,
grep_source( grep_fileflag 'Motif', @wxALL ) );
foreach my $file ( @generic ) {
$project{"GENERICOBJS"} .= $file->object_file . " ";
}
foreach my $file ( @common ) {
$project{"COMMONOBJS"} .= $file->object_file . " ";
}
foreach my $file ( @motif ) {
$project{"GUIOBJS"} .= $file->object_file . " ";
}
foreach my $file ( @wxUnix ) {
$project{"UNIXOBJS"} .= $file->object_file . " ";
}
foreach my $file ( @wxHtml ) {
$project{"HTMLOBJS"} .= $file->object_file . " ";
}
foreach my $file ( @generic, @common, @motif,
@wxUnix, @wxHtml ) {
$project{"MOTIF_SOURCES"} .= $file->source_file . " ";
}
#! find all our headers
foreach my $file ( grep_not_fileflag( 'NotX', @wxWxInclude ),
@wxMotifInclude, @wxGenericInclude, @wxUnixInclude,
@wxHtmlInclude, @wxProtocolInclude,
grep_header( grep_fileflag( 'Motif', @wxALL ) ) ) {
$project{MOTIF_HEADERS} .= $file->source_file . " ";
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MOTIF.T!
ALL_SOURCES = \
#$ ExpandList("MOTIF_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MOTIF_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");

View File

@@ -1,112 +0,0 @@
#!################################################################################
#! File: msw.t
#! Purpose: tmake template file from which src/msw/files.lst containing the
#! list of files for wxMSW library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 28.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxMSW, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\b(PS|G|U|16)\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MSW_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(R|U|16)\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MSW_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} =~ /\b16\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
if( $wxMSW{$file} =~ /\bO\b/ ) {
$project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
$project{"OLEOBJS"} .= $fileobj . " ";
} else {
$project{"MSW_SOURCES"} .= "msw/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
if ( $wxMSW{$file} =~ /\bL\b/ ) {
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
}
}
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"MSW_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
$project{"MSW_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
$project{"MSW_HEADERS"} .= "msw/" . $file . " "
}
foreach $file (sort keys %wxOLEINCLUDE) {
$project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"MSW_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"MSW_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"MSW_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"MSW_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE MSW.T!
ALL_SOURCES = \
#$ ExpandList("MSW_SOURCES");
ALL_HEADERS = \
#$ ExpandList("MSW_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
GUI_LOWLEVEL_OBJS = \
#$ ExpandList("GUI_LOWLEVEL_OBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");
OLEOBJS = \
#$ ExpandList("OLEOBJS");

View File

@@ -1,95 +0,0 @@
#!################################################################################
#! File: os2.t
#! Purpose: tmake template file from which src/os2/files.lst containing the
#! list of files for wxPM library is generated by tmake
#! Author: Vadim Zeitlin
#! modified by Stefan Neis for OS/2
#! Created: 28.01.00
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
$project{"COMMONOBJS"} .= "parser.o ";
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bP\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"OS2PM_SOURCES"} .= "generic/" . $file . " ";
$project{"GENERICOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bP\b/;
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"OS2PM_SOURCES"} .= "common/" . $file . " ";
$project{"COMMONOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxOS2PM) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"OS2PM_SOURCES"} .= "os2/" . $file . " ";
$project{"GUIOBJS"} .= $fileobj . " ";
}
foreach $file (sort keys %wxHTML) {
($fileobj = $file) =~ s/cp?p?$/\o/;
$project{"OS2PM_SOURCES"} .= "html/" . $file . " ";
$project{"HTMLOBJS"} .= $fileobj . " ";
}
#! find all our headers
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} =~ /\bP\b/;
$project{"OS2PM_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxOS2PMINCLUDE) {
$project{"OS2PM_HEADERS"} .= "os2/" . $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"OS2PM_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"OS2PM_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"OS2PM_HEADERS"} .= "protocol/" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T!
ALL_SOURCES = \
#$ ExpandList("OS2PM_SOURCES");
ALL_HEADERS = \
#$ ExpandList("OS2PM_HEADERS");
COMMONOBJS = \
#$ ExpandList("COMMONOBJS");
GENERICOBJS = \
#$ ExpandList("GENERICOBJS");
GUIOBJS = \
#$ ExpandList("GUIOBJS");
UNIXOBJS = \
#$ ExpandList("UNIXOBJS");
HTMLOBJS = \
#$ ExpandList("HTMLOBJS");

View File

@@ -1,167 +0,0 @@
#!#############################################################################
#! File: sc.t
#! Purpose: tmake template file from which makefile.sc is generated by running
#! tmake -t sc wxwin.pro -o makefile.sc
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
my $tag = "";
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
$tag = "WXNONESSENTIALOBJS";
}
else {
$tag = "WXGENERICOBJS";
}
$file =~ s/cp?p?$/obj/;
$project{$tag} .= '$(GENDIR)\\' . $file . " "
}
foreach $file (sort keys %wxHTML) {
next if $wxHTML{$file} =~ /\b16\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXHTMLOBJS"} .= '$(HTMLDIR)\\' . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= '$(COMMDIR)\\' . $file . " "
}
foreach $file (sort keys %wxMSW) {
#! these files don't compile with SC++ 6
#! next if $file =~ /^(joystick|pnghand)\./;
next if $wxMSW{$file} =~ /\b16\b/;
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXMSWOBJS"} .= '$(MSWDIR)\\';
$project{"WXMSWOBJS"} .= 'ole\\' if $isOleObj;
$project{"WXMSWOBJS"} .= $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE SC.T!
# Digital mars makefile
# was Symantec C++ makefile for the msw objects
#
# called from src\makefile.sc
# configuration section (see src\makefile.sc) ###########################
WXDIR = ..\..
include ..\makesc.env
DEBUG=0
LIBTARGET = $(LIBDIR)\wx$(SC_SUFFIX).lib
OPTIONS=
# end of configuration section ##########################################
GENDIR=$(WXDIR)\src\generic
COMMDIR=$(WXDIR)\src\common
HTMLDIR=$(WXDIR)\src\html
OLEDIR=ole
MSWDIR=$(WXDIR)\src\msw
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
COMMONOBJS = #$ ExpandList("WXCOMMONOBJS");
HTMLOBJS = #$ ExpandList ("WXHTMLOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
all: MAKEARCHDIR MAKELIBS PCH $(LIBTARGET) zlib png jpeg tiff regex
MAKEARCHDIR:
@if not exist $(MSWINCDIR)\setup.h copy $(MSWINCDIR)\setup0.h $(MSWINCDIR)\setup.h
@if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)
@if not exist $(ARCHINCDIR)\wx\setup.h mkdir $(ARCHINCDIR)\wx
@if not exist $(ARCHINCDIR)\wx\setup.h copy $(MSWINCDIR)\setup.h $(ARCHINCDIR)\wx\setup.h
@if not exist $(WXOUTDIR)\nul mkdir $(WXOUTDIR)
#build our own copies of missing libraries
MAKELIBS:
implib /s $(LIBDIR)\$(SHELLLIB) $(LIBDIR)\$(SC_SUFFIX)\$(SHELLLIB).def
implib /s $(LIBDIR)\$(WINSOCKLIB) $(LIBDIR)\$(SC_SUFFIX)\$(WINSOCKLIB).def
$(LIBTARGET): $(OBJECTS)
-del $(LIBTARGET)
*lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul;
clean: clean_msw clean_zlib clean_png clean_jpeg clean_tiff clean_regex clean_pch
clean_msw:
-del $(COMMDIR)\*.obj
-del $(MSWDIR)\*.obj
-del $(GENDIR)\*.obj
-del $(HTMLDIR)\*.obj
-del *.obj
-del *.sym
-del ole\*.obj
-del $(LIBTARGET)
PCH: $(INCDIR)\wx\wxprec.h
dmc $(CPPFLAGS) $(CFLAGS) $(INCLUDE) -HF$(WXOUTDIR)\wxprec.SYM -o$(WXOUTDIR)\wxprec.PCO $(INCDIR)\wx\wxprec.h
clean_pch:
del $(WXOUTDIR)\*.sym
del $(WXOUTDIR)\*.PCO
png:
make -f $(WXDIR)\src\png\makefile.sc FINAL=$(FINAL)
clean_png:
make -f $(WXDIR)\src\png\makefile.sc clean
zlib:
make -f $(WXDIR)\src\zlib\makefile.sc FINAL=$(FINAL)
clean_zlib:
make -f $(WXDIR)\src\zlib\makefile.sc clean
jpeg:
make -f $(WXDIR)\src\jpeg\makefile.sc FINAL=$(FINAL)
clean_jpeg:
make -f $(WXDIR)\src\jpeg\makefile.sc clean
regex:
make -f $(WXDIR)\src\regex\makefile.sc FINAL=$(FINAL)
clean_regex:
make -f $(WXDIR)\src\regex\makefile.sc clean
tiff:
make -f $(WXDIR)\src\tiff\makefile.sc FINAL=$(FINAL)
clean_tiff:
make -f $(WXDIR)\src\tiff\makefile.sc clean
MFTYPE=sc
self : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
perl -x$(WXWIN)\distrib\msw\tmake -S tmake -t$(MFTYPE) wxwin.pro -o $(WXWIN)\distrib\msw\tmake\makefile.sc
copy $(WXWIN)\distrib\msw\tmake\makefile.$(MFTYPE) $(WXWIN)\src\msw

View File

@@ -1,57 +0,0 @@
#
# $Id$
#
# tmake configuration for linux-g++
#
TEMPLATE = app
CONFIG = qt warn_on release
TMAKE_CC = gcc
TMAKE_CFLAGS =
TMAKE_CFLAGS_WARN_ON = -Wall -W
TMAKE_CFLAGS_WARN_OFF =
TMAKE_CFLAGS_RELEASE = -O2 -fno-strength-reduce
TMAKE_CFLAGS_DEBUG = -g
TMAKE_CFLAGS_SHLIB = -fPIC
TMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
TMAKE_CXX = g++
TMAKE_CXXFLAGS = $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON = $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF = $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE = $$TMAKE_CFLAGS_RELEASE
TMAKE_CXXFLAGS_DEBUG = $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_SHLIB = $$TMAKE_CFLAGS_SHLIB
TMAKE_CXXFLAGS_YACC = $$TMAKE_CFLAGS_YACC
TMAKE_INCDIR =
TMAKE_LIBDIR =
TMAKE_INCDIR_X11 = /usr/X11R6/include
TMAKE_LIBDIR_X11 = /usr/X11R6/lib
TMAKE_INCDIR_QT = $(QTDIR)/include
TMAKE_LIBDIR_QT = $(QTDIR)/lib
TMAKE_INCDIR_OPENGL = /usr/X11R6/include
TMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
TMAKE_LINK = g++
TMAKE_LINK_SHLIB = g++
TMAKE_LFLAGS = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib
TMAKE_LFLAGS_RELEASE =
TMAKE_LFLAGS_DEBUG =
TMAKE_LFLAGS_SHLIB = -shared
TMAKE_LFLAGS_SONAME = -Wl,-soname,
TMAKE_LIBS =
TMAKE_LIBS_X11 = -lX11 -lXext
TMAKE_LIBS_QT = -lqt
TMAKE_LIBS_QT_OPENGL = -lqgl
TMAKE_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
TMAKE_MOC = moc
TMAKE_AR = ar cqs
TMAKE_RANLIB =
TMAKE_TAR = tar -cf
TMAKE_GZIP = gzip -9f

View File

@@ -1,42 +0,0 @@
#!################################################################################
#! File: univ.t
#! Purpose: tmake template file from which src/univ/files.lst containing the
#! list of files for wxUniversal library is generated by tmake
#! Author: Vadim Zeitlin
#! Created: 26.06.01
#! Version: $Id$
#!################################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
#! %wxOS2PM hashes.
IncludeTemplate("filelist.t");
#! find all our sources
foreach $file (sort keys %wxUNIV) {
($fileobj = $file) =~ s/cp?p?$/\o/;
if ( $wxUNIV{$file} =~ /Theme/ ) {
$file = "themes/" . $file
}
$project{"UNIV_SOURCES"} .= "univ/" . $file . " ";
$project{"UNIVOBJS"} .= $fileobj . " ";
}
#! and headers
foreach $hdr (sort keys %wxUNIVINCLUDE) {
$project{"UNIV_HEADERS"} .= "univ/" . $hdr . " ";
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNIV.T!
UNIV_SOURCES = \
#$ ExpandList("UNIV_SOURCES");
UNIV_HEADERS = \
#$ ExpandList("UNIV_HEADERS");
UNIVOBJS = \
#$ ExpandList("UNIVOBJS");

View File

@@ -1,144 +0,0 @@
#!#############################################################################
#! File: v15.t
#! Purpose: tmake template file for wxWindows makefile for VC++ 1.52, generate
#! the makefile by executing the following command:
#! tmake -t v15 wxwin.pro -o Makefile
#! Author: Vadim Zeitlin
#! Created: 16.12.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! because we later search for " <filename> " in this string, it should
#! start with space
$project{"WXCOBJS"} = " ";
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
if ( $wxGeneric{$file} =~ /\b(PS|G|U)\b/ ) {
#! this file for some reason wasn't compiled for VC++ 1.52
next unless $file =~ /^prntdlgg\./;
}
$file =~ s/cp?p?$/obj/;
$project{"WXGENERICOBJS"} .= $file . " "
}
foreach $file (sort keys %wxCommon) {
#! socket files don't compile under Win16 currently
next if $wxCommon{$file} =~ /\b(32|S|U)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = $file . " ";
#! have to split lib in 2 halves because otherwise it's too big
$project{$file =~ "^[a-o]" ? "WXCOMMONOBJS1" : "WXCOMMONOBJS2"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
foreach $file (sort keys %wxMSW) {
#! don't take files not appropriate for 16-bit Windows
next if $wxMSW{$file} =~ /\b(32|O)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$obj = $file . " ";
#! have to split lib in 2 halves because otherwise it's too big
$project{$file =~ "^[a-o]" ? "WXMSWOBJS1" : "WXMSWOBJS2"} .= $obj;
$project{"WXCOBJS"} .= $obj if $isCFile;
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE DOS.T!
# this is needed because my usual 4NT doesn't work well when invoked from
# makefile
COMSPEC=$(SYSTEMROOT)\system32\cmd.exe
DEBUG=1
WXDIR=..
TMAKE_DIR=$(WXDIR)\distrib\msw\tmake
TMAKE=E:\Perl\5.00471\bin\MSWin32-x86\perl.exe g:\Unix\tmake\bin\tmake
.SUFFIXES :
# set up the compiler options
INCLUDE=/I. /I$(WXDIR)\include /I$(INCLUDE)
DEFINES=-D__WXMSW__ -D__WINDOWS__
# compile in large memory model
CFLAGS=$(CFLAGS) /nologo /W4 /AL
!ifdef DEBUG
CFLAGS=$(CFLAGS) /Zi /Z7
DEFINES=$(DEFINES) /D__WXDEBUG__
!endif
CFLAGS=$(CFLAGS) $(INCLUDE) $(DEFINES)
CPPFLAGS=$(CFLAGS)
PCH_CREATE=/Ycwx/wxprec.h /Fpwx.pch
PCH_USE=/Yuwx/wxprec.h /Fpwx.pch
# the targets
WXLIB=wx.lib
# we can't have all objects in one list because the library becomes too big
COMMONOBJS1= #$ ExpandList("WXCOMMONOBJS1");
COMMONOBJS2= #$ ExpandList("WXCOMMONOBJS2");
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
MSWOBJS1= #$ ExpandList("WXMSWOBJS1");
MSWOBJS2= #$ ExpandList("WXMSWOBJS2");
OBJECTS=$(COMMONOBJS1) $(COMMONOBJS2) $(GENERICOBJS) $(MSWOBJS1) $(MSWOBJS2)
# the rules
all: Makefile $(WXLIB)
$(WXLIB) : pch $(OBJECTS)
clean:
-del *.obj *.pch
pch: wx/msw/setup.h dummy.obj
dummy.obj: $(WXDIR)/src/msw/dummy.cpp
$(CPP) $(CPPFLAGS) $(PCH_CREATE) /c /Tp $?
#${
sub generate_rules_for_dir
{
my $dir = $_[0];
$_ = $_[1];
my @objs = split;
foreach (@objs) {
my $isC = $project{"WXCOBJS"} =~ / \Q$_\E /;
my $name = $_;
$name =~ s/.obj$//;
my $suffix = $isC ? "c" : "cpp";
my $cc = $isC ? '$(CC)' : '$(CPP)';
my $flags = $isC ? '$(CFLAGS)' : '$(CPPFLAGS) $(PCH_USE)';
$text .= "$name.obj: \$(WXDIR)/src/$dir/$name.$suffix\n" .
"\t $cc $flags /c /Tp \$?\n"
}
}
&generate_rules_for_dir("msw", $project{"WXMSWOBJS1"} . $project{"WXMSWOBJS2"});
$text .= "\n";
&generate_rules_for_dir("common", $project{"WXCOMMONOBJS1"} . $project{"WXCOMMONOBJS2"});
$text .= "\n";
&generate_rules_for_dir("generic", $project{"WXGENERICOBJS"});
#$}
Makefile: $(TMAKE_DIR)\makefile.v15
copy $? Makefile
$(TMAKE_DIR)\makefile.v15: $(TMAKE_DIR)\filelist.txt $(TMAKE_DIR)\v15.t
cd $(TMAKE_DIR)
$(TMAKE) -t v15 wxwin.pro -o makefile.v15

View File

@@ -1,686 +0,0 @@
#!#############################################################################
#! File: vc.t
#! Purpose: tmake template file from which makefile.vc is generated by running
#! tmake -t vc wxwin.pro -o makefile.vc
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\bU\b/;
my $tag = "";
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
$tag = "WXNONESSENTIALOBJS";
}
else {
$tag = "WXGENERICOBJS";
}
$file =~ s/cp?p?$/obj/;
$project{$tag} .= "\$(GENDIR)\\\$D\\" . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= "\$(COMMDIR)\\\$D\\" . $file . " "
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} =~ /\b16\b/;
#! OLE files live in a subdir
if( $wxMSW{$file} =~ /\bO\b/ ) {
$project{"WXMSWOBJS"} .= '$(OLEDIR)';
} else {
$project{"WXMSWOBJS"} .= '$(MSWDIR)';
}
$file =~ s/cp?p?$/obj/;
$project{"WXMSWOBJS"} .= '\\$D\\' . $file . " ";
}
foreach $file (sort keys %wxHTML) {
next if $wxHTML{$file} =~ /\b16\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXHTMLOBJS"} .= "\$(HTMLDIR)\\\$D\\" . $file . " "
}
#$}
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
# File: makefile.vc
# Author: Julian Smart
# Created: 1997
# Updated:
# Copyright: (c) 1997, Julian Smart
#
# "%W% %G%"
#
# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
# Arguments:
#
# FINAL=1 argument to nmake to build version with no debugging info.
# dll builds a library (wxdll.lib) suitable for creating DLLs
#
!include <..\makevc.env>
THISDIR=$(WXWIN)\src\msw
!if "$(WXMAKINGDLL)" == "1"
LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
!else
LIBTARGET=$(WXLIB)
!endif
# This one overrides the others, to be consistent with the settings in setup.h
MINIMAL_WXWINDOWS_SETUP=0
PERIPH_LIBS=
PERIPH_TARGET=
PERIPH_CLEAN_TARGET=
# Set to 0 if not using GLCanvas (only affects DLL build)
USE_GLCANVAS=1
# Set to 1 if you are using MSVC 5
USE_MSVC_5=0
# These are absolute paths, so that the compiler
# generates correct __FILE__ symbols for debugging.
# Otherwise you don't be able to double-click on a memory
# error to load that file.
GENDIR=$(WXDIR)\src\generic
COMMDIR=$(WXDIR)\src\common
OLEDIR=ole
MSWDIR=$(WXDIR)\src\msw
DOCDIR = $(WXDIR)\docs
HTMLDIR = $(WXDIR)\src\html
JPEGDIR = $(WXDIR)\src\jpeg
TIFFDIR = $(WXDIR)\src\tiff
REGEXDIR = $(WXDIR)\src\regex
{$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
cl @<<
$(CPPFLAGS2) /Fo$@ /c /Tc $<
<<
{$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
cl @<<
$(CPPFLAGS2) /Fo$@ /c /Tc $<
<<
{$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
{$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
cl @<<
$(CPPFLAGS) /Fo$@ /c /Tp $<
<<
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
# These are generic things that don't need to be compiled on MSW,
# but sometimes it's useful to do so for testing purposes.
NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
COMMONOBJS = \
#$ ExpandList("WXCOMMONOBJS");
MSWOBJS = #$ ExpandList("WXMSWOBJS");
HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
# Add $(HTMLOBJS) if wanting wxHTML classes
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
ARCHINCDIR=$(WXDIR)\lib\$(_WXINC_BUILD)$(_WXINC_DLLSUFFIX)$(_WXINC_SUFFIX)$(LIBEXT)
SETUP_H=$(ARCHINCDIR)\wx\setup.h
# Normal, static library
all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
$(ARCHINCDIR)\wx:
mkdir $(ARCHINCDIR)
mkdir $(ARCHINCDIR)\wx
$(WXDIR)\include\wx\msw\setup.h:
cd $(WXDIR)\include\wx\msw
if not exist setup.h copy setup0.h setup.h
cd $(WXDIR)\src\msw
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h
copy $(WXDIR)\include\wx\msw\setup.h $@
dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D $(REGEXDIR)\$D $(ARCHINCDIR)\wx $(WXDIR)\$D
$D:
mkdir $D
$(COMMDIR)\$D:
mkdir $(COMMDIR)\$D
$(MSWDIR)\$D:
mkdir $(MSWDIR)\$D
$(GENDIR)\$D:
mkdir $(GENDIR)\$D
$(OLEDIR)\$D:
mkdir $(OLEDIR)\$D
$(HTMLDIR)\$D:
mkdir $(HTMLDIR)\$D
$(JPEGDIR)\$D:
mkdir $(JPEGDIR)\$D
$(TIFFDIR)\$D:
mkdir $(TIFFDIR)\$D
$(REGEXDIR)\$D:
mkdir $(REGEXDIR)\$D
$(WXDIR)\$D:
mkdir $(WXDIR)\$D
# wxWindows library as DLL
dll:
nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
cleandll:
nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
# wxWindows + app as DLL. Only affects main.cpp.
dllapp:
nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
dllnp:
nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
# Use this to make dummy.obj and generate a PCH.
# You might use the dll target, then the pch target, in order to
# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
#
# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
# are associated with wx.lib. When using a DLL version of wxWindows, however,
# the DLL is compiled without a PCH, so you only need it for compiling the app.
# In fact headers are compiled differently depending on whether a DLL is being made
# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
# in each case) so you couldn't use the same PCH.
pch:
nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
pch1: dirs $(DUMMYOBJ)
echo $(DUMMYOBJ)
!if "$(WXMAKINGDLL)" != "1"
### Static library
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_LIBS)
-erase $(LIBTARGET)
$(implib) @<<
-out:$@
-machine:$(CPU)
$(OBJECTS) $(DUMMYOBJ) $(PERIPH_LIBS)
<<
!else
### Update the import library
$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
$(implib) @<<
-machine:$(CPU)
-def:wx.def
$(DUMMYOBJ) $(OBJECTS)
-out:$(WXDIR)\lib\$(WXLIBNAME).lib
<<
!if "$(USE_GLCANVAS)" == "1"
GL_LIBS=opengl32.lib glu32.lib
# GL_LIBS_DELAY=/delayload:opengl32.dll
!endif
!if "$(USE_MSVC_5)" == "1"
# we are too big
INCREMENTAL=/INCREMENTAL:NO
DELAY_LOAD=
!else
INCREMENTAL=
DELAY_LOAD=delayimp.lib \
/delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \
/delayload:gdi32.dll \
/delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \
/delayload:ole32.dll \
/delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
!endif
# Update the dynamic link library
$(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
$(link) @<<
$(LINKFLAGS) $(INCREMENTAL)
-out:$(WXDIR)\lib\$(WXLIBNAME).dll
$(DUMMYOBJ) $(OBJECTS) $(MSLU_LIBS) $(guilibsdll) shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(GL_LIBS) $(WXDIR)\lib\png$(LIBEXT).lib $(WXDIR)\lib\zlib$(LIBEXT).lib $(WXDIR)\lib\jpeg$(LIBEXT).lib $(WXDIR)\lib\tiff$(LIBEXT).lib $(WXDIR)\lib\regex$(LIBEXT).lib $(DELAY_LOAD)
<<
!endif
# /delayload:winmm.dll # Removed because it can cause a crash for some people
########################################################
# Windows-specific objects
$(DUMMYOBJ): $(DUMMY).$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp
# Compile certain files with no optimization (some files cause a
# compiler crash for buggy versions of VC++, e.g. 4.0).
# Don't forget to put FINAL=1 on the command line.
noopt:
cl @<<
$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
<<
cl @<<
$(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
<<
$(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
cl @<<
$(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
<<
$(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
$(OBJECTS): $(SETUP_H)
$(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
cl @<<
$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
<<
# Peripheral components
png:
cd $(WXDIR)\src\png
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0
cd $(WXDIR)\src\msw
clean_png:
cd $(WXDIR)\src\png
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0
cd $(WXDIR)\src\msw
clean_zlib:
cd $(WXDIR)\src\zlib
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
jpeg:
cd $(WXDIR)\src\jpeg
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
cd $(WXDIR)\src\msw
clean_jpeg:
cd $(WXDIR)\src\jpeg
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
tiff:
cd $(WXDIR)\src\tiff
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
cd $(WXDIR)\src\msw
clean_tiff:
cd $(WXDIR)\src\tiff
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
regex:
cd $(WXDIR)\src\regex
nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
cd $(WXDIR)\src\msw
clean_regex:
cd $(WXDIR)\src\regex
nmake -f makefile.vc clean
cd $(WXDIR)\src\msw
rcparser:
cd $(WXDIR)\utils\rcparser\src
nmake -f makefile.vc FINAL=$(FINAL)
cd $(WXDIR)\src\msw
cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
-erase ..\..\lib\$(WXLIBNAME).dll
-erase ..\..\lib\$(WXLIBNAME).lib
-erase ..\..\lib\$(WXLIBNAME).exp
-erase ..\..\lib\$(WXLIBNAME).pdb
-erase ..\..\lib\$(WXLIBNAME).ilk
clean: $(PERIPH_CLEAN_TARGET)
-erase $(LIBTARGET)
-erase $(WXDIR)\lib\$(WXLIBNAME).pdb
-erase *.pdb
-erase *.sbr
-erase $(WXLIBNAME).pch
-erase $(WXDIR)\$D\$(PCH)
-erase $(WXDIR)\$D\*.pdb
-erase $(WXDIR)\$D\*.obj
-erase $(GENDIR)\$D\*.obj
-erase $(GENDIR)\$D\*.pdb
-erase $(GENDIR)\$D\*.sbr
-erase $(COMMDIR)\$D\*.obj
-erase $(COMMDIR)\$D\*.pdb
-erase $(COMMDIR)\$D\*.sbr
-erase $(COMMDIR)\y_tab.c
-erase $(COMMDIR)\lex_yy.c
-erase $(MSWDIR)\$D\*.obj
-erase $(MSWDIR)\$D\*.sbr
-erase $(MSWDIR)\$D\*.pdb
-erase $(MSWDIR)\$D\*.pch
-erase $(OLEDIR)\$D\*.obj
-erase $(OLEDIR)\$D\*.sbr
-erase $(OLEDIR)\$D\*.pdb
-erase $(HTMLDIR)\$D\*.obj
-erase $(HTMLDIR)\$D\*.sbr
-erase $(HTMLDIR)\$D\*.pdb
-erase $(JPEGDIR)\$D\*.obj
-erase $(JPEGDIR)\$D\*.sbr
-erase $(JPEGDIR)\$D\*.idb
-erase $(JPEGDIR)\$D\*.pdb
-erase $(TIFFDIR)\$D\*.obj
-erase $(TIFFDIR)\$D\*.sbr
-erase $(TIFFDIR)\$D\*.pdb
-erase $(TIFFDIR)\$D\*.idb
-rmdir $(D)
-rmdir $(GENDIR)\$(D)
-rmdir $(COMMDIR)\$(D)
-rmdir $(MSWDIR)\$(D)
-rmdir $(OLEDIR)\$(D)
-rmdir $(HTMLDIR)\$(D)
-rmdir $(JPEGDIR)\$(D)
-rmdir $(TIFFDIR)\$(D)
-rmdir $(WXDIR)\$D
# Making documents
docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
alldocs: docs
hlp: wxhlp
wxhlp: $(DOCDIR)/winhelp/wx.hlp
rtf: $(DOCDIR)/winhelp/wx.rtf
pdfrtf: $(DOCDIR)/pdf/wx.rtf
html: wxhtml
htb: $(DOCDIR)\htb\wx.htb
wxhtml: $(DOCDIR)\html\wx\wx.htm
htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
ps: wxps
wxps: $(WXDIR)\docs\ps\wx.ps
allhlp: wxhlp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc hlp
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc hlp
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc hlp
# cd $(THISDIR)
allhtml: wxhtml
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc html
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc html
# cd $(WXDIR)\contrib\src\fl
# cd $(THISDIR)
allhtmlhelp: htmlhelp
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc htmlhelp
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc htmlhelp
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc htmlhelp
# cd $(THISDIR)
allhtb: htb
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc htb
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc htb
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc htb
# cd $(THISDIR)
allps: wxps referencps
cd $(WXDIR)\utils\dialoged\src
nmake -f makefile.vc ps
cd $(WXDIR)\utils\tex2rtf\src
nmake -f makefile.vc ps
cd $(WXDIR)\contrib\src\fl
nmake -f makefile.vc ps
cd $(THISDIR)
allpdfrtf: pdfrtf
# cd $(WXDIR)\utils\dialoged\src
# nmake -f makefile.vc pdfrtf
# cd $(WXDIR)\utils\tex2rtf\src
# nmake -f makefile.vc pdfrtf
# cd $(WXDIR)\contrib\src\fl
# nmake -f makefile.vc pdfrtf
# cd $(THISDIR)
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
cd $(DOCDIR)/latex/wx
-erase wx.ph
hc wx
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
move wx.hlp $(DOCDIR)\winhelp\wx.hlp
move wx.cnt $(DOCDIR)\winhelp\wx.cnt
cd $(THISDIR)
$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
cd $(THISDIR)
$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
cd $(DOCDIR)\latex\wx
-copy *.wmf $(DOCDIR)\pdf
-copy *.bmp $(DOCDIR)\pdf
-start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
cd $(THISDIR)
# This target does two sets of HTML: one using a style sheet, for
# the purposes of the CHM file, and one without.
$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
cd $(DOCDIR)\latex\wx
-mkdir $(DOCDIR)\html\wx
copy *.gif $(DOCDIR)\html\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
-mkdir $(DOCDIR)\mshtml
-mkdir $(DOCDIR)\mshtml\wx
copy *.gif $(DOCDIR)\mshtml\wx
-start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini
-erase $(DOCDIR)\html\wx\*.con
-erase $(DOCDIR)\html\wx\*.ref
-erase $(DOCDIR)\latex\wx\*.con
-erase $(DOCDIR)\latex\wx\*.ref
cd $(THISDIR)
$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.hhp
cd $(DOCDIR)\mshtml\wx
copy $(DOCDIR)\latex\wx\wx.css .
-hhc wx.hhp
-mkdir ..\..\htmlhelp
-erase $(DOCDIR)\htmlhelp\wx.chm
move wx.chm ..\..\htmlhelp
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
cd $(WXDIR)\docs\latex\wx
-latex manual
-latex manual
-makeindx manual
-bibtex manual
-latex manual
-latex manual
cd $(THISDIR)
$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o wx.ps manual
move wx.ps $(WXDIR)\docs\ps\wx.ps
cd $(THISDIR)
$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
cd $(WXDIR)\docs\latex\wx
-latex referenc
-latex referenc
-makeindx referenc
-bibtex referenc
-latex referenc
-latex referenc
cd $(THISDIR)
$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
cd $(WXDIR)\docs\latex\wx
-dvips32 -o referenc.ps referenc
move referenc.ps $(WXDIR)\docs\ps\referenc.ps
cd $(THISDIR)
# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
# files, renamed to htb.
# This can then be used with e.g. helpview.
# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
cd $(WXDIR)\docs\html\wx
-erase wx.zip wx.htb
zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
-mkdir $(DOCDIR)\htb
move wx.zip $(DOCDIR)\htb\wx.htb
cd $(THISDIR)
# In order to force document reprocessing
touchmanual:
-touch $(WXDIR)\docs\latex\wx\manual.tex
updatedocs: touchmanual alldocs
cleandocs:
-erase $(DOCDIR)\winhelp\wx.hlp
-erase $(DOCDIR)\winhelp\wx.cnt
-erase $(DOCDIR)\html\wx\*.htm
-erase $(DOCDIR)\pdf\wx.rtf
-erase $(DOCDIR)\latex\wx\wx.rtf
-erase $(DOCDIR)\latex\wx\WX.PH
-erase $(DOCDIR)\htmlhelp\wx.chm
-erase $(DOCDIR)\htb\wx.htb
# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
# Office StartUp folder, and PDFMaker should be installed.
updatepdf: # touchmanual pdfrtf
start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
MFTYPE=vc
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
cd $(WXWIN)\distrib\msw\tmake
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXWIN)\src\msw

View File

@@ -1,567 +0,0 @@
#!#############################################################################
#! File: vc6app.t
#! Purpose: tmake template file from which the VC++ 6.0 project file for
#! building wxWindows applications are generated by running
#! tmake -t vc6lib wxwin.pro -o wxvc.dsp
#! you may select the configurations to include into the generated
#! project file by setting WXCONFIGS tag, i.e.:
#! tmake ... 'WXCONFIGS += DebugUnicode ReleaseUnicode'
#! tmake ... 'WXCONFIGS = *'
#! (in the last example all configurations will be included)
#! Author: Vadim Zeitlin
#! Created: 29.09.01
#! Version: $Id$
#!#############################################################################
#${
#! what kind of app are we building - this is used as prefix for the build
#! output dir
$KIND="";
if ( Config("wxbase") || Config("wxuniv") ) {
Project('CONFIG += wx');
}
if ( Config("wx") && !Config("wxbase") ) {
Project('CONFIG += windows');
}
#! let's be smart: if no extension is given, add .lib (this allows for
#! LIBS=libname in project files which map either to -l libname.lib under
#! Windows or to -llibname under Unix).
@libs = split(/\s+/, Project('LIBS'));
foreach $lib (@libs) {
if ( $lib !~ "\.lib\$" ) { $lib .= ".lib"; }
Project('TMAKE_LIBS *= ' . $lib);
}
if ( Config("windows") ) {
$project{"VC_PROJ_TYPE"} = 'Win32 (x86) Application';
$project{"VC_PROJ_CODE"} = '0x0101';
$vc_base_libs = 'kernel32.lib user32.lib gdi32.lib winspool.lib ' .
'comdlg32.lib advapi32.lib shell32.lib ole32.lib ' .
'oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ';
if ( Config("wx") ) {
$vc_base_libs .= "comctl32.lib rpcrt4.lib wsock32.lib ";
}
$vc_link_release .= '/nologo /subsystem:windows /machine:I386';
$vc_link_debug .= '/nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept';
$vc_cpp_def_common = '/D "WIN32" /D "_WINDOWS" /D WINVER=0x400 ';
} else {
$project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
$project{"VC_PROJ_CODE"} = '0x0103';
$vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib ';
if ( Config("wx") ) {
$vc_base_libs .= 'wsock32.lib ';
}
$vc_link_release .= '/nologo /subsystem:console /machine:I386';
$vc_link_debug .= '/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept';
$vc_cpp_def_common = '/D "WIN32" /D "_CONSOLE" ';
}
$vc_cpp_def_release = '/D "NDEBUG" ' . $vc_cpp_def_common;
$vc_cpp_def_debug = '/D "_DEBUG" ' . $vc_cpp_def_common;
foreach ( split(/ /, Project('LIBPATH')) ) {
$vc_link_release .= " /libpath:$_\\Release";
$vc_link_debug .= " /libpath:$_\\Debug";
}
if ( Config("wx") ) {
#! default rel path works for all the demos and most of the samples
#! if no explicit path given
$WXDIR = Project("WXDIR") || (Project("WXDIRREL") || "..\\..");
AddIncludePath("$WXDIR\\include");
if ( !Project('WXCONFIGS') ) {
#! default value
Project('WXCONFIGS = Debug Release DebugDll ReleaseDll');
}
elsif ( Project('WXCONFIGS') == '*' ) {
#! special value: generate all configs
Project('WXCONFIGS = Debug Release DebugDll ReleaseDll DebugUnicode ReleaseUnicode DebugUnicodeDll ReleaseUnicodeDll');
}
#! we must use !IF the first time but !ELSEIF the subsequent ones
Project('__IF = !IF');
if ( Config("wxbase") ) {
$KIND="Base";
$TOOLKIT="base";
}
elsif ( Config("wxuniv") ) {
$KIND="Univ";
$TOOLKIT="univ";
}
else {
$TOOLKIT="msw"
}
$WX_BASENAME = "$WXDIR\\lib\\wx$TOOLKIT";
$UNICODE_SUFFIX = "u";
$DEBUG_SUFFIX = "d";
$DLL = "dll";
#! compiler options: for the given configuration they are just obrained
#! by concatenating together all relevant values from the list below
$project{"WX_CPP_DEBUG"} = '/MDd /D "__WXDEBUG__" /D "WXDEBUG=1" ';
$project{"WX_CPP_RELEASE"} = '/MD ';
$project{"WX_CPP_UNICODE"} = '/D _UNICODE /D UNICODE ';
$project{"WX_CPP_DLL"} = '/D WXUSINGDLL ';
#! ... plus the config-dependent path to setup.h
$project{"WX_SETUPH_DEBUG"} = "/I$WXDIR\\lib\\$TOOLKIT$DEBUG_SUFFIX ";
$project{"WX_SETUPH_RELEASE"} = "/I$WXDIR\\lib\\$TOOLKIT ";
$project{"WX_SETUPH_DEBUG_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$DEBUG_SUFFIX ";
$project{"WX_SETUPH_RELEASE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL ";
$project{"WX_SETUPH_DEBUG_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX$DEBUG_SUFFIX ";
$project{"WX_SETUPH_RELEASE_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX ";
$project{"WX_SETUPH_DEBUG_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX$DEBUG_SUFFIX ";
$project{"WX_SETUPH_RELEASE_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX ";
#! the libraries we must link with when linking against static wxWin
#! library (DLL already includes all needed libs)
#!
#! FIXME: actually this should depend on the contents of setup.h!
$EXTRA_LIBS="zlib regex";
if ( !Config("wxbase") ) {
$EXTRA_LIBS.=" png jpeg tiff";
}
foreach ( split(/ /, $EXTRA_LIBS) ) {
$RELEASE_EXTRA_LIBS .= "$WXDIR\\lib\\$_.lib ";
$DEBUG_EXTRA_LIBS .= "$WXDIR\\lib\\$_" . "d.lib ";
}
#! the wxWin lib name itself is composed from the basename with various
#! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
#! for the DLL
$DLL_VERSION = "233";
$project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
$project{"WX_LINK_DEBUG_DLL"} = "$WX_BASENAME$DLL_VERSION$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE_DLL"} = "$WX_BASENAME$DLL_VERSION.lib";
$project{"WX_LINK_DEBUG_UNICODE"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE_UNICODE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX.lib";
$project{"WX_LINK_DEBUG_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX.lib";
}
$project{"VC_BASE_LINK_RELEASE"} = $vc_base_libs . $vc_link_release;
$project{"VC_BASE_LINK_DEBUG"} = $vc_base_libs . $vc_link_debug;
$tmake_libs = Project('TMAKE_LIBS') ? (Project('TMAKE_LIBS') . " ") : "";
$project{"VC_LINK_RELEASE"} = $vc_base_libs . $tmake_libs . $vc_link_release;
$project{"VC_LINK_DEBUG"} = $vc_base_libs . $tmake_libs . $vc_link_debug;
$vc_cpp_opt_common1 = '/nologo /W4 ';
$vc_cpp_opt_release = $vc_cpp_opt_common1 . '/O2 ';
$vc_cpp_opt_debug = $vc_cpp_opt_common1 . '/Zi /Od ';
$vc_cpp_opt_common = '/YX /FD /c';
$project{"VC_BASE_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_cpp_def_release . $vc_cpp_opt_common;
$project{"VC_BASE_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_cpp_def_debug . $vc_cpp_opt_common;
ExpandGlue("INCPATH",'/I "','" /I "','"');
if ( $text ne "" ) { $vc_inc = $text . " "; $text = ""; } else { $vc_inc = ""; }
ExpandGlue("DEFINES",'/D "','" /D "','"');
if ( $text ne "" ) { $vc_def = $text . " "; $text = ""; } else { $vc_def = ""; }
if ( Config("wx") ) {
#! define wxWindows compilation flags
$vc_def .= '/D WIN32 /D WINVER=0x400 ';
if ( Config("wxbase") ) {
$vc_def .= '/D wxUSE_GUI=0 ';
}
else {
$vc_def .= '/D wxUSE_GUI=1 ';
if ( Config("wxuniv") ) {
$vc_def .= '/D "__WXUNIVERSAL__" ';
}
}
}
else {
$vc_inc_debug =
$vc_inc_release = "";
}
$project{"VC_CPP_INCLUDE"} = $vc_inc;
$project{"VC_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_inc . $vc_inc_release . $vc_cpp_def_release . $vc_def . $vc_cpp_opt_common;
$project{"VC_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_inc . $vc_inc_debug . $vc_cpp_def_debug . $vc_def . $vc_cpp_opt_common;
if ( Project('RES_FILE') ) {
tmake_error(".res files are not supported, use .rc.");
}
$project{"MAKEFILE"} = $project{"PROJECT"} . ".mak";
$project{"TARGETAPP"} = $project{"TARGET"} . ".exe";
Project('TMAKE_FILETAGS = HEADERS SOURCES TARGET DESTDIR $$FILETAGS');
foreach ( split(/\s/,Project('TMAKE_FILETAGS')) ) {
$project{$_} =~ s-/-\\-g;
}
StdInit();
if ( defined($project{"DESTDIR"}) ) {
$project{"TARGETAPP"} = $project{"DESTDIR"} . "\\" . $project{"TARGETAPP"};
$project{"TARGETAPP"} =~ s/\\+/\\/g;
}
%all_files = ();
@files = split(/\s+/,$project{"HEADERS"});
foreach ( @files ) { $all_files{$_} = "h" };
@files = split(/\s+/,$project{"SOURCES"});
foreach ( @files ) { $all_files{$_} = "s" };
@files = split(/\s+/,$project{"RC_FILE"});
foreach ( @files ) { $all_files{$_} = "r" };
%file_names = ();
foreach $f ( %all_files ) {
$n = $f;
$n =~ s/^.*\\//;
$file_names{$n} = $f;
$file_path{$n} = ".\\" . $f;
$file_path2{$n} = (($f =~ /^\./) ? "" : ".\\") . $f;
}
#$}
# Microsoft Developer Studio Project File - #$ Substitute('Name="$$TARGET" - Package Owner=<4>');
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE #$ Substitute('"$$VC_PROJ_TYPE" $$VC_PROJ_CODE');
CFG=#$ Substitute('$$TARGET - Win32 Debug');
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "#$ ExpandGlue('MAKEFILE','','','".');
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f #$ Substitute('"$$MAKEFILE" CFG="$$TARGET - Win32 Debug"');
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode DLL" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Release DLL" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug DLL" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Release" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
!MESSAGE
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
#$ Config("windows") && ($text='MTL=midl.exe');
RSC=rc.exe
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
#$ Substitute('$$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode DLL"');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE_DLL'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode DLL"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE_DLL'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode"');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release DLL"');
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_RELEASE_DLL'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug DLL"');
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugDll\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir #$ $text = "\"${KIND}DebugDll\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_DEBUG_DLL'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release"');
#$ Project('WXCONFIGS') =~ '\bRelease\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir #$ $text = "\"${KIND}Release\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Release\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir #$ $text = "\"${KIND}Release\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}Release\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_SETUPH_RELEASE'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug"');
#$ Project('WXCONFIGS') =~ '\bDebug\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir #$ $text = "\"${KIND}Debug\""
# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Debug\""
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir #$ $text = "\"${KIND}Debug\""
# PROP Intermediate_Dir #$ $text = "\"${KIND}Debug\""
#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
# PROP Target_Dir ""
# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_SETUPH_DEBUG'}";
#$ Config("windows") || DisableOutput();
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
#$ Config("windows") || EnableOutput();
# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG'}";
#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
!ENDIF
# Begin Target
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Release DLL"');
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug DLL"');
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Release"');
#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug"');
#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
#${
foreach $n ( sort keys %file_names ) {
$f = $file_names{$n};
$p = $file_path{$n};
$t = $all_files{$f};
if ( $t eq "s" || $t eq "h" || $t eq "r" ) {
$text .= "# Begin Source File\n\nSOURCE=$file_path{$n}\n";
$text .= "# End Source File\n";
}
}
chop $text;
#$}
# End Target
# End Project
#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl:

View File

@@ -1,407 +0,0 @@
#!#############################################################################
#! File: vc6base.t
#! Purpose: tmake template file from which wxBase.dsp is generated by running
#! tmake -t vc6base wxwin.pro -o wxBase.dsp
#! Author: Vadim Zeitlin
#! Created: 27.11.99
#! Version: $Id$
#!#############################################################################
#${
use lib './lib';
use wxVersion qw(GetVersion);
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} !~ /\bB\b/;
my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} !~ /\bB\b/;
my $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxBase) {
my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxWXINCLUDE) {
next if $wxWXINCLUDE{$file} !~ /\bB\b/;
next if $file =~ /setup.h/;
next if $file =~ /[^.]*.cpp$/;
$project{"WXHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
next if $wxMSWINCLUDE{$file} !~ /\bB\b/;
next if $file =~ /setup0?.h/;
$project{"WXMSWHEADERS"} .= $file . " "
}
#! LINK_VERSION is the value of the linker /version switch,
#! DLL_VERSION is the version string for the DLL filename
my %versions = GetVersion();
my ($verMaj, $verMin) = ( $versions{'MAJOR'}, $versions{'MINOR'} );
$project{"LINK_VERSION"} = "$verMaj.$verMin";
$project{"DLL_VERSION"} = "$verMaj$verMin" . $versions{'MICRO_IF_UNSTABLE'};
#$}
# Microsoft Developer Studio Project File - Name="wxBase" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=wxBase - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxBase.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxBase.mak" CFG="wxBase - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxBase - Win32 Release Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxBase - Win32 Debug Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxBase - Win32 Release Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxBase - Win32 Debug Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxBase - Win32 Release DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxBase - Win32 Debug DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxBase - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxBase - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxBase - Win32 Release Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../BaseReleaseUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../BaseReleaseUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/basedllu" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/wxbase#$ $text = $project{"DLL_VERSION"} . 'u.dll"'
# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlib.lib ../lib/regex.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxbase' . $project{DLL_VERSION} . 'u.dll"'
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../BaseDebugUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../BaseDebugUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/basedllud" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase#$ $text = $project{"DLL_VERSION"} . 'ud.dll"'
# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlibd.lib ../lib/regexd.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxbase' . $project{DLL_VERSION} . 'ud.dll"'
!ELSEIF "$(CFG)" == "wxBase - Win32 Release Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\lib"
# PROP BASE Intermediate_Dir "..\BaseReleaseUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\lib"
# PROP Intermediate_Dir "..\BaseReleaseUnicode"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/baseu" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxbaseu.lib"
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\lib"
# PROP BASE Intermediate_Dir "..\BaseDebugUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\lib"
# PROP Intermediate_Dir "..\BaseDebugUnicode"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/baseud" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D "__WXDEBUG__" /D WINVER=0x400 /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo /o"../lib/wxbase.bsc"
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxbaseud.lib"
!ELSEIF "$(CFG)" == "wxBase - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../BaseReleaseDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../BaseReleaseDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/basedll" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"../lib/wxbase#$ $text = $project{"DLL_VERSION"} . '.dll"'
# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlib.lib ../lib/regex.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxbase' . $project{DLL_VERSION} . '.dll"'
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../BaseDebugDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../BaseDebugDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "WXBASEDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/basedlld" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxbase#$ $text = $project{"DLL_VERSION"} . 'd.dll"'
# ADD LINK32 kernel32.lib user32.lib advapi32.lib shell32.lib wsock32.lib ../lib/zlibd.lib ../lib/regexd.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxbase' . $project{DLL_VERSION} . 'd.dll"'
!ELSEIF "$(CFG)" == "wxBase - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "..\lib"
# PROP BASE Intermediate_Dir "..\BaseRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "..\lib"
# PROP Intermediate_Dir "..\BaseRelease"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/base" /I "../include" /I "./regex" /I "./zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D "WIN32" /D WINVER=0x400 /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxbase.lib"
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "..\lib"
# PROP BASE Intermediate_Dir "..\BaseDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "..\lib"
# PROP Intermediate_Dir "..\BaseDebug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/based" /I "../include" /I "./regex" /I "./zlib" /D "_DEBUG" /D wxUSE_GUI=0 /D "WIN32" /D "__WXDEBUG__" /D WINVER=0x400 /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo /o"../lib/wxbase.bsc"
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxbased.lib"
!ENDIF
# Begin Target
# Name "wxBase - Win32 Release Unicode DLL"
# Name "wxBase - Win32 Debug Unicode DLL"
# Name "wxBase - Win32 Release Unicode"
# Name "wxBase - Win32 Debug Unicode"
# Name "wxBase - Win32 Release DLL"
# Name "wxBase - Win32 Debug DLL"
# Name "wxBase - Win32 Release"
# Name "wxBase - Win32 Debug"
# Begin Group "Common Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n");
#$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# End Group
# Begin Group "MSW Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=.\msw\dummy.cpp
# ADD CPP /Yc"wx/wxprec.h"
# End Source File
#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n");
#$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# End Group
# Begin Group "Headers"
# PROP Default_Filter ""
# Begin Group "Setup"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\include\wx\msw\setup.h
!IF "$(CFG)" == "wxBase - Win32 Release Unicode DLL"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/basedllu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\basedllu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode DLL"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/basedllud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\basedllud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Release Unicode"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/baseu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\baseu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug Unicode"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/baseud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\baseud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Release DLL"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/basedll/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\basedll\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug DLL"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/basedlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\basedlld\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Release"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/base/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\base\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxBase - Win32 Debug"
# Begin Custom Build - Copying $(InputPath) to $(TargetDir)
InputPath=..\include\wx\msw\setup.h
"../lib/based/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\based\wx\setup.h
# End Custom Build
!ENDIF
# End Source File
# End Group
# Begin Group "Common"
# PROP Default_Filter ""
#$ ExpandGlue("WXHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n");
# End Group
# Begin Group "MSW"
# PROP Default_Filter ""
#$ ExpandGlue("WXMSWHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n");
# End Group
# End Group
# End Target
# End Project
#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl:

View File

@@ -1,449 +0,0 @@
#!#############################################################################
#! File: vc6msw.t
#! Purpose: tmake template file from which the VC++ 6.0 project file for
#! building all configurations of wxMSW library wxWindows.dsp
#! is generated by running
#! tmake -t vc6msw wxwin.pro -o wxWindows.dsp
#! Author: Vadim Zeitlin
#! Created: 29.09.01
#! Version: $Id$
#!#############################################################################
#${
use lib './lib';
use wxVersion qw(GetVersion);
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
$project{"WXGENERICSRCS"} .= $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} =~ /\b16\b/;
my $tag;
if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" }
else { $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS" }
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxHTML) {
next if $wxHTML{$file} =~ /\b(16|U)\b/;
$project{"WXHTMLSRCS"} .= $file . " "
}
foreach $file (sort keys %wxWXINCLUDE) {
next if $file =~ /setup.h/;
next if $file =~ /[^.]*.cpp$/;
$project{"WXHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
$project{"WXGENERICHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
next if $file =~ /setup0?.h/;
$project{"WXMSWHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"WXHTMLHEADERS"} .= $file . " "
}
#! LINK_VERSION is the value of the linker /version switch,
#! DLL_VERSION is the version string for the DLL filename
my %versions = GetVersion();
my ($verMaj, $verMin) = ( $versions{'MAJOR'}, $versions{'MINOR'} );
$project{"LINK_VERSION"} = "$verMaj.$verMin";
$project{"DLL_VERSION"} = "$verMaj$verMin" . $versions{'MICRO_IF_UNSTABLE'};
#$}
# Microsoft Developer Studio Project File - Name="wxWindows" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=wxWindows - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxWindows.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxWindows.mak" CFG="wxWindows - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxWindows - Win32 Release Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Debug Unicode DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Release Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Debug Unicode" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Release DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Debug DLL" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "wxWindows - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxWindows - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdllu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw#$ $text = $project{"DLL_VERSION"} . 'u.dll"'
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxmsw' . $project{DLL_VERSION} . 'u.dll"'
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugUnicodeDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugUnicodeDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdllud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw#$ $text = $project{"DLL_VERSION"} . 'ud.dll"'
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxmsw' . $project{DLL_VERSION} . 'ud.dll"'
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseUnicode"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswu.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugUnicode"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugUnicode"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswud.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../ReleaseDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../ReleaseDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdll" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo /dll /machine:I386 /out:"../lib/wxmsw#$ $text = $project{"DLL_VERSION"} . '.dll"'
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpeg.lib ..\lib\tiff.lib ..\lib\png.lib ..\lib\regex.lib ..\lib\zlib.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxmsw' . $project{DLL_VERSION} . '.dll"'
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../DebugDll"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../DebugDll"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdlld" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw#$ $text = $project{"DLL_VERSION"} . 'd.dll"'
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo #$ $text = '/version:' . $project{LINK_VERSION} . ' /dll /machine:I386 /out:"../lib/wxmsw' . $project{DLL_VERSION} . 'd.dll"'
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmsw.lib"
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /D "__WXBASE__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxmswd.lib"
!ENDIF
# Begin Target
# Name "wxWindows - Win32 Release Unicode DLL"
# Name "wxWindows - Win32 Debug Unicode DLL"
# Name "wxWindows - Win32 Release Unicode"
# Name "wxWindows - Win32 Debug Unicode"
# Name "wxWindows - Win32 Release DLL"
# Name "wxWindows - Win32 Debug DLL"
# Name "wxWindows - Win32 Release"
# Name "wxWindows - Win32 Debug"
# Begin Group "Common Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n");
#$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# End Group
# Begin Group "Generic Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n");
# End Group
# Begin Group "wxHTML Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n");
# End Group
# Begin Group "MSW Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=.\msw\dummy.cpp
# ADD CPP /Yc"wx/wxprec.h"
# End Source File
#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n");
#$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# Begin Group "OLE Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXOLESRCS", "# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n");
# End Group
# End Group
# Begin Group "Headers"
# PROP Default_Filter ""
# Begin Group "Setup"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\include\wx\msw\setup.h
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
# Begin Custom Build - Creating ..\lib\mswdllu\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdllu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdllu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
# Begin Custom Build - Creating ..\lib\mswdllud\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdllud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdllud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
# Begin Custom Build - Creating ..\lib\mswu\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswu/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswu\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
# Begin Custom Build - Creating ..\lib\mswud\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswud/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswud\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
# Begin Custom Build - Creating ..\lib\mswdll\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdll/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdll\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
# Begin Custom Build - Creating ..\lib\mswdlld\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswdlld/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswdlld\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
# Begin Custom Build - Creating ..\lib\msw\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/msw/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\msw\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
# Begin Custom Build - Creating ..\lib\mswd\wx\setup.h from $(InputPath)
InputPath=..\include\wx\msw\setup.h
"../lib/mswd/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\mswd\wx\setup.h
# End Custom Build
!ENDIF
# End Source File
# End Group
# Begin Group "Common"
# PROP Default_Filter ""
#$ ExpandGlue("WXHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n");
# End Group
# Begin Group "MSW"
# PROP Default_Filter ""
#$ ExpandGlue("WXMSWHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n");
# End Group
# Begin Group "Generic"
# PROP Default_Filter ""
#$ ExpandGlue("WXGENERICHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n");
# End Group
# Begin Group "HTML"
# PROP Default_Filter ""
#$ ExpandGlue("WXHTMLHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n");
# End Group
# End Group
# End Target
# End Project
#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl:

View File

@@ -1,260 +0,0 @@
#!#############################################################################
#! File: vc6univ.t
#! Purpose: tmake template file from which the VC++ 6.0 project file for
#! building static wxWindows library wxUniv.dsp is generated by running
#! tmake -t vc6univ wxwin.pro -o wxUniv.dsp
#! Author: Vadim Zeitlin
#! Created: 29.09.01
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b16\b/;
my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxMSW) {
#! take only "low level" MSW sources: note that all "base" ones are
#! automatically low level
next unless $wxMSW{$file} =~ /\b(L|B)\b/;
my $tag;
if ( $wxMSW{$file} =~ /\bO\b/ ) { $tag = "WXOLESRCS" }
else { $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS" }
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxUNIV) {
my $tag = $wxUNIV{$file} =~ /T/ ? "WXUNIVTHEMES" : "WXUNIVSRCS";
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxGeneric) {
#! don't take generic versions of the Win32 low level GUI classes
#! nor the files for which we have universal versions
#! some generic files implementing wxFoo are called foog.cpp and
#! not foo.cpp
my $filereal = $file;
if ( $file =~ /^([^.]+)g.cpp$/ ) {
$filereal = "$1.cpp";
}
next if $project{"WXMSWSRCS"} =~ /\b$filereal\b/ ||
$project{"WXUNIVSRCS"} =~ /\b$filereal\b/;
$project{"WXGENERICSRCS"} .= $file . " "
}
foreach $file (sort keys %wxHTML) {
$project{"WXHTMLSRCS"} .= $file . " "
}
foreach $file (sort keys %wxWXINCLUDE) {
next if $file =~ /setup.h/;
next if $file =~ /[^.]*.cpp$/;
$project{"WXHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
$project{"WXGENERICHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxMSWINCLUDE) {
next unless $wxMSWINCLUDE{$file} =~ /\bL\b/;
$project{"WXMSWHEADERS"} .= $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"WXHTMLHEADERS"} .= $file . " "
}
#$}
# Microsoft Developer Studio Project File - Name="wxUniv" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static Library" 0x0104
CFG=wxUniv - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wxUniv.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wxUniv.mak" CFG="wxUniv - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wxUniv - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "wxUniv - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "wxUniv - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../UnivRelease"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../UnivRelease"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MT" /YX /FD /c
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/univ" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "__WXUNIVERSAL__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxuniv.lib"
!ELSEIF "$(CFG)" == "wxUniv - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "../lib"
# PROP BASE Intermediate_Dir "../UnivDebug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "../lib"
# PROP Intermediate_Dir "../UnivDebug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/univd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /D "__WXUNIVERSAL__" /Yu"wx/wxprec.h" /FD /c
# ADD BASE RSC /l 0x409
# ADD RSC /l 0x409
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
# ADD LIB32 /nologo /out:"..\lib\wxunivd.lib"
!ENDIF
# Begin Target
# Name "wxUniv - Win32 Release"
# Name "wxUniv - Win32 Debug"
# Begin Group "Common Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# End Source File\n");
#$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# End Group
# Begin Group "Generic Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXGENERICSRCS", "# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\generic\\", "\n# End Source File\n");
# End Group
# Begin Group "wxHTML Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXHTMLSRCS", "# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\html\\", "\n# End Source File\n");
# End Group
# Begin Group "MSW Files"
# PROP Default_Filter ""
# Begin Source File
SOURCE=.\msw\dummy.cpp
# ADD CPP /Yc"wx/wxprec.h"
# End Source File
#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# End Source File\n");
#$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
# Begin Group "OLE Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXOLESRCS", "# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\msw\\ole\\", "\n# End Source File\n");
# End Group
# End Group
# Begin Group "Universal Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXUNIVSRCS", "# Begin Source File\n\nSOURCE=.\\univ\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\univ\\", "\n# End Source File\n");
# Begin Group "Theme Files"
# PROP Default_Filter ""
#$ ExpandGlue("WXUNIVTHEMES", "# Begin Source File\n\nSOURCE=.\\univ\\themes\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\univ\\themes\\", "\n# End Source File\n");
# End Group
# End Group
# Begin Group "Headers"
# PROP Default_Filter ""
# Begin Group "Setup"
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\include\wx\univ\setup.h
!IF "$(CFG)" == "wxUniv - Win32 Release"
# Begin Custom Build - Creating lib\univ\wx\setup.h from $(InputPath)
InputPath=..\include\wx\univ\setup.h
"../lib/univ/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\univ\wx\setup.h
# End Custom Build
!ELSEIF "$(CFG)" == "wxUniv - Win32 Debug"
# Begin Custom Build - Creating lib\univd\wx\setup.h from $(InputPath)
InputPath=..\include\wx\univ\setup.h
"../lib/univd/wx/setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy "$(InputPath)" ..\lib\univd\wx\setup.h
# End Custom Build
!ENDIF
# End Source File
# End Group
# Begin Group "Common"
# PROP Default_Filter ""
#$ ExpandGlue("WXHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\", "\n# End Source File\n");
# End Group
# Begin Group "MSW"
# PROP Default_Filter ""
#$ ExpandGlue("WXMSWHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\msw\\", "\n# End Source File\n");
# End Group
# Begin Group "Generic"
# PROP Default_Filter ""
#$ ExpandGlue("WXGENERICHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\generic\\", "\n# End Source File\n");
# End Group
# Begin Group "HTML"
# PROP Default_Filter ""
#$ ExpandGlue("WXHTMLHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\html\\", "\n# End Source File\n");
# End Group
# Begin Group "Universal"
# PROP Default_Filter ""
#$ ExpandGlue("WXUNIVHEADERS", "# Begin Source File\n\nSOURCE=..\\include\\wx\\univ\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=..\\include\\wx\\univ\\", "\n# End Source File\n");
# End Group
# End Group
# End Target
# End Project
#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=make:

View File

@@ -1,274 +0,0 @@
#!#############################################################################
#! File: wat.t
#! Purpose: tmake template file from which makefile.wat is generated by running
#! tmake -t wat wxwin.pro -o makefile.wat
#! 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
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxGeneric) {
my $tag = "";
if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
$tag = "WXNONESSENTIALOBJS";
}
else {
$tag = "WXGENERICOBJS";
}
$file =~ s/cp?p?$/obj/;
$project{$tag} .= $file . " "
}
foreach $file (sort keys %wxHTML) {
next if $wxHTML{$file} =~ /\b16\b/;
$file =~ s/cp?p?$/obj/;
$project{"WXHTMLOBJS"} .= $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\b(16|U)\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= $file . " ";
$project{"WXCOBJS"} .= $file . " " if $isCFile;
}
foreach $file (sort keys %wxMSW) {
#! these files don't compile
next if $file =~ /^pnghand\./;
next if $wxMSW{$file} =~ /\b16\b/;
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
my $isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXMSWOBJS"} .= $file . " ";
$project{"WXCOBJS"} .= $file . " " if $isCFile;
$project{"WXOLEOBJS"} .= $file . " " if $isOleObj
}
#$}
#! an attempt to embed '#' directly in the string somehow didn't work...
#$ $text = chr(35) . '!/binb/wmake.exe';
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WAT.T!
#
# File: makefile.wat
# Author: Julian Smart
# Created: 1998
#
# Makefile : Builds wxWindows library for Watcom C++, WIN32
!include ..\makewat.env
LIBTARGET = $(WXDIR)\lib\$(LIBNAME).lib
EXTRATARGETS = png zlib jpeg tiff regex
EXTRATARGETSCLEAN = clean_png clean_zlib clean_jpeg clean_tiff clean_regex
GENDIR=$(WXDIR)\src\generic
COMMDIR=$(WXDIR)\src\common
JPEGDIR=$(WXDIR)\src\jpeg
TIFFDIR=$(WXDIR)\src\tiff
MSWDIR=$(WXDIR)\src\msw
OLEDIR=$(MSWDIR)\ole
HTMLDIR=$(WXDIR)\src\html
DOCDIR = $(WXDIR)\docs
GENERICOBJS= #$ ExpandGlue("WXGENERICOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
# These are generic things that don't need to be compiled on MSW,
# but sometimes it's useful to do so for testing purposes.
NONESSENTIALOBJS= #$ ExpandGlue("WXNONESSENTIALOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
COMMONOBJS = &
#$ ExpandGlue("WXCOMMONOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
MSWOBJS = #$ ExpandGlue("WXMSWOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
HTMLOBJS = #$ ExpandGlue("WXHTMLOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
SETUP_H=$(ARCHINCDIR)\wx\setup.h
all: $(SETUP_H) $(OUTPUTDIR) $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC
$(ARCHINCDIR)\wx:
mkdir $(ARCHINCDIR)
mkdir $(ARCHINCDIR)\wx
$(OUTPUTDIR):
@if not exist $^@ mkdir $^@
$(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
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
wlib /b /c /n $(LIBPAGESIZE) $^@ @$(LBCFILE)
clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
-erase *.obj
-erase $(LIBTARGET)
-erase *.pch
-erase *.err
-erase *.lbc
cleanall: clean
#${
$_ = $project{"WXMSWOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_ . ': $(';
s/\.obj$//;
if ( $project{"WXOLEOBJS"} =~ /\b\Q$_\E\b/ ) {
$text .= 'OLEDIR)\\';
} else {
$text .= 'MSWDIR)\\';
}
my $suffix, $cc;
if ( $project{"WXCOBJS"} =~ /\b\Q$_\E\b/ ) {
$suffix = "c";
$cc="CC";
$flags="CFLAGS";
}
else {
$suffix = "cpp";
$cc="CXX";
$flags="CXXFLAGS";
}
$text .= $_ . ".$suffix\n" .
" *\$($cc) \$($flags) \$<" . "\n\n";
}
#$}
########################################################
# Common objects (always compiled)
#${
$_ = $project{"WXCOMMONOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_;
s/\.obj$//;
$text .= ': $(COMMDIR)\\';
my $suffix, $cc;
if ( $project{"WXCOBJS"} =~ /\b\Q$_\E\b/ ) {
$suffix = "c";
$cc="CC";
$flags="CFLAGS";
}
else {
$suffix = "cpp";
$cc="CXX";
$flags="CXXFLAGS";
}
$text .= $_ . ".$suffix\n" .
" *\$($cc) \$($flags) \$<" . "\n\n";
}
#$}
########################################################
# Generic objects (not always compiled, depending on
# whether platforms have native implementations)
#${
$_ = $project{"WXGENERICOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_;
s/\.obj$//;
$text .= ': $(GENDIR)\\';
$text .= $_ . ".cpp\n" .
' *$(CXX) $(CXXFLAGS) $<' . "\n\n";
}
#$}
########################################################
# HTML objects (always compiled)
#${
$_ = $project{"WXHTMLOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_;
s/\.obj$//;
$text .= ': $(HTMLDIR)\\';
$text .= $_ . ".cpp\n" .
' *$(CXX) $(CXXFLAGS) $<' . "\n\n";
}
#$}
png: .SYMBOLIC
cd $(WXDIR)\src\png
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_png: .SYMBOLIC
cd $(WXDIR)\src\png
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
zlib: .SYMBOLIC
cd $(WXDIR)\src\zlib
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_zlib: .SYMBOLIC
cd $(WXDIR)\src\zlib
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
jpeg: .SYMBOLIC
cd $(WXDIR)\src\jpeg
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_jpeg: .SYMBOLIC
cd $(WXDIR)\src\jpeg
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
tiff: .SYMBOLIC
cd $(WXDIR)\src\tiff
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_tiff: .SYMBOLIC
cd $(WXDIR)\src\tiff
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
regex: .SYMBOLIC
cd $(WXDIR)\src\regex
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_regex: .SYMBOLIC
cd $(WXDIR)\src\regex
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
MFTYPE=wat
self : .SYMBOLIC $(WXDIR)\distrib\msw\tmake\filelist.txt $(WXDIR)\distrib\msw\tmake\$(MFTYPE).t
cd $(WXDIR)\distrib\msw\tmake
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
copy makefile.$(MFTYPE) $(WXDIR)\src\msw

View File

@@ -1,182 +0,0 @@
#!#############################################################################
#! File: wat.t
#! Purpose: tmake template file from which makefile.wat is generated by running
#! tmake -t wat wxwin.pro -o makefile.wat
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#!#############################################################################
#${
#! include the code which parses filelist.txt file and initializes
#! %wxCommon, %wxGeneric and %wxMSW hashes.
IncludeTemplate("filelist.t");
#! now transform these hashes into $project tags
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} !~ /\bB\b/;
$isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= $file . " ";
$project{"WXCOBJS"} .= $file . " " if $isCFile;
}
foreach $file (sort keys %wxMSW) {
next if $wxMSW{$file} !~ /\bB\b/;
my $isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXMSWOBJS"} .= $file . " ";
$project{"WXCOBJS"} .= $file . " " if $isCFile;
}
foreach $file (sort keys %wxBase) {
my $isCFile = $file =~ /\.c$/;
$file =~ s/cp?p?$/obj/;
$project{"WXCOMMONOBJS"} .= $file . " ";
$project{"WXCOBJS"} .= $file . " " if $isCFile;
}
#$}
#! an attempt to embed '#' directly in the string somehow didn't work...
#$ $text = chr(35) . '!/binb/wmake.exe';
# This file was automatically generated by tmake
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE WATBASE.T!
##############################################################################
# Name: makebase.wat
# Purpose: Builds wxBase library for Watcom C++ under Win32
# Author: Vadim Zeitlin
# Created: 21.01.03
# RCS-ID: $Id$
# Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
# Licence: wxWindows licence
##############################################################################
wxUSE_GUI=0
!include ..\makewat.env
LIBTARGET = $(WXDIR)\lib\wx$(TOOLKIT)$(DEBUGSUFFIX)_w.lib
EXTRATARGETS = zlib regex
EXTRATARGETSCLEAN = clean_zlib clean_regex
COMMDIR=$(WXDIR)\src\common
MSWDIR=$(WXDIR)\src\msw
OLEDIR=$(MSWDIR)\ole
COMMONOBJS = &
#$ ExpandGlue("WXCOMMONOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
MSWOBJS = &
#$ ExpandGlue("WXMSWOBJS", "\$(OUTPUTDIR)\\", " &\n\t\$(OUTPUTDIR)\\")
OBJECTS = $(COMMONOBJS) $(MSWOBJS)
SETUP_H=$(ARCHINCDIR)\wx\setup.h
all: $(SETUP_H) $(OUTPUTDIR) $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) .SYMBOLIC
$(ARCHINCDIR)\wx:
mkdir $(ARCHINCDIR)
mkdir $(ARCHINCDIR)\wx
$(OUTPUTDIR):
mkdir $(OUTPUTDIR)
$(SETUP_H): $(WXDIR)\include\wx\msw\setup.h $(ARCHINCDIR)\wx
copy $(WXDIR)\include\wx\msw\setup.h $@
LBCFILE=$(OUTPUTDIR)\wx$(TOOLKIT).lbc
$(LIBTARGET) : $(OBJECTS)
%create $(LBCFILE)
@for %i in ( $(OBJECTS) ) do @%append $(LBCFILE) +%i
wlib /q /b /c /n /p=512 $^@ @$(LBCFILE)
clean: .SYMBOLIC $(EXTRATARGETSCLEAN)
-erase $(OUTPUTDIR)\*.obj
-erase $(LIBTARGET)
-erase $(OUTPUTDIR)\*.pch
-erase $(OUTPUTDIR)\*.err
-erase $(OUTPUTDIR)\*.lbc
cleanall: clean
-erase $(LBCFILE)
#${
$_ = $project{"WXMSWOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_ . ': $(';
s/\.obj$//;
$text .= 'MSWDIR)\\';
my $suffix, $cc;
if ( $project{"WXCOBJS"} =~ /\b\Q$_\E\b/ ) {
$suffix = "c";
$cc="CC";
$flags="CFLAGS";
}
else {
$suffix = "cpp";
$cc="CXX";
$flags="CXXFLAGS";
}
$text .= $_ . ".$suffix\n" .
" *\$($cc) \$($flags) \$<" . "\n\n";
}
#$}
########################################################
# Common objects (always compiled)
#${
$_ = $project{"WXCOMMONOBJS"};
my @objs = split;
foreach (@objs) {
$text .= "\$(OUTPUTDIR)\\" . $_;
s/\.obj$//;
$text .= ': $(COMMDIR)\\';
my $suffix, $cc;
if ( $project{"WXCOBJS"} =~ /\b\Q$_\E\b/ ) {
$suffix = "c";
$cc="CC";
$flags="CFLAGS";
}
else {
$suffix = "cpp";
$cc="CXX";
$flags="CXXFLAGS";
}
$text .= $_ . ".$suffix\n" .
" *\$($cc) \$($flags) \$<" . "\n\n";
}
#$}
zlib: .SYMBOLIC
cd $(WXDIR)\src\zlib
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_zlib: .SYMBOLIC
cd $(WXDIR)\src\zlib
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
regex: .SYMBOLIC
cd $(WXDIR)\src\regex
wmake -f makefile.wat all
cd $(WXDIR)\src\msw
clean_regex: .SYMBOLIC
cd $(WXDIR)\src\regex
wmake -f makefile.wat clean
cd $(WXDIR)\src\msw
MFTYPE=watbase
self : .SYMBOLIC $(WXDIR)\distrib\msw\tmake\filelist.txt $(WXDIR)\distrib\msw\tmake\$(MFTYPE).t
cd $(WXDIR)\distrib\msw\tmake
perl -S tmake -t $(MFTYPE) wxwin.pro -o makebase.wat
copy makebase.wat $(WXDIR)\src\msw

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