1 #!################################################################################
3 #! Purpose: tmake template file from which src/os2/files.lst containing the
4 #! list of files for wxPM library is generated by tmake
5 #! Author: Vadim Zeitlin
6 #! modified by Stefan Neis for OS/2
9 #!################################################################################
11 #! include the code which parses filelist.txt file and initializes
12 #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and
14 IncludeTemplate("filelist.t");
16 #! find all our sources
17 $project{"COMMONOBJS"} .= "parser.o ";
19 foreach $file (sort keys %wxGeneric) {
20 next if $wxGeneric{$file} =~ /\bP\b/;
22 ($fileobj = $file) =~ s/cp?p?$/\o/;
24 $project{"OS2PM_SOURCES"} .= "generic/" . $file . " ";
25 $project{"GENERICOBJS"} .= $fileobj . " ";
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\bP\b/;
31 ($fileobj = $file) =~ s/cp?p?$/\o/;
33 $project{"OS2PM_SOURCES"} .= "common/" . $file . " ";
34 $project{"COMMONOBJS"} .= $fileobj . " ";
37 foreach $file (sort keys %wxOS2PM) {
38 ($fileobj = $file) =~ s/cp?p?$/\o/;
40 $project{"OS2PM_SOURCES"} .= "os2/" . $file . " ";
41 $project{"GUIOBJS"} .= $fileobj . " ";
44 foreach $file (sort keys %wxHTML) {
45 ($fileobj = $file) =~ s/cp?p?$/\o/;
47 $project{"OS2PM_SOURCES"} .= "html/" . $file . " ";
48 $project{"HTMLOBJS"} .= $fileobj . " ";
50 #! find all our headers
51 foreach $file (sort keys %wxWXINCLUDE) {
52 next if $wxWXINCLUDE{$file} =~ /\bP\b/;
54 $project{"OS2PM_HEADERS"} .= $file . " "
57 foreach $file (sort keys %wxOS2PMINCLUDE) {
58 $project{"OS2PM_HEADERS"} .= "os2/" . $file . " "
61 foreach $file (sort keys %wxGENERICINCLUDE) {
62 $project{"OS2PM_HEADERS"} .= "generic/" . $file . " "
65 foreach $file (sort keys %wxHTMLINCLUDE) {
66 $project{"OS2PM_HEADERS"} .= "html/" . $file . " "
69 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
70 $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " "
73 # This file was automatically generated by tmake
74 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T!
76 #$ ExpandList("OS2PM_SOURCES");
79 #$ ExpandList("OS2PM_HEADERS");
82 #$ ExpandList("COMMONOBJS");
85 #$ ExpandList("GENERICOBJS");
88 #$ ExpandList("GUIOBJS");
91 #$ ExpandList("UNIXOBJS");
94 #$ ExpandList("HTMLOBJS");