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 ";
18 $project{"COMMONDEPS"} .= "parser.d ";
20 foreach $file (sort keys %wxGeneric) {
21 next if $wxGeneric{$file} =~ /\bP\b/;
23 ($fileobj = $file) =~ s/cp?p?$/\o/;
24 ($filedep = $file) =~ s/cp?p?$/\d/;
26 $project{"OS2PM_SOURCES"} .= "generic/" . $file . " ";
27 $project{"GENERICOBJS"} .= $fileobj . " ";
28 $project{"GENERICDEPS"} .= $filedep . " "
31 foreach $file (sort keys %wxCommon) {
32 next if $wxCommon{$file} =~ /\bP\b/;
34 ($fileobj = $file) =~ s/cp?p?$/\o/;
35 ($filedep = $file) =~ s/cp?p?$/\d/;
37 $project{"OS2PM_SOURCES"} .= "common/" . $file . " ";
38 $project{"COMMONOBJS"} .= $fileobj . " ";
39 $project{"COMMONDEPS"} .= $filedep . " "
42 foreach $file (sort keys %wxOS2PM) {
43 ($fileobj = $file) =~ s/cp?p?$/\o/;
44 ($filedep = $file) =~ s/cp?p?$/\d/;
46 $project{"OS2PM_SOURCES"} .= "os2/" . $file . " ";
47 $project{"GUIOBJS"} .= $fileobj . " ";
48 $project{"GUIDEPS"} .= $filedep . " "
51 foreach $file (sort keys %wxHTML) {
52 ($fileobj = $file) =~ s/cp?p?$/\o/;
53 ($filedep = $file) =~ s/cp?p?$/\d/;
55 $project{"OS2PM_SOURCES"} .= "html/" . $file . " ";
56 $project{"HTMLOBJS"} .= $fileobj . " ";
57 $project{"HTMLDEPS"} .= $filedep . " "
59 #! find all our headers
60 foreach $file (sort keys %wxWXINCLUDE) {
61 next if $wxWXINCLUDE{$file} =~ /\bP\b/;
63 $project{"OS2PM_HEADERS"} .= $file . " "
66 foreach $file (sort keys %wxOS2PMINCLUDE) {
67 $project{"OS2PM_HEADERS"} .= "os2/" . $file . " "
70 foreach $file (sort keys %wxGENERICINCLUDE) {
71 $project{"OS2PM_HEADERS"} .= "generic/" . $file . " "
74 foreach $file (sort keys %wxHTMLINCLUDE) {
75 $project{"OS2PM_HEADERS"} .= "html/" . $file . " "
78 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
79 $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " "
82 # This file was automatically generated by tmake at #$ Now()
83 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T!
85 #$ ExpandList("OS2PM_SOURCES");
88 #$ ExpandList("OS2PM_HEADERS");
91 #$ ExpandList("COMMONOBJS");
94 #$ ExpandList("COMMONDEPS");
97 #$ ExpandList("GENERICOBJS");
100 #$ ExpandList("GENERICDEPS");
103 #$ ExpandList("GUIOBJS");
106 #$ ExpandList("GUIDEPS");
109 #$ ExpandList("UNIXOBJS");
112 #$ ExpandList("UNIXDEPS");
115 #$ ExpandList("HTMLOBJS");
118 #$ ExpandList("HTMLDEPS");