]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.nt | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # dll builds a library (wxdll.lib) suitable for creating DLLs | |
15 | # * Note that the dll target is experimental - see docs/dll.txt. | |
16 | # | |
17 | !include <..\ntwxwin.mak> | |
18 | ||
19 | THISDIR=$(WXWIN)\src\msw | |
20 | ||
21 | !if "$(WXMAKINGDLL)" == "1" | |
22 | LIBTARGET=$(WXDIR)\lib\wx200.dll | |
23 | DUMMYOBJ=dummydll.obj | |
24 | !else | |
25 | LIBTARGET=$(WXLIB) | |
26 | DUMMYOBJ=dummy.obj | |
27 | !endif | |
28 | ||
29 | # Please set these according to the settings in wx_setup.h, so we can include | |
30 | # the appropriate libraries in wx.lib | |
31 | ||
32 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
33 | MINIMAL_WXWINDOWS_SETUP=0 | |
34 | ||
35 | USE_XPM_IN_MSW=0 | |
36 | ||
37 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
38 | USE_XPM_IN_MSW=0 | |
39 | !endif | |
40 | ||
41 | PERIPH_LIBS= | |
42 | PERIPH_TARGET= | |
43 | PERIPH_CLEAN_TARGET= | |
44 | ||
45 | !if "$(USE_XPM_IN_MSW)" == "1" | |
46 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
47 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
48 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
49 | !endif | |
50 | ||
51 | GENDIR=..\generic | |
52 | COMMDIR=..\common | |
53 | OLEDIR=ole | |
54 | MSWDIR=. | |
55 | ||
56 | DOCDIR = $(WXDIR)\docs | |
57 | ||
58 | GENERICOBJS= \ | |
59 | $(GENDIR)\choicdgg.obj \ | |
60 | $(GENDIR)\colrdlgg.obj \ | |
61 | $(GENDIR)\fontdlgg.obj \ | |
62 | $(GENDIR)\gridg.obj \ | |
63 | $(GENDIR)\helpxlp.obj \ | |
64 | $(GENDIR)\msgdlgg.obj \ | |
65 | $(GENDIR)\panelg.obj \ | |
66 | $(GENDIR)\printps.obj \ | |
67 | $(GENDIR)\prntdlgg.obj \ | |
68 | $(GENDIR)\scrolwin.obj \ | |
69 | $(GENDIR)\splitter.obj \ | |
70 | $(GENDIR)\statusbr.obj \ | |
71 | $(GENDIR)\tabg.obj \ | |
72 | $(GENDIR)\textdlgg.obj | |
73 | ||
74 | COMMONOBJS = \ | |
75 | $(COMMDIR)\cmndata.obj \ | |
76 | $(COMMDIR)\config.obj \ | |
77 | $(COMMDIR)\docview.obj \ | |
78 | $(COMMDIR)\dynarray.obj \ | |
79 | $(COMMDIR)\event.obj \ | |
80 | $(COMMDIR)\file.obj \ | |
81 | $(COMMDIR)\fileconf.obj \ | |
82 | $(COMMDIR)\filefn.obj \ | |
83 | $(COMMDIR)\gdicmn.obj \ | |
84 | $(COMMDIR)\intl.obj \ | |
85 | $(COMMDIR)\ipcbase.obj \ | |
86 | $(COMMDIR)\helpbase.obj \ | |
87 | $(COMMDIR)\layout.obj \ | |
88 | $(COMMDIR)\log.obj \ | |
89 | $(COMMDIR)\memory.obj \ | |
90 | $(COMMDIR)\module.obj \ | |
91 | $(COMMDIR)\object.obj \ | |
92 | $(COMMDIR)\odbc.obj \ | |
93 | $(COMMDIR)\postscrp.obj \ | |
94 | $(COMMDIR)\prntbase.obj \ | |
95 | $(COMMDIR)\resource.obj \ | |
96 | $(COMMDIR)\tbarbase.obj \ | |
97 | $(COMMDIR)\tbarsmpl.obj \ | |
98 | $(COMMDIR)\textfile.obj \ | |
99 | $(COMMDIR)\timercmn.obj \ | |
100 | $(COMMDIR)\utilscmn.obj \ | |
101 | $(COMMDIR)\validate.obj \ | |
102 | $(COMMDIR)\valtext.obj \ | |
103 | $(COMMDIR)\date.obj \ | |
104 | $(COMMDIR)\hash.obj \ | |
105 | $(COMMDIR)\list.obj \ | |
106 | $(COMMDIR)\string.obj \ | |
107 | $(COMMDIR)\time.obj \ | |
108 | $(COMMDIR)\wxexpr.obj \ | |
cf447356 GL |
109 | $(COMMDIR)\y_tab.obj \ |
110 | $(COMMDIR)\datstrm.obj \ | |
ca7731b7 GL |
111 | $(COMMDIR)\extended.obj \ |
112 | $(COMMDIR)\process.obj | |
2bda0e17 KB |
113 | |
114 | # $(COMMDIR)\wxstrgnu\wxstrgnu.obj \ | |
115 | # $(COMMDIR)\wxstrgnu\wxregex.obj \ | |
116 | # $(COMMDIR)\matrix.obj \ | |
117 | ||
118 | MSWOBJS = \ | |
119 | $(MSWDIR)\app.obj \ | |
120 | $(MSWDIR)\bitmap.obj \ | |
121 | $(MSWDIR)\bmpbuttn.obj \ | |
122 | $(MSWDIR)\brush.obj \ | |
123 | $(MSWDIR)\button.obj \ | |
124 | $(MSWDIR)\checkbox.obj \ | |
125 | $(MSWDIR)\checklst.obj \ | |
126 | $(MSWDIR)\choice.obj \ | |
127 | $(MSWDIR)\clipbrd.obj \ | |
128 | $(MSWDIR)\colordlg.obj \ | |
129 | $(MSWDIR)\colour.obj \ | |
130 | $(MSWDIR)\combobox.obj \ | |
131 | $(MSWDIR)\control.obj \ | |
132 | $(MSWDIR)\curico.obj \ | |
133 | $(MSWDIR)\cursor.obj \ | |
134 | $(MSWDIR)\data.obj \ | |
135 | $(MSWDIR)\dc.obj \ | |
136 | $(MSWDIR)\dcmemory.obj \ | |
137 | $(MSWDIR)\dcclient.obj \ | |
138 | $(MSWDIR)\dcprint.obj \ | |
139 | $(MSWDIR)\dcscreen.obj \ | |
140 | $(MSWDIR)\dde.obj \ | |
141 | $(MSWDIR)\dialog.obj \ | |
142 | $(MSWDIR)\dib.obj \ | |
143 | $(MSWDIR)\dibutils.obj \ | |
144 | $(MSWDIR)\dirdlg.obj \ | |
145 | $(MSWDIR)\filedlg.obj \ | |
146 | $(MSWDIR)\font.obj \ | |
147 | $(MSWDIR)\fontdlg.obj \ | |
148 | $(MSWDIR)\frame.obj \ | |
da87a1ca JS |
149 | $(MSWDIR)\gauge95.obj \ |
150 | $(MSWDIR)\gaugemsw.obj \ | |
2bda0e17 KB |
151 | $(MSWDIR)\gdiobj.obj \ |
152 | $(MSWDIR)\helpwin.obj \ | |
153 | $(MSWDIR)\icon.obj \ | |
154 | $(MSWDIR)\imaglist.obj \ | |
155 | $(MSWDIR)\joystick.obj \ | |
156 | $(MSWDIR)\listbox.obj \ | |
157 | $(MSWDIR)\listctrl.obj \ | |
158 | $(MSWDIR)\main.obj \ | |
159 | $(MSWDIR)\mdi.obj \ | |
160 | $(MSWDIR)\menu.obj \ | |
161 | $(MSWDIR)\menuitem.obj \ | |
162 | $(MSWDIR)\metafile.obj \ | |
163 | $(MSWDIR)\minifram.obj \ | |
164 | $(MSWDIR)\msgdlg.obj \ | |
165 | $(MSWDIR)\nativdlg.obj \ | |
166 | $(MSWDIR)\ownerdrw.obj \ | |
167 | $(MSWDIR)\palette.obj \ | |
168 | $(MSWDIR)\pen.obj \ | |
169 | $(MSWDIR)\penwin.obj \ | |
170 | $(MSWDIR)\pnghand.obj \ | |
171 | $(MSWDIR)\printdlg.obj \ | |
172 | $(MSWDIR)\printwin.obj \ | |
173 | $(MSWDIR)\radiobox.obj \ | |
174 | $(MSWDIR)\radiobut.obj \ | |
175 | $(MSWDIR)\region.obj \ | |
176 | $(MSWDIR)\registry.obj \ | |
177 | $(MSWDIR)\scrolbar.obj \ | |
178 | $(MSWDIR)\settings.obj \ | |
da87a1ca JS |
179 | $(MSWDIR)\slidrmsw.obj \ |
180 | $(MSWDIR)\slider95.obj \ | |
2bda0e17 KB |
181 | $(MSWDIR)\spinbutt.obj \ |
182 | $(MSWDIR)\statbmp.obj \ | |
183 | $(MSWDIR)\statbox.obj \ | |
184 | $(MSWDIR)\statbr95.obj \ | |
185 | $(MSWDIR)\stattext.obj \ | |
186 | $(MSWDIR)\tabctrl.obj \ | |
187 | $(MSWDIR)\taskbar.obj \ | |
188 | $(MSWDIR)\tbar95.obj \ | |
189 | $(MSWDIR)\tbarmsw.obj \ | |
190 | $(MSWDIR)\textctrl.obj \ | |
191 | $(MSWDIR)\thread.obj \ | |
192 | $(MSWDIR)\timer.obj \ | |
193 | $(MSWDIR)\treectrl.obj \ | |
194 | $(MSWDIR)\utils.obj \ | |
cf447356 | 195 | $(MSWDIR)\utilsexc.obj \ |
2bda0e17 KB |
196 | $(MSWDIR)\wave.obj \ |
197 | $(MSWDIR)\window.obj \ | |
198 | $(OLEDIR)\droptgt.obj \ | |
43d811ea JS |
199 | $(OLEDIR)\dropsrc.obj \ |
200 | $(OLEDIR)\dataobj.obj \ | |
2bda0e17 KB |
201 | $(OLEDIR)\oleutils.obj \ |
202 | $(OLEDIR)\uuid.obj | |
203 | ||
43d811ea | 204 | |
2bda0e17 KB |
205 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) |
206 | ||
207 | # Normal, static library | |
208 | all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) | |
209 | ||
210 | # wxWindows library as DLL | |
211 | dll: | |
212 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 | |
213 | ||
214 | # wxWindows + app as DLL. Only affects main.cpp. | |
215 | dllapp: | |
216 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 | |
217 | ||
218 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
219 | dllnp: | |
220 | nmake -f makefile.nt all NOMAIN=1 FINAL=$(FINAL) DLL=1 | |
221 | ||
222 | # Use this to make dummy.obj and generate a PCH. | |
223 | # You might use the dll target, then the pch target, in order to | |
224 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
225 | # | |
226 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
227 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
228 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
229 | # In fact headers are compiled differently depending on whether a DLL is being made | |
230 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
231 | # in each case) so you couldn't use the same PCH. | |
232 | pch: | |
233 | nmake -f makefile.nt pch1 WXUSINGDLL=1 | |
234 | ||
235 | pch1: $(DUMMYOBJ) | |
236 | ||
237 | $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
238 | -erase $(LIBTARGET) | |
239 | $(implib) @<< | |
240 | -out:$@ | |
241 | -machine:$(CPU) | |
242 | $(OBJECTS) $(PERIPH_LIBS) | |
243 | << | |
244 | ||
245 | # Update the import library | |
246 | $(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS) | |
247 | $(implib) @<< | |
248 | -machine:$(CPU) | |
249 | -def:wx.def | |
250 | $(DUMMYOBJ) $(OBJECTS) | |
251 | -out:$(WXDIR)\lib\wx200.lib | |
252 | << | |
253 | ||
254 | # Update the dynamic link library | |
255 | $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib | |
256 | $(link) @<< | |
257 | $(LINKFLAGS) | |
258 | -out:$(WXDIR)\lib\wx200.dll | |
259 | $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib | |
260 | << | |
261 | ||
262 | ######################################################## | |
263 | # Windows-specific objects | |
264 | ||
265 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
266 | cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
267 | ||
268 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
269 | cl @<< | |
270 | $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
271 | << | |
272 | ||
273 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) | |
274 | cl @<< | |
275 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
276 | << | |
277 | ||
278 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
279 | cl @<< | |
280 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
281 | << | |
282 | ||
283 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
284 | cl @<< | |
285 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
286 | << | |
287 | ||
288 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
289 | cl @<< | |
290 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
291 | << | |
292 | ||
293 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
294 | cl @<< | |
295 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
296 | << | |
297 | ||
298 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
299 | cl @<< | |
300 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
301 | << | |
302 | ||
303 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
304 | cl @<< | |
305 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
306 | << | |
307 | ||
308 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
309 | cl @<< | |
310 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
311 | << | |
312 | ||
313 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
314 | cl @<< | |
315 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
316 | << | |
317 | ||
318 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
319 | cl @<< | |
320 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
321 | << | |
322 | ||
323 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
324 | cl @<< | |
325 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
326 | << | |
327 | ||
328 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
329 | cl @<< | |
330 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
331 | << | |
332 | ||
333 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
334 | cl @<< | |
335 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
336 | << | |
337 | ||
338 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
339 | cl @<< | |
340 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
341 | << | |
342 | ||
343 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
344 | cl @<< | |
345 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
346 | << | |
347 | ||
348 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
349 | cl @<< | |
350 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
351 | << | |
352 | ||
353 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
354 | cl @<< | |
355 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
356 | << | |
357 | ||
358 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
359 | cl @<< | |
360 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
361 | << | |
362 | ||
363 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
364 | cl @<< | |
365 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
366 | << | |
367 | ||
368 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
369 | cl @<< | |
370 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
371 | << | |
372 | ||
373 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
374 | cl @<< | |
375 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
376 | << | |
377 | ||
378 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
379 | cl @<< | |
380 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
381 | << | |
382 | ||
383 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
384 | cl @<< | |
385 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
386 | << | |
387 | ||
388 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
389 | cl @<< | |
390 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
391 | << | |
392 | ||
393 | $(MSWDIR)/dibutils.obj: $*.$(SRCSUFF) | |
394 | cl @<< | |
395 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
396 | << | |
397 | ||
398 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
399 | cl @<< | |
400 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
401 | << | |
402 | ||
403 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
404 | cl @<< | |
405 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
406 | << | |
407 | ||
408 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
409 | cl @<< | |
410 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
411 | << | |
412 | ||
413 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
414 | cl @<< | |
415 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
416 | << | |
417 | ||
418 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
419 | cl @<< | |
420 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
421 | << | |
422 | ||
da87a1ca JS |
423 | $(MSWDIR)/gauge95.obj: $*.$(SRCSUFF) |
424 | cl @<< | |
425 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
426 | << | |
427 | ||
428 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
429 | cl @<< |
430 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
431 | << | |
432 | ||
433 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
434 | cl @<< | |
435 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
436 | << | |
437 | ||
438 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
439 | cl @<< | |
440 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
441 | << | |
442 | ||
443 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
444 | cl @<< | |
445 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
446 | << | |
447 | ||
448 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
449 | cl @<< | |
450 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
451 | << | |
452 | ||
453 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
454 | cl @<< | |
455 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
456 | << | |
457 | ||
458 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
459 | cl @<< | |
460 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
461 | << | |
462 | ||
463 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
464 | cl @<< | |
465 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
466 | << | |
467 | ||
468 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
469 | cl @<< | |
470 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
471 | << | |
472 | ||
473 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
474 | cl @<< | |
475 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
476 | << | |
477 | ||
478 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
479 | cl @<< | |
480 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
481 | << | |
482 | ||
483 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
484 | cl @<< | |
485 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
486 | << | |
487 | ||
488 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
489 | cl @<< | |
490 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
491 | << | |
492 | ||
493 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
494 | cl @<< | |
495 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
496 | << | |
497 | ||
498 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
499 | cl @<< | |
500 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
501 | << | |
502 | ||
1c089c47 JS |
503 | $(MSWDIR)/notebook.obj: $*.$(SRCSUFF) |
504 | cl @<< | |
505 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
506 | << | |
507 | ||
2bda0e17 KB |
508 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) |
509 | cl @<< | |
510 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
511 | << | |
512 | ||
513 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
514 | cl @<< | |
515 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
516 | << | |
517 | ||
518 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
519 | cl @<< | |
520 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
521 | << | |
522 | ||
523 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
524 | cl @<< | |
525 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
526 | << | |
527 | ||
528 | $(MSWDIR)/pnghand.obj: $*.$(SRCSUFF) | |
529 | cl @<< | |
530 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
531 | << | |
532 | ||
533 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
534 | cl @<< | |
535 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
536 | << | |
537 | ||
538 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
539 | cl @<< | |
540 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
541 | << | |
542 | ||
543 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
544 | cl @<< | |
545 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
546 | << | |
547 | ||
548 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
549 | cl @<< | |
550 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
551 | << | |
552 | ||
553 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
554 | cl @<< | |
555 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
556 | << | |
557 | ||
558 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
559 | cl @<< | |
560 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
561 | << | |
562 | ||
563 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
564 | cl @<< | |
565 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
566 | << | |
567 | ||
568 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
569 | cl @<< | |
570 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
571 | << | |
572 | ||
da87a1ca JS |
573 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) |
574 | cl @<< | |
575 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
576 | << | |
577 | ||
578 | $(MSWDIR)/slider95.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
579 | cl @<< |
580 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
581 | << | |
582 | ||
583 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
584 | cl @<< | |
585 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
586 | << | |
587 | ||
588 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
589 | cl @<< | |
590 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
591 | << | |
592 | ||
593 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
594 | cl @<< | |
595 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
596 | << | |
597 | ||
598 | $(MSWDIR)/statbr95.obj: $*.$(SRCSUFF) | |
599 | cl @<< | |
600 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
601 | << | |
602 | ||
603 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
604 | cl @<< | |
605 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
606 | << | |
607 | ||
608 | $(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF) | |
609 | cl @<< | |
610 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
611 | << | |
612 | ||
613 | $(MSWDIR)/taskbar.obj: $*.$(SRCSUFF) | |
614 | cl @<< | |
615 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
616 | << | |
617 | ||
618 | $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF) | |
619 | cl @<< | |
620 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
621 | << | |
622 | ||
623 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
624 | cl @<< | |
625 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
626 | << | |
627 | ||
628 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
629 | cl @<< | |
630 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
631 | << | |
632 | ||
633 | $(MSWDIR)/thread.obj: $*.$(SRCSUFF) | |
634 | cl @<< | |
635 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
636 | << | |
637 | ||
638 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
639 | cl @<< | |
640 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
641 | << | |
642 | ||
643 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
644 | cl @<< | |
645 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
646 | << | |
647 | ||
648 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
649 | cl @<< | |
650 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
651 | << | |
652 | ||
cf447356 GL |
653 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) |
654 | cl @<< | |
655 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
656 | << | |
657 | ||
2bda0e17 KB |
658 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) |
659 | echo $(CPPFLAGS) | |
660 | cl @<< | |
661 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
662 | << | |
663 | ||
664 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
665 | echo $(CPPFLAGS) | |
666 | cl @<< | |
667 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
668 | << | |
669 | ||
670 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
671 | echo $(CPPFLAGS) | |
672 | cl @<< | |
673 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
43d811ea JS |
674 | << |
675 | ||
676 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
677 | echo $(CPPFLAGS) | |
678 | cl @<< | |
679 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
680 | << | |
681 | ||
682 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
683 | echo $(CPPFLAGS) | |
684 | cl @<< | |
685 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
2bda0e17 KB |
686 | << |
687 | ||
688 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
689 | echo $(CPPFLAGS) | |
690 | cl @<< | |
691 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
692 | << | |
693 | ||
694 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
695 | echo $(CPPFLAGS) | |
696 | cl @<< | |
697 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
698 | << | |
699 | ||
700 | ######################################################## | |
701 | # Common objects (always compiled) | |
702 | ||
703 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
704 | echo $(CPPFLAGS) | |
705 | cl @<< | |
706 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
707 | << | |
708 | ||
709 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
710 | echo $(CPPFLAGS) | |
711 | cl @<< | |
712 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
713 | << | |
714 | ||
715 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
716 | cl @<< | |
717 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
718 | << | |
719 | ||
720 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) | |
721 | cl @<< | |
722 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
723 | << | |
724 | ||
725 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
726 | cl @<< | |
727 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
728 | << | |
729 | ||
730 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
731 | cl @<< | |
732 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
733 | << | |
734 | ||
735 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
736 | cl @<< | |
737 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
738 | << | |
739 | ||
740 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
741 | cl @<< | |
742 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
743 | << | |
744 | ||
745 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) | |
746 | cl @<< | |
747 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
748 | << | |
749 | ||
750 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) | |
751 | cl @<< | |
752 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
753 | << | |
754 | ||
755 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
756 | cl @<< | |
757 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
758 | << | |
759 | ||
760 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
761 | cl @<< | |
762 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
763 | << | |
764 | ||
765 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
766 | cl @<< | |
767 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
768 | << | |
769 | ||
770 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
771 | cl @<< | |
772 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
773 | << | |
774 | ||
775 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
776 | cl @<< | |
777 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
778 | << | |
779 | ||
780 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
781 | cl @<< | |
782 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
783 | << | |
784 | ||
785 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
786 | cl @<< | |
787 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
788 | << | |
789 | ||
790 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
791 | cl @<< | |
792 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
793 | << | |
794 | ||
795 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
796 | cl @<< | |
797 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
798 | << | |
799 | ||
800 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
801 | cl @<< | |
802 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
803 | << | |
804 | ||
805 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
806 | cl @<< | |
807 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
808 | << | |
809 | ||
810 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
811 | cl @<< | |
812 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
813 | << | |
814 | ||
815 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
816 | cl @<< | |
817 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
818 | << | |
819 | ||
820 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
821 | cl @<< | |
822 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
823 | << | |
824 | ||
825 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
826 | cl @<< | |
827 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
828 | << | |
829 | ||
830 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
831 | cl @<< | |
832 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
833 | << | |
834 | ||
835 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
836 | cl @<< | |
837 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
838 | << | |
839 | ||
840 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
841 | cl @<< | |
842 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
843 | << | |
844 | ||
845 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
846 | cl @<< | |
847 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
848 | << | |
849 | ||
850 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
851 | echo $(CPPFLAGS) | |
852 | cl @<< | |
853 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
854 | << | |
855 | ||
856 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
857 | cl @<< | |
858 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
859 | << | |
860 | ||
861 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
862 | cl @<< | |
863 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
864 | << | |
865 | ||
866 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
867 | cl @<< | |
868 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
869 | << | |
870 | ||
871 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
872 | cl @<< | |
873 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
874 | << | |
875 | ||
876 | #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
877 | # cl @<< | |
878 | #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
879 | #<< | |
880 | ||
881 | #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
882 | # cl @<< | |
883 | #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
884 | #<< | |
885 | ||
886 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
887 | cl @<< | |
888 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
889 | << | |
890 | ||
cf447356 GL |
891 | $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF) |
892 | cl @<< | |
893 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
894 | << | |
895 | ||
896 | $(COMMDIR)/extended.obj: $*.c | |
897 | cl @<< | |
5260b1c5 | 898 | $(CPPFLAGS2) /c /Tp $*.c /Fo$@ |
cf447356 GL |
899 | << |
900 | ||
ca7731b7 GL |
901 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) |
902 | cl @<< | |
903 | $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
904 | << | |
905 | ||
2bda0e17 KB |
906 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c |
907 | cl @<< | |
908 | $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
909 | << | |
910 | ||
911 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
912 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
913 | ||
914 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
915 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
916 | ||
917 | ######################################################## | |
918 | # Generic objects (not always compiled, depending on | |
919 | # whether platforms have native implementations) | |
920 | ||
921 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
922 | cl @<< | |
923 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
924 | << | |
925 | ||
926 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
927 | cl @<< | |
928 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
929 | << | |
930 | ||
931 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
932 | cl @<< | |
933 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
934 | << | |
935 | ||
936 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
937 | cl @<< | |
938 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
939 | << | |
940 | ||
941 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
942 | cl @<< | |
943 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
944 | << | |
945 | ||
946 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
947 | cl @<< | |
948 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
949 | << | |
950 | ||
951 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
952 | cl @<< | |
953 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
954 | << | |
955 | ||
956 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
957 | cl @<< | |
958 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
959 | << | |
960 | ||
961 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
962 | cl @<< | |
963 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
964 | << | |
965 | ||
966 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) | |
967 | cl @<< | |
968 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
969 | << | |
970 | ||
971 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
972 | cl @<< | |
973 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
974 | << | |
975 | ||
976 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
977 | cl @<< | |
978 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
979 | << | |
980 | ||
981 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
982 | cl @<< | |
983 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
984 | << | |
985 | ||
986 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
987 | cl @<< | |
988 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
989 | << | |
990 | ||
991 | #test: $(DUMMYOBJ) $(COMMDIR)/string.obj | |
992 | ||
993 | ||
994 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
995 | ||
996 | # Peripheral components | |
997 | ||
998 | xpm: | |
999 | cd $(WXDIR)\contrib\wxxpm | |
1000 | nmake -f makefile.nt FINAL=$(FINAL) | |
1001 | cd $(WXDIR)\src\msw | |
1002 | ||
1003 | clean_xpm: | |
1004 | cd $(WXDIR)\contrib\wxxpm | |
1005 | nmake -f makefile.nt clean | |
1006 | cd $(WXDIR)\src\msw | |
1007 | ||
1008 | rcparser: | |
1009 | cd $(WXDIR)\utils\rcparser\src | |
1010 | nmake -f makefile.nt FINAL=$(FINAL) | |
1011 | cd $(WXDIR)\src\msw | |
1012 | ||
1013 | wxstring: | |
1014 | cd $(WXDIR)\contrib\wxstring | |
1015 | nmake -f makefile.nt OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" FINAL=$(FINAL) | |
1016 | cd $(WXDIR)\src\msw | |
1017 | ||
1018 | clean_wxstring: | |
1019 | cd $(WXDIR)\contrib\wxstring | |
1020 | nmake -f makefile.nt clean | |
1021 | cd $(WXDIR)\src\msw | |
1022 | ||
1023 | clean_rcp: | |
1024 | cd $(WXDIR)\utils\rcparser\src | |
1025 | nmake -f makefile.nt clean | |
1026 | cd $(WXDIR)\src\msw | |
1027 | ||
1028 | clean: $(PERIPH_CLEAN_TARGET) | |
1029 | -erase *.obj | |
1030 | -erase $(LIBTARGET) | |
dabeb021 | 1031 | -erase $(WXDIR)\lib\*.pdb |
2bda0e17 KB |
1032 | -erase ..\..\lib\wx200.dll |
1033 | -erase ..\..\lib\wx200.lib | |
1034 | -erase ..\..\lib\wx200.exp | |
1035 | -erase ..\..\lib\wx200.pdb | |
1036 | -erase ..\..\lib\wx200.ilk | |
1037 | -erase *.pdb | |
1038 | -erase *.sbr | |
1039 | -erase *.pch | |
1040 | cd $(WXDIR)\src\msw | |
1041 | cd $(GENDIR) | |
1042 | -erase *.pdb | |
1043 | -erase *.sbr | |
1044 | -erase *.obj | |
1045 | cd $(WXDIR)\src\msw | |
1046 | cd $(COMMDIR) | |
1047 | -erase *.pdb | |
1048 | -erase *.sbr | |
1049 | -erase *.obj | |
1050 | -erase y_tab.c | |
1051 | -erase lex_yy.c | |
1052 | cd $(WXDIR)\src\msw | |
1053 | cd $(OLEDIR) | |
1054 | -erase *.pdb | |
1055 | -erase *.sbr | |
1056 | -erase *.obj | |
1057 | cd $(WXDIR)\src\msw | |
1058 | # -erase ..\common\wxstrgnu\*.obj | |
1059 | # -erase ..\common\lex_yy.c | |
1060 | # -erase ..\common\y_tab.c | |
1061 | ||
1062 | cleanall: clean | |
1063 | ||
1064 | # Making documents | |
1065 | docs: hlp | |
1066 | hlp: wxhlp refhlp portinghlp # faqhlp | |
1067 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
1068 | faqhlp: $(DOCDIR)/winhelp/faq.hlp | |
1069 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
1070 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
1071 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
1072 | pdfrtf: $(DOCDIR)/pdf/wx.rtf | |
1073 | faqpdfrtf: $(DOCDIR)/pdf/faq.rtf | |
1074 | refpdfrtf: $(DOCDIR)/pdf/techref.rtf | |
1075 | html: wxhtml # faqhtml | |
1076 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
1077 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
1078 | ps: wxps referencps # faqps | |
1079 | wxps: $(WXDIR)\docs\ps\wx.ps | |
1080 | faqps: $(WXDIR)\docs\ps\faq.ps | |
1081 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
1082 | ||
1083 | portinghtml: $(DOCDIR)\html\porting\port.htm | |
1084 | portingrtf: $(DOCDIR)/winhelp/porting.rtf | |
1085 | portinghlp: $(DOCDIR)/winhelp/porting.hlp | |
1086 | portingpdfrtf: $(DOCDIR)/pdf/porting.rtf | |
1087 | portingps: $(WXDIR)\docs\ps\porting.ps | |
1088 | ||
1089 | alldocs: allhlp allhtml allpdfrtf # allps # TeX can't cope with references! | |
1090 | ||
1091 | allhlp: wxhlp portinghlp # faqhlp | |
1092 | cd $(WXDIR)\utils\wxprop\src | |
1093 | nmake -f makefile.nt hlp | |
1094 | cd $(WXDIR)\utils\dialoged\src | |
1095 | nmake -f makefile.nt hlp | |
1096 | cd $(THISDIR) | |
1097 | ||
1098 | # cd $(WXDIR)\utils\wxhelp\src | |
1099 | # nmake -f makefile.nt hlp | |
1100 | # cd $(WXDIR)\utils\wxhelp2\src | |
1101 | # nmake -f makefile.nt hlp | |
1102 | # cd $(WXDIR)\utils\prologio\src | |
1103 | # nmake -f makefile.nt hlp | |
1104 | # cd $(WXDIR)\utils\tex2rtf\src | |
1105 | # nmake -f makefile.nt hlp | |
1106 | # cd $(WXDIR)\utils\wxgraph\src | |
1107 | # nmake -f makefile.nt hlp | |
1108 | # cd $(WXDIR)\utils\wxchart\src | |
1109 | # nmake -f makefile.nt hlp | |
1110 | # cd $(WXDIR)\utils\wxtree\src | |
1111 | # nmake -f makefile.nt hlp | |
1112 | # cd $(WXDIR)\utils\wxbuild\src | |
1113 | # nmake -f makefile.nt hlp | |
1114 | # cd $(WXDIR)\utils\wxgrid\src | |
1115 | # nmake -f makefile.nt hlp | |
1116 | # cd $(WXDIR)\utils\wxtab\src | |
1117 | # nmake -f makefile.nt hlp | |
1118 | ||
1119 | # cd $(WXDIR)\utils\wxclips\src | |
1120 | # nmake -f makefile.nt hlp | |
1121 | # cd $(WXDIR)\utils\clips2c\src | |
1122 | # nmake -f makefile.nt hlp | |
1123 | ||
1124 | allhtml: wxhtml portinghtml # faqhtml | |
1125 | cd $(WXDIR)\utils\wxprop\src | |
1126 | nmake -f makefile.nt html | |
1127 | cd $(WXDIR)\utils\dialoged\src | |
1128 | nmake -f makefile.nt html | |
1129 | cd $(THISDIR) | |
1130 | ||
1131 | # nmake -f makefile.nt html | |
1132 | # cd $(WXDIR)\utils\dialoged\src | |
1133 | # nmake -f makefile.nt html | |
1134 | # cd $(WXDIR)\utils\hytext\src | |
1135 | # nmake -f makefile.nt html | |
1136 | # cd $(WXDIR)\utils\wxhelp\src | |
1137 | # nmake -f makefile.nt html | |
1138 | # cd $(WXDIR)\utils\wxhelp2\src | |
1139 | # nmake -f makefile.nt html | |
1140 | # cd $(WXDIR)\utils\prologio\src | |
1141 | # nmake -f makefile.nt html | |
1142 | # cd $(WXDIR)\utils\tex2rtf\src | |
1143 | # nmake -f makefile.nt html | |
1144 | # cd $(WXDIR)\utils\wxgraph\src | |
1145 | # nmake -f makefile.nt html | |
1146 | # cd $(WXDIR)\utils\wxchart\src | |
1147 | # nmake -f makefile.nt html | |
1148 | # cd $(WXDIR)\utils\wxtree\src | |
1149 | # nmake -f makefile.nt html | |
1150 | # cd $(WXDIR)\utils\wxtab\src | |
1151 | # nmake -f makefile.nt html | |
1152 | ||
1153 | # cd $(WXDIR)\utils\wxclips\src | |
1154 | # nmake -f makefile.nt html | |
1155 | # cd $(WXDIR)\utils\clips2c\src | |
1156 | # nmake -f makefile.nt html | |
1157 | ||
1158 | allps: wxps referencps portingps # faqps | |
1159 | cd $(WXDIR)\utils\wxprop\src | |
1160 | nmake -f makefile.nt ps | |
1161 | cd $(WXDIR)\utils\dialoged\src | |
1162 | nmake -f makefile.nt ps | |
1163 | cd $(THISDIR) | |
1164 | ||
1165 | allpdfrtf: pdfrtf portingpdfrtf # faqpdfrtf | |
1166 | cd $(WXDIR)\utils\wxprop\src | |
1167 | nmake -f makefile.nt pdfrtf | |
1168 | cd $(WXDIR)\utils\dialoged\src | |
1169 | nmake -f makefile.nt pdfrtf | |
1170 | cd $(THISDIR) | |
1171 | ||
1172 | # cd $(WXDIR)\utils\wxhelp\src | |
1173 | # nmake -f makefile.nt ps | |
1174 | # cd $(WXDIR)\utils\wxhelp2\src | |
1175 | # nmake -f makefile.nt ps | |
1176 | # cd $(WXDIR)\utils\tex2rtf\src | |
1177 | # nmake -f makefile.nt ps | |
1178 | # cd $(WXDIR)\utils\wxgraph\src | |
1179 | # nmake -f makefile.nt ps | |
1180 | # cd $(WXDIR)\utils\wxchart\src | |
1181 | # nmake -f makefile.nt ps | |
1182 | # cd $(WXDIR)\utils\wxtree\src | |
1183 | # nmake -f makefile.nt ps | |
1184 | # cd $(THISDIR) | |
1185 | ||
1186 | # cd $(WXDIR)\utils\wxtab\src | |
1187 | # nmake -f makefile.nt ps | |
1188 | # cd $(WXDIR)\utils\prologio\src | |
1189 | # nmake -f makefile.nt ps | |
1190 | # cd $(WXDIR)\utils\wxclips\src | |
1191 | # nmake -f makefile.nt ps | |
1192 | # cd $(WXDIR)\utils\clips2c\src | |
1193 | # nmake -f makefile.nt ps | |
1194 | ||
1195 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1196 | cd $(DOCDIR)/latex/wx | |
1197 | -erase wx.ph | |
1198 | hc wx | |
1199 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1200 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1201 | cd $(THISDIR) | |
1202 | ||
1203 | $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj | |
1204 | cd $(DOCDIR)/latex/porting | |
1205 | -erase porting.ph | |
1206 | hc porting | |
1207 | move porting.hlp $(DOCDIR)\winhelp\porting.hlp | |
1208 | move porting.cnt $(DOCDIR)\winhelp\porting.cnt | |
1209 | cd $(THISDIR) | |
1210 | ||
1211 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1212 | cd $(DOCDIR)/latex/faq | |
1213 | -erase faq.ph | |
1214 | hc faq | |
1215 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1216 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1217 | cd $(THISDIR) | |
1218 | ||
1219 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
1220 | cd $(DOCDIR)/latex/techref | |
1221 | -erase techref.ph | |
1222 | hc techref | |
1223 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1224 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1225 | cd $(THISDIR) | |
1226 | ||
1227 | $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1228 | cd $(DOCDIR)\latex\wx | |
1229 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1230 | cd $(THISDIR) | |
1231 | ||
1232 | $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1233 | cd $(DOCDIR)\latex\porting | |
1234 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp | |
1235 | cd $(THISDIR) | |
1236 | ||
1237 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1238 | cd $(DOCDIR)\latex\faq | |
1239 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1240 | cd $(THISDIR) | |
1241 | ||
1242 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
1243 | cd $(DOCDIR)\latex\techref | |
1244 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1245 | cd $(THISDIR) | |
1246 | ||
1247 | $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1248 | cd $(DOCDIR)\latex\wx | |
1249 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1250 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf | |
1251 | cd $(THISDIR) | |
1252 | ||
1253 | $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1254 | cd $(DOCDIR)\latex\porting | |
1255 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1256 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf | |
1257 | cd $(THISDIR) | |
1258 | ||
1259 | $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1260 | cd $(DOCDIR)\latex\faq | |
1261 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1262 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf | |
1263 | cd $(THISDIR) | |
1264 | ||
1265 | $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
1266 | cd $(DOCDIR)\latex\techref | |
1267 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1268 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf | |
1269 | cd $(THISDIR) | |
1270 | ||
1271 | $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex | |
1272 | cd $(DOCDIR)\latex\wx | |
1273 | -mkdir $(DOCDIR)\html\wx | |
1274 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html | |
1275 | -erase $(DOCDIR)\html\wx\*.con | |
1276 | -erase $(DOCDIR)\html\wx\*.ref | |
1277 | -erase $(DOCDIR)\latex\wx\*.con | |
1278 | -erase $(DOCDIR)\latex\wx\*.ref | |
1279 | cd $(THISDIR) | |
1280 | ||
1281 | $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex | |
1282 | cd $(DOCDIR)\latex\porting | |
1283 | -mkdir $(DOCDIR)\html\porting | |
1284 | -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html | |
1285 | -erase $(DOCDIR)\html\porting\*.con | |
1286 | -erase $(DOCDIR)\html\porting\*.ref | |
1287 | -erase $(DOCDIR)\latex\porting\*.con | |
1288 | -erase $(DOCDIR)\latex\porting\*.ref | |
1289 | cd $(THISDIR) | |
1290 | ||
1291 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1292 | cd $(DOCDIR)\latex\faq | |
1293 | -mkdir $(DOCDIR)\html\faq | |
1294 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html | |
1295 | -erase $(DOCDIR)\html\faq\*.con | |
1296 | -erase $(DOCDIR)\html\faq\*.ref | |
1297 | -erase $(DOCDIR)\latex\faq\*.con | |
1298 | -erase $(DOCDIR)\latexfaq\*.ref | |
1299 | cd $(THISDIR) | |
1300 | ||
1301 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1302 | cd $(WXDIR)\docs\latex\wx | |
1303 | -latex manual | |
1304 | -latex manual | |
1305 | -makeindx manual | |
1306 | -bibtex manual | |
1307 | -latex manual | |
1308 | -latex manual | |
1309 | cd $(THISDIR) | |
1310 | ||
1311 | $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex | |
1312 | cd $(WXDIR)\docs\latex\porting | |
1313 | -latex porting | |
1314 | -latex porting | |
1315 | -makeindx porting | |
1316 | -bibtex porting | |
1317 | -latex porting | |
1318 | -latex porting | |
1319 | cd $(THISDIR) | |
1320 | ||
1321 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1322 | cd $(WXDIR)\docs\latex\wx | |
1323 | -dvips32 -o wx.ps manual | |
1324 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1325 | cd $(THISDIR) | |
1326 | ||
1327 | $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi | |
1328 | cd $(WXDIR)\docs\latex\porting | |
1329 | -dvips32 -o porting.ps porting | |
1330 | move porting.ps $(WXDIR)\docs\ps\porting.ps | |
1331 | cd $(THISDIR) | |
1332 | ||
1333 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1334 | cd $(WXDIR)\docs\latex\wx | |
1335 | -latex referenc | |
1336 | -latex referenc | |
1337 | -makeindx referenc | |
1338 | -bibtex referenc | |
1339 | -latex referenc | |
1340 | -latex referenc | |
1341 | cd $(THISDIR) | |
1342 | ||
1343 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1344 | cd $(WXDIR)\docs\latex\wx | |
1345 | -dvips32 -o referenc.ps referenc | |
1346 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1347 | cd $(THISDIR) | |
1348 | ||
1349 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1350 | cd $(WXDIR)\docs\latex\faq | |
1351 | -latex faq | |
1352 | -latex faq | |
1353 | -makeindx faq | |
1354 | -latex faq | |
1355 | -latex faq | |
1356 | cd $(THISDIR) | |
1357 | ||
1358 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1359 | cd $(WXDIR)\docs\latex\faq | |
1360 | -dvips32 -o faq.ps faq | |
1361 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1362 | cd $(THISDIR) | |
1363 | ||
1364 |