]>
Commit | Line | Data |
---|---|---|
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 | next if $wxWXINCLUDE{$file} =~ /\bP\b/; | |
62 | ||
63 | $project{"OS2PM_HEADERS"} .= $file . " " | |
64 | } | |
65 | ||
66 | foreach $file (sort keys %wxOS2PMINCLUDE) { | |
67 | $project{"OS2PM_HEADERS"} .= "os2/" . $file . " " | |
68 | } | |
69 | ||
70 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
71 | $project{"OS2PM_HEADERS"} .= "generic/" . $file . " " | |
72 | } | |
73 | ||
74 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
75 | $project{"OS2PM_HEADERS"} .= "html/" . $file . " " | |
76 | } | |
77 | ||
78 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
79 | $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " " | |
80 | } | |
81 | #$} | |
82 | # This file was automatically generated by tmake at #$ Now() | |
83 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T! | |
84 | ALL_SOURCES = \ | |
85 | #$ ExpandList("OS2PM_SOURCES"); | |
86 | ||
87 | ALL_HEADERS = \ | |
88 | #$ ExpandList("OS2PM_HEADERS"); | |
89 | ||
90 | COMMONOBJS = \ | |
91 | #$ ExpandList("COMMONOBJS"); | |
92 | ||
93 | COMMONDEPS = \ | |
94 | #$ ExpandList("COMMONDEPS"); | |
95 | ||
96 | GENERICOBJS = \ | |
97 | #$ ExpandList("GENERICOBJS"); | |
98 | ||
99 | GENERICDEPS = \ | |
100 | #$ ExpandList("GENERICDEPS"); | |
101 | ||
102 | GUIOBJS = \ | |
103 | #$ ExpandList("GUIOBJS"); | |
104 | ||
105 | GUIDEPS = \ | |
106 | #$ ExpandList("GUIDEPS"); | |
107 | ||
108 | UNIXOBJS = \ | |
109 | #$ ExpandList("UNIXOBJS"); | |
110 | ||
111 | UNIXDEPS = \ | |
112 | #$ ExpandList("UNIXDEPS"); | |
113 | ||
114 | HTMLOBJS = \ | |
115 | #$ ExpandList("HTMLOBJS"); | |
116 | ||
117 | HTMLDEPS = \ | |
118 | #$ ExpandList("HTMLDEPS"); | |
119 |