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