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