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 $project{"OS2PM_HEADERS"} .= $file . " "
64 foreach $file (sort keys %wxOS2PMINCLUDE) {
65 $project{"OS2PM_HEADERS"} .= "os2/" . $file . " "
68 foreach $file (sort keys %wxGENERICINCLUDE) {
69 $project{"OS2PM_HEADERS"} .= "generic/" . $file . " "
72 foreach $file (sort keys %wxHTMLINCLUDE) {
73 $project{"OS2PM_HEADERS"} .= "html/" . $file . " "
76 foreach $file (sort keys %wxPROTOCOLINCLUDE) {
77 $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " "
80 # This file was automatically generated by tmake at #$ Now()
81 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T!
83 #$ ExpandList("OS2PM_SOURCES");
86 #$ ExpandList("OS2PM_HEADERS");
89 #$ ExpandList("COMMONOBJS");
92 #$ ExpandList("COMMONDEPS");
95 #$ ExpandList("GENERICOBJS");
98 #$ ExpandList("GENERICDEPS");
101 #$ ExpandList("GUIOBJS");
104 #$ ExpandList("GUIDEPS");
107 #$ ExpandList("UNIXOBJS");
110 #$ ExpandList("UNIXDEPS");
113 #$ ExpandList("HTMLOBJS");
116 #$ ExpandList("HTMLDEPS");