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