]>
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 "; | |
e48fa619 SN |
18 | |
19 | foreach $file (sort keys %wxGeneric) { | |
20 | next if $wxGeneric{$file} =~ /\bP\b/; | |
21 | ||
22 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
e48fa619 SN |
23 | |
24 | $project{"OS2PM_SOURCES"} .= "generic/" . $file . " "; | |
25 | $project{"GENERICOBJS"} .= $fileobj . " "; | |
e48fa619 SN |
26 | } |
27 | ||
28 | foreach $file (sort keys %wxCommon) { | |
29 | next if $wxCommon{$file} =~ /\bP\b/; | |
30 | ||
31 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
e48fa619 SN |
32 | |
33 | $project{"OS2PM_SOURCES"} .= "common/" . $file . " "; | |
34 | $project{"COMMONOBJS"} .= $fileobj . " "; | |
e48fa619 SN |
35 | } |
36 | ||
37 | foreach $file (sort keys %wxOS2PM) { | |
38 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
e48fa619 SN |
39 | |
40 | $project{"OS2PM_SOURCES"} .= "os2/" . $file . " "; | |
41 | $project{"GUIOBJS"} .= $fileobj . " "; | |
e48fa619 SN |
42 | } |
43 | ||
44 | foreach $file (sort keys %wxHTML) { | |
45 | ($fileobj = $file) =~ s/cp?p?$/\o/; | |
e48fa619 SN |
46 | |
47 | $project{"OS2PM_SOURCES"} .= "html/" . $file . " "; | |
48 | $project{"HTMLOBJS"} .= $fileobj . " "; | |
e48fa619 SN |
49 | } |
50 | #! find all our headers | |
51 | foreach $file (sort keys %wxWXINCLUDE) { | |
7529690d VZ |
52 | next if $wxWXINCLUDE{$file} =~ /\bP\b/; |
53 | ||
e48fa619 SN |
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 at #$ Now() | |
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 | ||
e48fa619 SN |
84 | GENERICOBJS = \ |
85 | #$ ExpandList("GENERICOBJS"); | |
86 | ||
e48fa619 SN |
87 | GUIOBJS = \ |
88 | #$ ExpandList("GUIOBJS"); | |
89 | ||
e48fa619 SN |
90 | UNIXOBJS = \ |
91 | #$ ExpandList("UNIXOBJS"); | |
92 | ||
e48fa619 SN |
93 | HTMLOBJS = \ |
94 | #$ ExpandList("HTMLOBJS"); | |
95 |