]>
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 | ||
19 | foreach $file (sort keys %wxGeneric) { | |
20 | next if $wxGeneric{$file} =~ /\bP\b/; | |
21 | ||
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
23 | ||
24 | $project{"OS2PM_SOURCES"} .= "generic/" . $file . " "; | |
25 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
26 | } | |
27 | ||
28 | foreach $file (sort keys %wxCommon) { | |
29 | next if $wxCommon{$file} =~ /\bP\b/; | |
30 | ||
31 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
32 | ||
33 | $project{"OS2PM_SOURCES"} .= "common/" . $file . " "; | |
34 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
35 | } | |
36 | ||
37 | foreach $file (sort keys %wxOS2PM) { | |
38 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
39 | ||
40 | $project{"OS2PM_SOURCES"} .= "os2/" . $file . " "; | |
41 | $project{"GUIOBJS"} .= $fileobj . " "; | |
42 | } | |
43 | ||
44 | foreach $file (sort keys %wxHTML) { | |
45 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
46 | ||
47 | $project{"OS2PM_SOURCES"} .= "html/" . $file . " "; | |
48 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
49 | } | |
50 | #! find all our headers | |
51 | foreach $file (sort keys %wxWXINCLUDE) { | |
52 | next if $wxWXINCLUDE{$file} =~ /\bP\b/; | |
53 | ||
54 | $project{"OS2PM_HEADERS"} .= $file . " " | |
55 | } | |
56 | ||
57 | foreach $file (sort keys %wxOS2PMINCLUDE) { | |
58 | $project{"OS2PM_HEADERS"} .= "os2/" . $file . " " | |
59 | } | |
60 | ||
61 | foreach $file (sort keys %wxGENERICINCLUDE) { | |
62 | $project{"OS2PM_HEADERS"} .= "generic/" . $file . " " | |
63 | } | |
64 | ||
65 | foreach $file (sort keys %wxHTMLINCLUDE) { | |
66 | $project{"OS2PM_HEADERS"} .= "html/" . $file . " " | |
67 | } | |
68 | ||
69 | foreach $file (sort keys %wxPROTOCOLINCLUDE) { | |
70 | $project{"OS2PM_HEADERS"} .= "protocol/" . $file . " " | |
71 | } | |
72 | #$} | |
73 | # This file was automatically generated by tmake | |
74 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE OS2.T! | |
75 | ALL_SOURCES = \ | |
76 | #$ ExpandList("OS2PM_SOURCES"); | |
77 | ||
78 | ALL_HEADERS = \ | |
79 | #$ ExpandList("OS2PM_HEADERS"); | |
80 | ||
81 | COMMONOBJS = \ | |
82 | #$ ExpandList("COMMONOBJS"); | |
83 | ||
84 | GENERICOBJS = \ | |
85 | #$ ExpandList("GENERICOBJS"); | |
86 | ||
87 | GUIOBJS = \ | |
88 | #$ ExpandList("GUIOBJS"); | |
89 | ||
90 | UNIXOBJS = \ | |
91 | #$ ExpandList("UNIXOBJS"); | |
92 | ||
93 | HTMLOBJS = \ | |
94 | #$ ExpandList("HTMLOBJS"); | |
95 |