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