2000-01-31 14:16:28 -05:00
|
|
|
#!################################################################################
|
|
|
|
#! 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
|
|
|
|
$project{"COMMONOBJS"} .= "parser.o ";
|
|
|
|
|
|
|
|
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) {
|
2002-01-03 18:08:41 -05:00
|
|
|
next if $wxCommon{$file} =~ /\b(R|U|16)\b/;
|
2000-01-31 14:16:28 -05:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
|
|
|
$project{"MSW_SOURCES"} .= "common/" . $file . " ";
|
|
|
|
$project{"COMMONOBJS"} .= $fileobj . " ";
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach $file (sort keys %wxMSW) {
|
2001-02-08 06:19:25 -05:00
|
|
|
next if $wxMSW{$file} =~ /\b16\b/;
|
2000-01-31 14:16:28 -05:00
|
|
|
|
|
|
|
($fileobj = $file) =~ s/cp?p?$/\o/;
|
|
|
|
|
2001-02-08 06:19:25 -05:00
|
|
|
if( $wxMSW{$file} =~ /\bO\b/ ) {
|
|
|
|
$project{"MSW_SOURCES"} .= "msw/ole/" . $file . " ";
|
|
|
|
$project{"OLEOBJS"} .= $fileobj . " ";
|
|
|
|
} else {
|
|
|
|
$project{"MSW_SOURCES"} .= "msw/" . $file . " ";
|
|
|
|
$project{"GUIOBJS"} .= $fileobj . " ";
|
2001-09-30 10:53:57 -04:00
|
|
|
|
|
|
|
if ( $wxMSW{$file} =~ /\bL\b/ ) {
|
|
|
|
$project{"GUI_LOWLEVEL_OBJS"} .= $fileobj . " ";
|
|
|
|
}
|
2001-02-08 06:19:25 -05:00
|
|
|
}
|
2000-01-31 14:16:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
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 . " "
|
|
|
|
}
|
|
|
|
|
2001-10-24 16:41:34 -04:00
|
|
|
foreach $file (sort keys %wxOLEINCLUDE) {
|
|
|
|
$project{"MSW_HEADERS"} .= "msw/ole/" . $file . " ";
|
|
|
|
}
|
|
|
|
|
2000-01-31 14:16:28 -05:00
|
|
|
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 . " "
|
|
|
|
}
|
|
|
|
#$}
|
2002-02-02 18:15:23 -05:00
|
|
|
# This file was automatically generated by tmake
|
2000-01-31 14:16:28 -05:00
|
|
|
# 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");
|
|
|
|
|
2001-09-30 10:53:57 -04:00
|
|
|
GUI_LOWLEVEL_OBJS = \
|
|
|
|
#$ ExpandList("GUI_LOWLEVEL_OBJS");
|
|
|
|
|
2000-01-31 14:16:28 -05:00
|
|
|
HTMLOBJS = \
|
|
|
|
#$ ExpandList("HTMLOBJS");
|
|
|
|
|
2001-02-08 06:19:25 -05:00
|
|
|
OLEOBJS = \
|
|
|
|
#$ ExpandList("OLEOBJS");
|
|
|
|
|