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