1999-07-14 18:46:12 -04:00
|
|
|
#!#############################################################################
|
|
|
|
#! 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
|
2002-12-04 09:11:26 -05:00
|
|
|
foreach $file (sort keys %wxUNIV) {
|
|
|
|
next if $wxUNIV{$file} =~ /\T\b/;
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
$file =~ s/cp?p?$/obj/;
|
2002-12-04 09:11:26 -05:00
|
|
|
$obj = "\$(UNIVDIR)\\" . $file . " ";
|
2003-05-26 07:34:39 -04:00
|
|
|
$project{"WXUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
|
2002-12-04 09:11:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxUNIV) {
|
|
|
|
next unless $wxUNIV{$file} =~ /\T\b/;
|
|
|
|
|
|
|
|
$file =~ s/cp?p?$/obj/;
|
|
|
|
$obj = "\$(UNIVTHEMEDIR)\\" . $file . " ";
|
2003-05-26 07:34:39 -04:00
|
|
|
$project{"WXUNIVTHEMEOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
|
1999-07-14 18:46:12 -04:00
|
|
|
}
|
|
|
|
|
1999-11-15 08:57:22 -05:00
|
|
|
foreach $file (sort keys %wxHTML) {
|
|
|
|
next if $wxHTML{$file} =~ /\b16\b/;
|
|
|
|
|
|
|
|
$file =~ s/cp?p?$/obj/;
|
2003-05-26 07:34:39 -04:00
|
|
|
$project{"WXHTMLOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
|
1999-11-15 08:57:22 -05:00
|
|
|
}
|
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
foreach $file (sort keys %wxCommon) {
|
2002-01-03 18:08:41 -05:00
|
|
|
next if $wxCommon{$file} =~ /\b(16|U)\b/;
|
|
|
|
|
1999-07-24 18:17:19 -04:00
|
|
|
$isCFile = $file =~ /\.c$/;
|
1999-07-14 18:46:12 -04:00
|
|
|
$file =~ s/cp?p?$/obj/;
|
2003-05-26 07:34:39 -04:00
|
|
|
$obj = "\$(OBJ_PATH)\\" . $file . " ";
|
1999-07-24 18:17:19 -04:00
|
|
|
$project{"WXCOMMONOBJS"} .= $obj;
|
|
|
|
$project{"WXCOBJS"} .= $obj if $isCFile;
|
1999-07-14 18:46:12 -04:00
|
|
|
}
|
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
#! MSW dir for native port
|
1999-07-14 18:46:12 -04:00
|
|
|
foreach $file (sort keys %wxMSW) {
|
|
|
|
next if $wxMSW{$file} =~ /\b16\b/;
|
|
|
|
|
1999-10-01 19:00:30 -04:00
|
|
|
$isCFile = $file =~ /\.c$/;
|
|
|
|
|
1999-07-26 09:27:31 -04:00
|
|
|
my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
|
1999-07-14 18:46:12 -04:00
|
|
|
$file =~ s/cp?p?$/obj/;
|
2003-05-26 07:34:39 -04:00
|
|
|
my $obj = "\$(OBJ_PATH)\\" . $file . " ";
|
1999-07-26 09:27:31 -04:00
|
|
|
|
|
|
|
$project{"WXMSWOBJS"} .= $obj;
|
|
|
|
if ( $isOleObj ) {
|
|
|
|
#! remember that this file is in ole subdir
|
|
|
|
$project{"WXOLEOBJS"} .= $obj;
|
|
|
|
}
|
1999-10-01 19:00:30 -04:00
|
|
|
$project{"WXCOBJS"} .= $obj if $isCFile;
|
1999-07-14 18:46:12 -04:00
|
|
|
}
|
2002-12-04 09:11:26 -05:00
|
|
|
|
|
|
|
#! 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/;
|
2003-05-26 07:34:39 -04:00
|
|
|
my $obj = "\$(OBJ_PATH)\\" . $file . " ";
|
2002-12-04 09:11:26 -05:00
|
|
|
|
|
|
|
$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/;
|
2003-05-26 07:34:39 -04:00
|
|
|
$project{"WXGENERICOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
|
2002-12-04 09:11:26 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#! 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/;
|
|
|
|
|
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
$project{"WXGENERICUNIVOBJS"} .= "\$(OBJ_PATH)\\" . $file . " "
|
2002-12-04 09:11:26 -05:00
|
|
|
}
|
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
#$}
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
# This file was automatically generated by tmake
|
1999-07-14 18:46:12 -04:00
|
|
|
# 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).
|
|
|
|
|
2002-05-02 09:56:41 -04:00
|
|
|
# BCCDIR now defined in ../makeb32.env
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
!if "$(WXWIN)" == ""
|
|
|
|
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
|
|
|
|
!endif
|
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
1999-11-15 08:57:22 -05:00
|
|
|
THISDIR = $(WXDIR)\src\msw
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
# 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=
|
2001-09-28 10:35:17 -04:00
|
|
|
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)
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
!if "$(DLL)" == "0"
|
|
|
|
DUMMY=dummy
|
|
|
|
!else
|
|
|
|
DUMMY=dummydll
|
2003-06-17 09:22:34 -04:00
|
|
|
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)
|
1999-07-14 18:46:12 -04:00
|
|
|
!endif
|
|
|
|
|
|
|
|
LIBTARGET=$(WXLIB)
|
|
|
|
|
|
|
|
GENDIR=..\generic
|
|
|
|
COMMDIR=..\common
|
1999-11-15 08:57:22 -05:00
|
|
|
HTMLDIR=..\html
|
1999-07-14 18:46:12 -04:00
|
|
|
OLEDIR=.\ole
|
2002-12-04 09:11:26 -05:00
|
|
|
UNIVDIR=..\univ
|
|
|
|
UNIVTHEMEDIR=..\univ\themes
|
1999-07-14 18:46:12 -04:00
|
|
|
MSWDIR=.
|
|
|
|
|
|
|
|
DOCDIR = $(WXDIR)\docs
|
|
|
|
|
|
|
|
GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
|
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
MSWOBJS = #$ ExpandList("WXMSWOBJS");
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
GENERICUNIVOBJS= #$ ExpandList("WXGENERICUNIVOBJS");
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
MSWUNIVOBJS = #$ ExpandList("WXMSWUNIVOBJS");
|
|
|
|
|
|
|
|
UNIVOBJS = #$ ExpandList("WXUNIVOBJS");
|
|
|
|
|
|
|
|
UNIVTHEMEOBJS = #$ ExpandList("WXUNIVTHEMEOBJS");
|
1999-07-14 18:46:12 -04:00
|
|
|
|
1999-11-15 08:57:22 -05:00
|
|
|
HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
|
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
COMMONOBJS = \
|
|
|
|
#$ ExpandList("WXCOMMONOBJS");
|
|
|
|
|
|
|
|
!if "$(WXUSINGUNIV)" == "1"
|
|
|
|
OBJECTS = $(COMMONOBJS) $(GENERICUNIVOBJS) $(MSWUNIVOBJS) $(HTMLOBJS) $(UNIVOBJS) $(UNIVTHEMEOBJS)
|
|
|
|
!else
|
1999-11-15 08:57:22 -05:00
|
|
|
OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
|
2002-12-04 09:11:26 -05:00
|
|
|
!endif
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
default: wx
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
wx: $(ARCHINCDIR)\wx makeoutdir makesetuph makearchsetuph $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
|
2002-01-31 18:13:06 -05:00
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
all: wx
|
2002-04-08 10:12:56 -04:00
|
|
|
|
|
|
|
# Copy the in-CVS setup0.h to setup.h if necessary
|
|
|
|
makesetuph:
|
2002-01-31 18:13:06 -05:00
|
|
|
cd $(WXDIR)\include\wx\msw
|
|
|
|
if not exist setup.h copy setup0.h setup.h
|
|
|
|
cd $(WXDIR)\src\msw
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-04-08 10:12:56 -04:00
|
|
|
# Copy include\wx\msw\setup.h to the architecture-specific location
|
|
|
|
makearchsetuph:
|
2002-12-04 09:11:26 -05:00
|
|
|
copy $(SETUPSRCDIR)\setup.h $(ARCHSETUPH)
|
2002-04-08 10:12:56 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
makeoutdir:
|
|
|
|
-mkdir $(OBJ_PATH)
|
|
|
|
|
2002-04-08 10:12:56 -04:00
|
|
|
$(ARCHINCDIR)\wx:
|
2002-04-08 13:15:58 -04:00
|
|
|
-mkdir $(ARCHINCDIR)
|
|
|
|
-mkdir $(ARCHINCDIR)\wx
|
2003-05-26 07:34:39 -04:00
|
|
|
-if exist $(CFG) $(RM) $(CFG)
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
!if "$(DLL)" == "0"
|
|
|
|
|
|
|
|
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
|
2003-05-26 07:34:39 -04:00
|
|
|
-if exist $(LIBTARGET) $(RM) $(LIBTARGET)
|
2002-09-02 08:52:32 -04:00
|
|
|
tlib "$(LIBTARGET)" /P1024 $(LINKDEBUGFLAGS) @&&!
|
1999-07-14 18:46:12 -04:00
|
|
|
+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
|
|
|
|
!
|
|
|
|
|
|
|
|
!else
|
|
|
|
|
|
|
|
$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
|
2003-06-12 11:23:25 -04:00
|
|
|
-$(RM) $(LIBTARGET)
|
|
|
|
-$(RM) $(WXDLL)
|
2002-09-02 08:52:32 -04:00
|
|
|
$(LINK) $(LINK_FLAGS) $(LINKDEBUGFLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk @&&!
|
1999-07-14 18:46:12 -04:00
|
|
|
c0d32.obj $(OBJECTS)
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDLL)
|
1999-07-14 18:46:12 -04:00
|
|
|
nul
|
|
|
|
$(PERIPH_LIBS) $(LIBS)
|
|
|
|
wxb32
|
|
|
|
!
|
2003-06-17 09:22:34 -04:00
|
|
|
implib -c -f $(LIBTARGET) $(WXDLL)
|
1999-07-14 18:46:12 -04:00
|
|
|
!endif
|
|
|
|
|
|
|
|
dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
|
2001-06-09 13:55:09 -04:00
|
|
|
dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
version.res:
|
|
|
|
brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
|
2002-06-07 17:17:06 -04:00
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
# $(OBJECTS): $(WXDIR)\include\wx\setup.h
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
!if "$(WXUSINGUNIV)" == "1"
|
|
|
|
########################################################
|
|
|
|
# MSW objects (compile Native or UNIV) - UNIV
|
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXMSWUNIVOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
2003-05-26 07:34:39 -04:00
|
|
|
$text .= $_ . ": ";
|
|
|
|
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
|
2002-12-04 09:11:26 -05:00
|
|
|
$suffix = $project{"WXCUNIVOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
|
|
|
s/obj$/$suffix/;
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/MSWDIR/;
|
2002-12-04 09:11:26 -05:00
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
|
|
|
|
|
|
|
!else
|
|
|
|
########################################################
|
|
|
|
# MSW objects (compile Native or UNIV) - Native
|
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
#${
|
|
|
|
$_ = $project{"WXMSWOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
2003-05-26 07:34:39 -04:00
|
|
|
$text .= $_ . ": ";
|
|
|
|
if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/OBJ_PATH/OLEDIR/; }
|
1999-10-01 19:00:30 -04:00
|
|
|
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
|
|
|
s/obj$/$suffix/;
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/MSWDIR/;
|
1999-07-14 18:46:12 -04:00
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
2002-12-04 09:11:26 -05:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!if "$(WXUSINGUNIV)" == "1"
|
|
|
|
########################################################
|
|
|
|
# UNIV objects
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXUNIVOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/UNIVDIR/;
|
2002-12-04 09:11:26 -05:00
|
|
|
s/obj$/\$(SRCSUFF)/;
|
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# UNIV THEME objects
|
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXUNIVTHEMEOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/UNIVTHEMEDIR/;
|
2002-12-04 09:11:26 -05:00
|
|
|
s/obj$/\$(SRCSUFF)/;
|
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
|
|
|
!endif
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Common objects (always compiled)
|
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXCOMMONOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
1999-07-24 18:17:19 -04:00
|
|
|
$suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/COMMDIR/;
|
1999-07-24 18:17:19 -04:00
|
|
|
s/obj$/$suffix/;
|
1999-07-14 18:46:12 -04:00
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
2002-12-04 09:11:26 -05:00
|
|
|
!if "$(WXUSINGUNIV)" == "1"
|
|
|
|
########################################################
|
|
|
|
# Generic objects (not always compiled, depending on
|
|
|
|
# whether platforms have native implementations)
|
|
|
|
# Native
|
|
|
|
|
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXGENERICUNIVOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/GENDIR/;
|
2002-12-04 09:11:26 -05:00
|
|
|
s/obj$/\$(SRCSUFF)/;
|
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
|
|
|
!else
|
1999-07-14 18:46:12 -04:00
|
|
|
########################################################
|
|
|
|
# Generic objects (not always compiled, depending on
|
|
|
|
# whether platforms have native implementations)
|
2002-12-04 09:11:26 -05:00
|
|
|
# Native
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXGENERICOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/GENDIR/;
|
1999-07-14 18:46:12 -04:00
|
|
|
s/obj$/\$(SRCSUFF)/;
|
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
2002-12-04 09:11:26 -05:00
|
|
|
!endif
|
1999-07-14 18:46:12 -04:00
|
|
|
|
1999-11-15 08:57:22 -05:00
|
|
|
########################################################
|
|
|
|
# HTML objects (always compiled)
|
|
|
|
|
|
|
|
#${
|
|
|
|
$_ = $project{"WXHTMLOBJS"};
|
|
|
|
my @objs = split;
|
|
|
|
foreach (@objs) {
|
|
|
|
$text .= $_ . ": ";
|
2003-05-26 07:34:39 -04:00
|
|
|
s/OBJ_PATH/HTMLDIR/;
|
1999-11-15 08:57:22 -05:00
|
|
|
s/obj$/\$(SRCSUFF)/;
|
|
|
|
$text .= $_ . "\n\n";
|
|
|
|
}
|
|
|
|
#$}
|
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
all_utils:
|
|
|
|
cd $(WXDIR)\utils
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
all_samples:
|
|
|
|
cd $(WXDIR)\samples
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
all_execs:
|
|
|
|
cd $(WXDIR)\utils
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32 all_execs
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
png: $(CFG)
|
|
|
|
cd $(WXDIR)\src\png
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
clean_png:
|
|
|
|
cd $(WXDIR)\src\png
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
zlib: $(CFG)
|
|
|
|
cd $(WXDIR)\src\zlib
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
clean_zlib:
|
|
|
|
cd $(WXDIR)\src\zlib
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
jpeg: $(CFG)
|
|
|
|
cd $(WXDIR)\src\jpeg
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
clean_jpeg:
|
|
|
|
cd $(WXDIR)\src\jpeg
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
|
2000-01-25 10:51:26 -05:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
2001-09-28 10:35:17 -04:00
|
|
|
regex: $(CFG)
|
|
|
|
cd $(WXDIR)\src\regex
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
|
2001-09-28 10:35:17 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
clean_regex:
|
|
|
|
cd $(WXDIR)\src\regex
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
|
2001-09-28 10:35:17 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
2000-01-25 10:51:26 -05:00
|
|
|
tiff: $(CFG)
|
|
|
|
cd $(WXDIR)\src\tiff
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) lib
|
2000-01-25 10:51:26 -05:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
clean_tiff:
|
|
|
|
cd $(WXDIR)\src\tiff
|
2003-06-12 11:23:25 -04:00
|
|
|
${MAKE} -f makefile.b32 $(MAKEFLAGS) clean
|
1999-07-14 18:46:12 -04:00
|
|
|
cd $(WXDIR)\src\msw
|
|
|
|
|
|
|
|
$(CFG): makefile.b32
|
2002-09-02 08:52:32 -04:00
|
|
|
copy &&!
|
2000-07-15 15:51:35 -04:00
|
|
|
-Hc
|
2003-05-26 07:34:39 -04:00
|
|
|
-H=$(OBJ_PATH)\wx32.csm
|
1999-07-14 18:46:12 -04:00
|
|
|
-3
|
|
|
|
-d
|
2000-01-13 04:40:24 -05:00
|
|
|
-a1 # byte alignment
|
1999-07-14 18:46:12 -04:00
|
|
|
-R-
|
|
|
|
-X
|
|
|
|
-w-par
|
|
|
|
-w-aus
|
|
|
|
-w-hid # virtual function A hides virtual function B
|
|
|
|
-tWM
|
|
|
|
|
2002-04-15 14:43:48 -04:00
|
|
|
-I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
|
1999-07-14 18:46:12 -04:00
|
|
|
-I$(WXDIR)\include\wx\msw\gnuwin32
|
|
|
|
|
2000-03-14 09:57:16 -05:00
|
|
|
-L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
|
1999-07-14 18:46:12 -04:00
|
|
|
-D__WXWIN__
|
2002-12-04 09:11:26 -05:00
|
|
|
-D$(PORT)
|
1999-07-14 18:46:12 -04:00
|
|
|
-D__WINDOWS__
|
|
|
|
-DWIN32
|
|
|
|
$(OPT)
|
|
|
|
$(DEBUG_FLAGS)
|
|
|
|
$(WIN95FLAG)
|
|
|
|
! $(CFG)
|
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
cleancfg:
|
|
|
|
-if exist $(OBJ_PATH)\*.cfg $(RM) $(OBJ_PATH)\*.cfg
|
|
|
|
|
1999-07-14 18:46:12 -04:00
|
|
|
clean: $(PERIPH_CLEAN_TARGET)
|
2003-05-26 07:34:39 -04:00
|
|
|
-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.#??"
|
1999-07-14 18:46:12 -04:00
|
|
|
|
2003-05-26 07:34:39 -04:00
|
|
|
cleanall: clean cleancfg
|
1999-07-14 18:46:12 -04:00
|
|
|
|
|
|
|
|
1999-11-15 08:57:22 -05:00
|
|
|
# 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
|
2002-09-02 08:52:32 -04:00
|
|
|
html: wxhtml portinghtml
|
|
|
|
wxhtml: $(DOCDIR)\html\wx\wx.htm
|
1999-11-15 08:57:22 -05:00
|
|
|
htmlhelp: $(DOCDIR)\html\wx\wx.chm
|
|
|
|
ps: wxps referencps
|
2002-09-02 08:52:32 -04:00
|
|
|
wxps: $(WXDIR)\docs\ps\wx.ps
|
|
|
|
referencps: $(WXDIR)\docs\ps\referenc.ps
|
1999-11-15 08:57:22 -05:00
|
|
|
|
|
|
|
portinghtml: $(DOCDIR)\html\porting\port.htm
|
|
|
|
portingrtf: $(DOCDIR)/winhelp/porting.rtf
|
|
|
|
portinghlp: $(DOCDIR)/winhelp/porting.hlp
|
|
|
|
portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
|
2002-09-02 08:52:32 -04:00
|
|
|
portingps: $(WXDIR)\docs\ps\porting.ps
|
1999-11-15 08:57:22 -05:00
|
|
|
|
2003-03-30 17:47:33 -05:00
|
|
|
allhlp: wxhlp portinghlp
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(WXDIR)\utils\dialoged\src
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
|
|
|
# cd $(WXDIR)\utils\wxhelp\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\tex2rtf\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxgraph\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxchart\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxtree\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxbuild\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxgrid\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 hlp
|
1999-11-15 08:57:22 -05:00
|
|
|
|
2003-03-30 17:47:33 -05:00
|
|
|
allhtml: wxhtml portinghtml
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(WXDIR)\utils\dialoged\src
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\dialoged\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\hytext\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxhelp\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\tex2rtf\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxgraph\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxchart\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxtree\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 html
|
1999-11-15 08:57:22 -05:00
|
|
|
|
2003-03-30 17:47:33 -05:00
|
|
|
allps: wxps referencps portingps
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(WXDIR)\utils\dialoged\src
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
2003-03-30 17:47:33 -05:00
|
|
|
allpdfrtf: pdfrtf portingpdfrtf
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(WXDIR)\utils\dialoged\src
|
2002-06-17 05:07:38 -04:00
|
|
|
${MAKE} -f makefile.b32 pdfrtf
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
|
|
|
# cd $(WXDIR)\utils\wxhelp\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\tex2rtf\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxgraph\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxchart\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(WXDIR)\utils\wxtree\src
|
2002-06-17 05:07:38 -04:00
|
|
|
# ${MAKE} -f makefile.b32 ps
|
1999-11-15 08:57:22 -05:00
|
|
|
# cd $(THISDIR)
|
|
|
|
|
|
|
|
$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
|
|
|
|
cd $(DOCDIR)/latex/wx
|
2003-05-26 07:34:39 -04:00
|
|
|
-if exist wx.ph $(RM) wx.ph
|
1999-11-15 08:57:22 -05:00
|
|
|
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
|
2003-05-26 07:34:39 -04:00
|
|
|
-if exist porting.ph $(RM) porting.ph
|
1999-11-15 08:57:22 -05:00
|
|
|
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
|
2003-05-26 07:34:39 -04:00
|
|
|
-if exist techref.ph $(RM) techref.ph
|
1999-11-15 08:57:22 -05:00
|
|
|
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
|
2003-05-26 07:34:39 -04:00
|
|
|
-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
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
|
|
|
$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
|
2002-09-02 08:52:32 -04:00
|
|
|
cd $(DOCDIR)\html\wx
|
|
|
|
-hhc wx.hhp
|
|
|
|
cd $(THISDIR)
|
1999-11-15 08:57:22 -05:00
|
|
|
|
|
|
|
|
|
|
|
$(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
|
2003-05-26 07:34:39 -04:00
|
|
|
-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
|
1999-11-15 08:57:22 -05:00
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
|
|
|
|
cd $(WXDIR)\docs\latex\wx
|
1999-11-15 08:57:22 -05:00
|
|
|
-latex manual
|
|
|
|
-latex manual
|
|
|
|
-makeindx manual
|
|
|
|
-bibtex manual
|
|
|
|
-latex manual
|
|
|
|
-latex manual
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
|
|
|
|
cd $(WXDIR)\docs\latex\porting
|
1999-11-15 08:57:22 -05:00
|
|
|
-latex porting
|
|
|
|
-latex porting
|
|
|
|
-makeindx porting
|
|
|
|
-bibtex porting
|
|
|
|
-latex porting
|
|
|
|
-latex porting
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
|
|
|
|
cd $(WXDIR)\docs\latex\wx
|
1999-11-15 08:57:22 -05:00
|
|
|
-dvips32 -o wx.ps manual
|
|
|
|
move wx.ps $(WXDIR)\docs\ps\wx.ps
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
|
|
|
|
cd $(WXDIR)\docs\latex\porting
|
1999-11-15 08:57:22 -05:00
|
|
|
-dvips32 -o porting.ps porting
|
|
|
|
move porting.ps $(WXDIR)\docs\ps\porting.ps
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(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
|
1999-11-15 08:57:22 -05:00
|
|
|
-latex referenc
|
|
|
|
-latex referenc
|
|
|
|
-makeindx referenc
|
|
|
|
-bibtex referenc
|
|
|
|
-latex referenc
|
|
|
|
-latex referenc
|
|
|
|
cd $(THISDIR)
|
|
|
|
|
2002-09-02 08:52:32 -04:00
|
|
|
$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
|
|
|
|
cd $(WXDIR)\docs\latex\wx
|
1999-11-15 08:57:22 -05:00
|
|
|
-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"
|
|
|
|
|
|
|
|
|
1999-07-23 17:26:57 -04:00
|
|
|
MFTYPE=b32
|
1999-09-29 11:55:50 -04:00
|
|
|
# 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:
|
2003-05-26 07:34:39 -04:00
|
|
|
!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
|
2002-09-02 08:52:32 -04:00
|
|
|
cd $(WXWIN)\distrib\msw\tmake
|
2003-05-26 07:34:39 -04:00
|
|
|
perl $(TM)\tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
2002-09-02 08:52:32 -04:00
|
|
|
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
2003-05-26 07:34:39 -04:00
|
|
|
!endif
|