]>
Commit | Line | Data |
---|---|---|
e48fa619 SN |
1 | #!################################################################################ |
2 | #! File: os2.t | |
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 | |
7 | #! Created: 28.01.00 | |
8 | #! Version: $Id$ | |
9 | #!################################################################################ | |
10 | #${ | |
11 | #! include the code which parses filelist.txt file and initializes | |
12 | #! %wxCommon, %wxGeneric, %wxHtml, %wxUNIX, %wxGTK, %wxMOTIF and | |
13 | #! %wxOS2PM hashes. | |
14 | IncludeTemplate("filelist.t"); | |
15 | ||
16 | #! find all our sources | |
17 | $project{"COMMONOBJS"} .= "parser.o "; | |
18 | $project{"COMMONDEPS"} .= "parser.d "; | |
19 | ||
20 | foreach $file (sort keys %wxGeneric) { | |
21 | next if $wxGeneric{$file} =~ /\bP\b/; | |
22 | ||
23 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
24 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
25 | ||
26 | $project{"OS2PM_SOURCES"} .= "generic/" . $file . " "; | |
27 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
28 | $project{"GENERICDEPS"} .= $filedep . " " | |
29 | } | |
30 | ||
31 | foreach $file (sort keys %wxCommon) { | |
32 | next if $wxCommon{$file} =~ /\bP\b/; | |
33 | ||
34 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
35 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
36 | ||
37 | $project{"OS2PM_SOURCES"} .= "common/" . $file . " "; | |
38 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
39 | $project{"COMMONDEPS"} .= $filedep . " " | |
40 | } | |
41 | ||
42 | foreach $file (sort keys %wxOS2PM) { | |
43 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
44 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
45 | ||
46 | $project{"OS2PM_SOURCES"} .= "os2/" . $file . " "; | |
47 | $project{"GUIOBJS"} .= $fileobj . " "; | |
48 | $project{"GUIDEPS"} .= $filedep . " " | |
49 | } | |
50 | ||
51 | foreach $file (sort keys %wxHTML) { | |
52 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
53 | ($filedep = $file) =~ s/cp?p?$/\d/; | |
54 | ||
55 | $project{"OS2PM_SOURCES"} .= "html/" . $file . " "; | |
56 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
57 | $project{"HTMLDEPS"} .= $filedep . " " | |
58 | } | |
59 | #! find all our headers | |
60 | foreach $file (sort keys %wxWXINCLUDE) { | |
61 | $project{"OS2PM_HEADERS"} .= $file . " " | |
62 | } | |
63 | ||
64 | foreach $file (sort keys %wxOS2PMINCLUDE) { | |
65 | $project{"OS2PM_HEADERS"} .= "os2/" . $file . " " | |
66 | } | |
67 | ||
68 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
69 | $project{"OS2PM_HEADERS"} .= "generic/" . $file . " " | |
70 | } | |
71 | ||
72 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
73 | $project{"OS2PM_HEADERS"} .= "html/" . $file . " " | |
74 | } | |
75 | ||
76 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
77 | $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " " | |
78 | } | |
79 | #$} | |
80 | # This file was automatically generated by tmake at #$ Now() | |
81 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T! | |
82 | ALL_SOURCES = \ | |
83 | #$ ExpandList("OS2PM_SOURCES"); | |
84 | ||
85 | ALL_HEADERS = \ | |
86 | #$ ExpandList("OS2PM_HEADERS"); | |
87 | ||
88 | COMMONOBJS = \ | |
89 | #$ ExpandList("COMMONOBJS"); | |
90 | ||
91 | COMMONDEPS = \ | |
92 | #$ ExpandList("COMMONDEPS"); | |
93 | ||
94 | GENERICOBJS = \ | |
95 | #$ ExpandList("GENERICOBJS"); | |
96 | ||
97 | GENERICDEPS = \ | |
98 | #$ ExpandList("GENERICDEPS"); | |
99 | ||
100 | GUIOBJS = \ | |
101 | #$ ExpandList("GUIOBJS"); | |
102 | ||
103 | GUIDEPS = \ | |
104 | #$ ExpandList("GUIDEPS"); | |
105 | ||
106 | UNIXOBJS = \ | |
107 | #$ ExpandList("UNIXOBJS"); | |
108 | ||
109 | UNIXDEPS = \ | |
110 | #$ ExpandList("UNIXDEPS"); | |
111 | ||
112 | HTMLOBJS = \ | |
113 | #$ ExpandList("HTMLOBJS"); | |
114 | ||
115 | HTMLDEPS = \ | |
116 | #$ ExpandList("HTMLDEPS"); | |
117 |