]>
Commit | Line | Data |
---|---|---|
e93c6860 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | !include <../../../build/msw/config.vc> |
e93c6860 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
e93c6860 VS |
15 | OBJS = \ |
16 | vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
9bfe7ad9 | 17 | PENGUIN_CFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \ |
e93c6860 | 18 | $(__DEBUGINFO_0) /Fd$(OBJS)\penguin.pdb $(____DEBUGRUNTIME_2_p) \ |
ec08d395 JS |
19 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
20 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \ | |
21 | /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \ | |
9bfe7ad9 VS |
22 | $(CPPFLAGS) $(CFLAGS) |
23 | PENGUIN_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \ | |
24 | $(__DEBUGINFO_0) /Fd$(OBJS)\penguin.pdb $(____DEBUGRUNTIME_2_p) \ | |
ec08d395 JS |
25 | $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ |
26 | $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \ | |
27 | /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \ | |
9bfe7ad9 | 28 | $(__EXCEPTIONSFLAG_8) $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS) |
e93c6860 VS |
29 | PENGUIN_OBJECTS = \ |
30 | $(OBJS)\penguin_penguin.obj \ | |
31 | $(OBJS)\penguin_lw.obj \ | |
32 | $(OBJS)\penguin_trackball.obj \ | |
33 | $(OBJS)\penguin_penguin.res | |
75a0a7b7 VS |
34 | SETUPHDIR = \ |
35 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
e93c6860 VS |
36 | |
37 | ### Conditionally set variables: ### | |
38 | ||
75a0a7b7 VS |
39 | !if "$(SHARED)" == "0" |
40 | LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG) | |
41 | !endif | |
42 | !if "$(SHARED)" == "1" | |
43 | LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG) | |
44 | !endif | |
e93c6860 VS |
45 | !if "$(USE_GUI)" == "0" |
46 | PORTNAME = base | |
47 | !endif | |
48 | !if "$(USE_GUI)" == "1" | |
49 | PORTNAME = msw | |
50 | !endif | |
51 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
52 | WXDEBUGFLAG = d | |
53 | !endif | |
54 | !if "$(DEBUG_FLAG)" == "1" | |
55 | WXDEBUGFLAG = d | |
56 | !endif | |
57 | !if "$(SHARED)" == "1" | |
58 | WXDLLFLAG = dll | |
59 | !endif | |
60 | !if "$(UNICODE)" == "1" | |
61 | WXUNICODEFLAG = u | |
62 | !endif | |
63 | !if "$(WXUNIV)" == "1" | |
64 | WXUNIVNAME = univ | |
65 | !endif | |
66 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
67 | __DEBUGINFO_0 = /Zi | |
68 | !endif | |
69 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
70 | __DEBUGINFO_0 = | |
71 | !endif | |
72 | !if "$(DEBUG_INFO)" == "0" | |
73 | __DEBUGINFO_0 = | |
74 | !endif | |
75 | !if "$(DEBUG_INFO)" == "1" | |
76 | __DEBUGINFO_0 = /Zi | |
77 | !endif | |
78 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
79 | __DEBUGINFO_1 = /DEBUG | |
80 | !endif | |
81 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
82 | __DEBUGINFO_1 = | |
83 | !endif | |
84 | !if "$(DEBUG_INFO)" == "0" | |
85 | __DEBUGINFO_1 = | |
86 | !endif | |
87 | !if "$(DEBUG_INFO)" == "1" | |
88 | __DEBUGINFO_1 = /DEBUG | |
89 | !endif | |
90 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
91 | __DEBUGINFO_3 = d | |
92 | !endif | |
93 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
94 | __DEBUGINFO_3 = | |
95 | !endif | |
96 | !if "$(DEBUG_INFO)" == "0" | |
97 | __DEBUGINFO_3 = | |
98 | !endif | |
99 | !if "$(DEBUG_INFO)" == "1" | |
100 | __DEBUGINFO_3 = d | |
101 | !endif | |
102 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
103 | __DEBUGRUNTIME_3 = | |
104 | !endif | |
105 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
106 | __DEBUGRUNTIME_3 = d | |
107 | !endif | |
108 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
109 | __DEBUGRUNTIME_3 = $(__DEBUGINFO_3) | |
110 | !endif | |
111 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
112 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
113 | !endif | |
114 | !if "$(DEBUG_FLAG)" == "1" | |
115 | __DEBUG_DEFINE_p = /D__WXDEBUG__ | |
116 | !endif | |
117 | !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" | |
118 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
119 | !endif | |
120 | !if "$(DEBUG_FLAG)" == "1" | |
121 | __DEBUG_DEFINE_p_1 = /d __WXDEBUG__ | |
122 | !endif | |
123 | !if "$(SHARED)" == "1" | |
124 | __DLLFLAG_p = /DWXUSINGDLL | |
125 | !endif | |
126 | !if "$(SHARED)" == "1" | |
127 | __DLLFLAG_p_1 = /d WXUSINGDLL | |
128 | !endif | |
b71531ad VZ |
129 | !if "$(USE_EXCEPTIONS)" == "0" |
130 | __EXCEPTIONSFLAG_8 = | |
131 | !endif | |
132 | !if "$(USE_EXCEPTIONS)" == "1" | |
133 | __EXCEPTIONSFLAG_8 = /GR | |
134 | !endif | |
135 | !if "$(USE_EXCEPTIONS)" == "0" | |
136 | __EXCEPTIONSFLAG_9 = | |
137 | !endif | |
138 | !if "$(USE_EXCEPTIONS)" == "1" | |
139 | __EXCEPTIONSFLAG_9 = /GX | |
140 | !endif | |
e93c6860 VS |
141 | !if "$(USE_GUI)" == "1" |
142 | __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib | |
143 | !endif | |
144 | !if "$(USE_GUI)" == "1" | |
145 | __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib | |
146 | !endif | |
147 | !if "$(USE_GUI)" == "1" | |
148 | __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib | |
149 | !endif | |
ec08d395 JS |
150 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" |
151 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
152 | !endif | |
153 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
154 | __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ | |
155 | !endif | |
156 | !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" | |
157 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
158 | !endif | |
159 | !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" | |
160 | __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ | |
161 | !endif | |
e93c6860 VS |
162 | !if "$(BUILD)" == "debug" |
163 | __OPTIMIZEFLAG_4 = /Od | |
164 | !endif | |
165 | !if "$(BUILD)" == "release" | |
166 | __OPTIMIZEFLAG_4 = /O2 | |
167 | !endif | |
168 | !if "$(RUNTIME_LIBS)" == "dynamic" | |
169 | __RUNTIME_LIBS_7 = D | |
170 | !endif | |
171 | !if "$(RUNTIME_LIBS)" == "static" | |
172 | __RUNTIME_LIBS_7 = T | |
173 | !endif | |
174 | !if "$(UNICODE)" == "1" | |
22cef566 | 175 | __UNICODE_DEFINE_p = /D_UNICODE |
e93c6860 VS |
176 | !endif |
177 | !if "$(UNICODE)" == "1" | |
22cef566 | 178 | __UNICODE_DEFINE_p_1 = /d _UNICODE |
e93c6860 | 179 | !endif |
4e209a20 VS |
180 | !if "$(MSLU)" == "1" |
181 | __UNICOWS_LIB_p = unicows.lib | |
182 | !endif | |
e93c6860 VS |
183 | !if "$(MONOLITHIC)" == "0" |
184 | __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
185 | !endif | |
186 | !if "$(MONOLITHIC)" == "0" | |
187 | __WXLIB_CORE_p = \ | |
188 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib | |
189 | !endif | |
190 | !if "$(MONOLITHIC)" == "1" | |
191 | __WXLIB_MONO_p = \ | |
192 | wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib | |
193 | !endif | |
194 | !if "$(WXUNIV)" == "1" | |
195 | __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ | |
196 | !endif | |
197 | !if "$(WXUNIV)" == "1" | |
198 | __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ | |
199 | !endif | |
200 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
201 | ____DEBUGINFO_2_p = /D_DEBUG | |
202 | !endif | |
203 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
204 | ____DEBUGINFO_2_p = | |
205 | !endif | |
206 | !if "$(DEBUG_INFO)" == "0" | |
207 | ____DEBUGINFO_2_p = | |
208 | !endif | |
209 | !if "$(DEBUG_INFO)" == "1" | |
210 | ____DEBUGINFO_2_p = /D_DEBUG | |
211 | !endif | |
212 | !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" | |
213 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
214 | !endif | |
215 | !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" | |
216 | ____DEBUGINFO_2_p_1 = | |
217 | !endif | |
218 | !if "$(DEBUG_INFO)" == "0" | |
219 | ____DEBUGINFO_2_p_1 = | |
220 | !endif | |
221 | !if "$(DEBUG_INFO)" == "1" | |
222 | ____DEBUGINFO_2_p_1 = /d _DEBUG | |
223 | !endif | |
224 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
225 | ____DEBUGRUNTIME_2_p = | |
226 | !endif | |
227 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
228 | ____DEBUGRUNTIME_2_p = /D_DEBUG | |
229 | !endif | |
230 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
231 | ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p) | |
232 | !endif | |
233 | !if "$(DEBUG_RUNTIME_LIBS)" == "0" | |
234 | ____DEBUGRUNTIME_2_p_1 = | |
235 | !endif | |
236 | !if "$(DEBUG_RUNTIME_LIBS)" == "1" | |
237 | ____DEBUGRUNTIME_2_p_1 = /d _DEBUG | |
238 | !endif | |
239 | !if "$(DEBUG_RUNTIME_LIBS)" == "default" | |
240 | ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1) | |
241 | !endif | |
242 | ||
243 | ||
244 | all: $(OBJS) | |
245 | $(OBJS): | |
246 | -if not exist $(OBJS) mkdir $(OBJS) | |
8b089c5e | 247 | |
e93c6860 VS |
248 | ### Targets: ### |
249 | ||
250 | all: $(OBJS)\penguin.exe data | |
251 | ||
252 | $(OBJS)\penguin_lw.obj: .\lw.cpp | |
253 | $(CXX) /c /nologo /TP /Fo$@ $(PENGUIN_CXXFLAGS) $** | |
254 | ||
255 | $(OBJS)\penguin_penguin.obj: .\penguin.cpp | |
256 | $(CXX) /c /nologo /TP /Fo$@ $(PENGUIN_CXXFLAGS) $** | |
257 | ||
258 | $(OBJS)\penguin_penguin.res: .\penguin.rc | |
ec08d395 | 259 | rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\..\samples $** |
e93c6860 VS |
260 | |
261 | $(OBJS)\penguin_trackball.obj: .\trackball.c | |
262 | $(CC) /c /nologo /TC /Fo$@ $(PENGUIN_CFLAGS) $** | |
263 | ||
264 | clean: | |
265 | -if exist $(OBJS)\*.obj del $(OBJS)\*.obj | |
266 | -if exist $(OBJS)\*.res del $(OBJS)\*.res | |
267 | -if exist $(OBJS)\penguin.exe del $(OBJS)\penguin.exe | |
22cef566 VS |
268 | -if exist $(OBJS)\penguin.ilk del $(OBJS)\penguin.ilk |
269 | -if exist $(OBJS)\penguin.pdb del $(OBJS)\penguin.pdb | |
e93c6860 VS |
270 | |
271 | data: | |
272 | if not exist $(OBJS) mkdir $(OBJS) | |
273 | for %f in (penguin.lwo) do if not exist $(OBJS)\%f copy .\%f $(OBJS) | |
274 | ||
275 | $(OBJS)\penguin.exe: $(PENGUIN_OBJECTS) $(OBJS)\penguin_penguin.res | |
75a0a7b7 | 276 | link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<< |
ec08d395 | 277 | $(PENGUIN_OBJECTS) wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gl.lib opengl32.lib glu32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib |
e93c6860 | 278 | << |