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