6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
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.
17 !include <..\ntwxwin.mak>
19 THISDIR=$(WXWIN)\src\msw
21 !if "$(WXMAKINGDLL)" == "1"
22 LIBTARGET=$(WXDIR)\lib\wx200.dll
29 # Please set these according to the settings in wx_setup.h, so we can include
30 # the appropriate libraries in wx.lib
32 # This one overrides the others, to be consistent with the settings in wx_setup.h
33 MINIMAL_WXWINDOWS_SETUP=0
37 !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1"
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)
56 DOCDIR = $(WXDIR)\docs
59 $(GENDIR)\choicdgg.obj \
60 $(GENDIR)\colrdlgg.obj \
61 $(GENDIR)\fontdlgg.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 \
72 $(GENDIR)\textdlgg.obj
75 $(COMMDIR)\cmndata.obj \
76 $(COMMDIR)\config.obj \
77 $(COMMDIR)\docview.obj \
78 $(COMMDIR)\dynarray.obj \
79 $(COMMDIR)\event.obj \
81 $(COMMDIR)\fileconf.obj \
82 $(COMMDIR)\filefn.obj \
83 $(COMMDIR)\gdicmn.obj \
85 $(COMMDIR)\ipcbase.obj \
86 $(COMMDIR)\helpbase.obj \
87 $(COMMDIR)\layout.obj \
89 $(COMMDIR)\memory.obj \
90 $(COMMDIR)\module.obj \
91 $(COMMDIR)\object.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 \
111 # $(COMMDIR)\wxstrgnu\wxstrgnu.obj \
112 # $(COMMDIR)\wxstrgnu\wxregex.obj \
113 # $(COMMDIR)\matrix.obj \
117 $(MSWDIR)\bitmap.obj \
118 $(MSWDIR)\bmpbuttn.obj \
119 $(MSWDIR)\brush.obj \
120 $(MSWDIR)\button.obj \
121 $(MSWDIR)\checkbox.obj \
122 $(MSWDIR)\checklst.obj \
123 $(MSWDIR)\choice.obj \
124 $(MSWDIR)\clipbrd.obj \
125 $(MSWDIR)\colordlg.obj \
126 $(MSWDIR)\colour.obj \
127 $(MSWDIR)\combobox.obj \
128 $(MSWDIR)\control.obj \
129 $(MSWDIR)\curico.obj \
130 $(MSWDIR)\cursor.obj \
133 $(MSWDIR)\dcmemory.obj \
134 $(MSWDIR)\dcclient.obj \
135 $(MSWDIR)\dcprint.obj \
136 $(MSWDIR)\dcscreen.obj \
138 $(MSWDIR)\dialog.obj \
140 $(MSWDIR)\dibutils.obj \
141 $(MSWDIR)\dirdlg.obj \
142 $(MSWDIR)\filedlg.obj \
144 $(MSWDIR)\fontdlg.obj \
145 $(MSWDIR)\frame.obj \
146 $(MSWDIR)\gauge.obj \
147 $(MSWDIR)\gdiobj.obj \
148 $(MSWDIR)\helpwin.obj \
150 $(MSWDIR)\imaglist.obj \
151 $(MSWDIR)\joystick.obj \
152 $(MSWDIR)\listbox.obj \
153 $(MSWDIR)\listctrl.obj \
157 $(MSWDIR)\menuitem.obj \
158 $(MSWDIR)\metafile.obj \
159 $(MSWDIR)\minifram.obj \
160 $(MSWDIR)\msgdlg.obj \
161 $(MSWDIR)\nativdlg.obj \
162 $(MSWDIR)\ownerdrw.obj \
163 $(MSWDIR)\palette.obj \
165 $(MSWDIR)\penwin.obj \
166 $(MSWDIR)\pnghand.obj \
167 $(MSWDIR)\printdlg.obj \
168 $(MSWDIR)\printwin.obj \
169 $(MSWDIR)\radiobox.obj \
170 $(MSWDIR)\radiobut.obj \
171 $(MSWDIR)\region.obj \
172 $(MSWDIR)\registry.obj \
173 $(MSWDIR)\scrolbar.obj \
174 $(MSWDIR)\settings.obj \
175 $(MSWDIR)\slider.obj \
176 $(MSWDIR)\spinbutt.obj \
177 $(MSWDIR)\statbmp.obj \
178 $(MSWDIR)\statbox.obj \
179 $(MSWDIR)\statbr95.obj \
180 $(MSWDIR)\stattext.obj \
181 $(MSWDIR)\tabctrl.obj \
182 $(MSWDIR)\taskbar.obj \
183 $(MSWDIR)\tbar95.obj \
184 $(MSWDIR)\tbarmsw.obj \
185 $(MSWDIR)\textctrl.obj \
186 $(MSWDIR)\thread.obj \
187 $(MSWDIR)\timer.obj \
188 $(MSWDIR)\treectrl.obj \
189 $(MSWDIR)\utils.obj \
191 $(MSWDIR)\window.obj \
192 $(OLEDIR)\droptgt.obj \
193 $(OLEDIR)\dropsrc.obj \
194 $(OLEDIR)\dataobj.obj \
195 $(OLEDIR)\oleutils.obj \
199 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
201 # Normal, static library
202 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
204 # wxWindows library as DLL
206 nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
208 # wxWindows + app as DLL. Only affects main.cpp.
210 nmake -f makefile.nt all FINAL=$(FINAL) DLL=1
212 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
214 nmake -f makefile.nt all NOMAIN=1 FINAL=$(FINAL) DLL=1
216 # Use this to make dummy.obj and generate a PCH.
217 # You might use the dll target, then the pch target, in order to
218 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
220 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
221 # are associated with wx.lib. When using a DLL version of wxWindows, however,
222 # the DLL is compiled without a PCH, so you only need it for compiling the app.
223 # In fact headers are compiled differently depending on whether a DLL is being made
224 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
225 # in each case) so you couldn't use the same PCH.
227 nmake -f makefile.nt pch1 WXUSINGDLL=1
231 $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
236 $(OBJECTS) $(PERIPH_LIBS)
239 # Update the import library
240 $(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS)
244 $(DUMMYOBJ) $(OBJECTS)
245 -out:$(WXDIR)\lib\wx200.lib
248 # Update the dynamic link library
249 $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib
252 -out:$(WXDIR)\lib\wx200.dll
253 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib
256 ########################################################
257 # Windows-specific objects
259 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
260 cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
262 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
264 $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
267 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
269 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
272 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
274 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
277 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
279 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
282 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
284 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
287 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
289 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
292 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
294 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
297 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
299 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
302 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
304 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
307 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
309 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
312 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
314 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
317 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
319 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
322 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
324 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
327 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
329 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
332 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
334 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
337 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
339 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
342 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
344 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
347 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
349 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
352 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
354 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
357 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
359 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
362 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
364 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
367 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
369 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
372 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
374 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
377 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
379 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
382 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
384 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
387 $(MSWDIR)/dibutils.obj: $*.$(SRCSUFF)
389 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
392 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
394 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
397 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
399 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
402 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
404 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
407 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
409 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
412 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
414 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
417 $(MSWDIR)/gauge.obj: $*.$(SRCSUFF)
419 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
422 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
424 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
427 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
429 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
432 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
434 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
437 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
439 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
442 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
444 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
447 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
449 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
452 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
454 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
457 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
459 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
462 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
464 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
467 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
469 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
472 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
474 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
477 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
479 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
482 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
484 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
487 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
489 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
492 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
494 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
497 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
499 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
502 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
504 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
507 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
509 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
512 $(MSWDIR)/pnghand.obj: $*.$(SRCSUFF)
514 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
517 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
519 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
522 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
524 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
527 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
529 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
532 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
534 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
537 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
539 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
542 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
544 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
547 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
549 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
552 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
554 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
557 $(MSWDIR)/slider.obj: $*.$(SRCSUFF)
559 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
562 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
564 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
567 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
569 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
572 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
574 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
577 $(MSWDIR)/statbr95.obj: $*.$(SRCSUFF)
579 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
582 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
584 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
587 $(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF)
589 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
592 $(MSWDIR)/taskbar.obj: $*.$(SRCSUFF)
594 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
597 $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF)
599 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
602 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
604 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
607 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
609 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
612 $(MSWDIR)/thread.obj: $*.$(SRCSUFF)
614 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
617 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
619 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
622 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
624 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
627 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
629 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
632 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
635 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
638 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
641 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
644 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
647 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
650 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
653 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
656 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
659 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
662 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
665 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
668 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
671 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
674 ########################################################
675 # Common objects (always compiled)
677 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
680 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
683 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
686 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
689 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
691 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
694 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
696 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
699 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
701 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
704 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
706 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
709 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
711 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
714 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
716 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
719 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
721 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
724 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
726 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
729 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
731 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
734 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
736 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
739 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
741 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
744 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
746 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
749 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
751 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
754 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
756 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
759 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
761 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
764 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
766 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
769 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
771 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
774 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
776 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
779 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
781 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
784 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
786 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
789 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
791 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
794 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
796 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
799 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
801 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
804 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
806 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
809 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
811 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
814 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
816 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
819 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
821 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
824 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
827 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
830 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
832 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
835 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
837 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
840 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
842 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
845 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
847 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
850 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
852 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
855 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
857 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
860 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
862 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
865 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
867 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
870 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
871 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
873 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
874 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
876 ########################################################
877 # Generic objects (not always compiled, depending on
878 # whether platforms have native implementations)
880 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
882 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
885 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
887 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
890 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
892 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
895 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
897 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
900 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
902 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
905 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
907 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
910 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
912 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
915 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
917 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
920 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
922 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
925 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
927 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
930 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
932 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
935 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
937 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
940 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
942 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
945 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
947 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
950 #test: $(DUMMYOBJ) $(COMMDIR)/string.obj
953 $(OBJECTS): $(WXDIR)/include/wx/setup.h
955 # Peripheral components
958 cd $(WXDIR)\contrib\wxxpm
959 nmake -f makefile.nt FINAL=$(FINAL)
963 cd $(WXDIR)\contrib\wxxpm
964 nmake -f makefile.nt clean
968 cd $(WXDIR)\utils\rcparser\src
969 nmake -f makefile.nt FINAL=$(FINAL)
973 cd $(WXDIR)\contrib\wxstring
974 nmake -f makefile.nt OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" FINAL=$(FINAL)
978 cd $(WXDIR)\contrib\wxstring
979 nmake -f makefile.nt clean
983 cd $(WXDIR)\utils\rcparser\src
984 nmake -f makefile.nt clean
987 clean: $(PERIPH_CLEAN_TARGET)
990 -erase ..\..\lib\wx200.dll
991 -erase ..\..\lib\wx200.lib
992 -erase ..\..\lib\wx200.exp
993 -erase ..\..\lib\wx200.pdb
994 -erase ..\..\lib\wx200.ilk
1016 # -erase ..\common\wxstrgnu\*.obj
1017 # -erase ..\common\lex_yy.c
1018 # -erase ..\common\y_tab.c
1024 hlp: wxhlp refhlp portinghlp # faqhlp
1025 wxhlp: $(DOCDIR)/winhelp/wx.hlp
1026 faqhlp: $(DOCDIR)/winhelp/faq.hlp
1027 refhlp: $(DOCDIR)/winhelp/techref.hlp
1028 rtf: $(DOCDIR)/winhelp/wx.rtf
1029 faqrtf: $(DOCDIR)/winhelp/faq.rtf
1030 pdfrtf: $(DOCDIR)/pdf/wx.rtf
1031 faqpdfrtf: $(DOCDIR)/pdf/faq.rtf
1032 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
1033 html: wxhtml # faqhtml
1034 wxhtml: $(DOCDIR)\html\wx\wx.htm
1035 faqhtml: $(DOCDIR)\html\faq\faq.htm
1036 ps: wxps referencps # faqps
1037 wxps: $(WXDIR)\docs\ps\wx.ps
1038 faqps: $(WXDIR)\docs\ps\faq.ps
1039 referencps: $(WXDIR)\docs\ps\referenc.ps
1041 portinghtml: $(DOCDIR)\html\porting\port.htm
1042 portingrtf: $(DOCDIR)/winhelp/porting.rtf
1043 portinghlp: $(DOCDIR)/winhelp/porting.hlp
1044 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
1045 portingps: $(WXDIR)\docs\ps\porting.ps
1047 alldocs: allhlp allhtml allpdfrtf # allps # TeX can't cope with references!
1049 allhlp: wxhlp portinghlp # faqhlp
1050 cd $(WXDIR)\utils\wxprop\src
1051 nmake -f makefile.nt hlp
1052 cd $(WXDIR)\utils\dialoged\src
1053 nmake -f makefile.nt hlp
1056 # cd $(WXDIR)\utils\wxhelp\src
1057 # nmake -f makefile.nt hlp
1058 # cd $(WXDIR)\utils\wxhelp2\src
1059 # nmake -f makefile.nt hlp
1060 # cd $(WXDIR)\utils\prologio\src
1061 # nmake -f makefile.nt hlp
1062 # cd $(WXDIR)\utils\tex2rtf\src
1063 # nmake -f makefile.nt hlp
1064 # cd $(WXDIR)\utils\wxgraph\src
1065 # nmake -f makefile.nt hlp
1066 # cd $(WXDIR)\utils\wxchart\src
1067 # nmake -f makefile.nt hlp
1068 # cd $(WXDIR)\utils\wxtree\src
1069 # nmake -f makefile.nt hlp
1070 # cd $(WXDIR)\utils\wxbuild\src
1071 # nmake -f makefile.nt hlp
1072 # cd $(WXDIR)\utils\wxgrid\src
1073 # nmake -f makefile.nt hlp
1074 # cd $(WXDIR)\utils\wxtab\src
1075 # nmake -f makefile.nt hlp
1077 # cd $(WXDIR)\utils\wxclips\src
1078 # nmake -f makefile.nt hlp
1079 # cd $(WXDIR)\utils\clips2c\src
1080 # nmake -f makefile.nt hlp
1082 allhtml: wxhtml portinghtml # faqhtml
1083 cd $(WXDIR)\utils\wxprop\src
1084 nmake -f makefile.nt html
1085 cd $(WXDIR)\utils\dialoged\src
1086 nmake -f makefile.nt html
1089 # nmake -f makefile.nt html
1090 # cd $(WXDIR)\utils\dialoged\src
1091 # nmake -f makefile.nt html
1092 # cd $(WXDIR)\utils\hytext\src
1093 # nmake -f makefile.nt html
1094 # cd $(WXDIR)\utils\wxhelp\src
1095 # nmake -f makefile.nt html
1096 # cd $(WXDIR)\utils\wxhelp2\src
1097 # nmake -f makefile.nt html
1098 # cd $(WXDIR)\utils\prologio\src
1099 # nmake -f makefile.nt html
1100 # cd $(WXDIR)\utils\tex2rtf\src
1101 # nmake -f makefile.nt html
1102 # cd $(WXDIR)\utils\wxgraph\src
1103 # nmake -f makefile.nt html
1104 # cd $(WXDIR)\utils\wxchart\src
1105 # nmake -f makefile.nt html
1106 # cd $(WXDIR)\utils\wxtree\src
1107 # nmake -f makefile.nt html
1108 # cd $(WXDIR)\utils\wxtab\src
1109 # nmake -f makefile.nt html
1111 # cd $(WXDIR)\utils\wxclips\src
1112 # nmake -f makefile.nt html
1113 # cd $(WXDIR)\utils\clips2c\src
1114 # nmake -f makefile.nt html
1116 allps: wxps referencps portingps # faqps
1117 cd $(WXDIR)\utils\wxprop\src
1118 nmake -f makefile.nt ps
1119 cd $(WXDIR)\utils\dialoged\src
1120 nmake -f makefile.nt ps
1123 allpdfrtf: pdfrtf portingpdfrtf # faqpdfrtf
1124 cd $(WXDIR)\utils\wxprop\src
1125 nmake -f makefile.nt pdfrtf
1126 cd $(WXDIR)\utils\dialoged\src
1127 nmake -f makefile.nt pdfrtf
1130 # cd $(WXDIR)\utils\wxhelp\src
1131 # nmake -f makefile.nt ps
1132 # cd $(WXDIR)\utils\wxhelp2\src
1133 # nmake -f makefile.nt ps
1134 # cd $(WXDIR)\utils\tex2rtf\src
1135 # nmake -f makefile.nt ps
1136 # cd $(WXDIR)\utils\wxgraph\src
1137 # nmake -f makefile.nt ps
1138 # cd $(WXDIR)\utils\wxchart\src
1139 # nmake -f makefile.nt ps
1140 # cd $(WXDIR)\utils\wxtree\src
1141 # nmake -f makefile.nt ps
1144 # cd $(WXDIR)\utils\wxtab\src
1145 # nmake -f makefile.nt ps
1146 # cd $(WXDIR)\utils\prologio\src
1147 # nmake -f makefile.nt ps
1148 # cd $(WXDIR)\utils\wxclips\src
1149 # nmake -f makefile.nt ps
1150 # cd $(WXDIR)\utils\clips2c\src
1151 # nmake -f makefile.nt ps
1153 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1154 cd $(DOCDIR)/latex/wx
1157 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1158 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1161 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
1162 cd $(DOCDIR)/latex/porting
1165 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
1166 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
1169 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1170 cd $(DOCDIR)/latex/faq
1173 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1174 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1177 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1178 cd $(DOCDIR)/latex/techref
1181 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1182 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1185 $(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
1186 cd $(DOCDIR)\latex\wx
1187 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1190 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1191 cd $(DOCDIR)\latex\porting
1192 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
1195 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1196 cd $(DOCDIR)\latex\faq
1197 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1200 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1201 cd $(DOCDIR)\latex\techref
1202 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1205 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
1206 cd $(DOCDIR)\latex\wx
1207 -copy *.bmp *.wmf $(DOCDIR)\pdf
1208 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
1211 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1212 cd $(DOCDIR)\latex\porting
1213 -copy *.bmp *.wmf $(DOCDIR)\pdf
1214 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
1217 $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1218 cd $(DOCDIR)\latex\faq
1219 -copy *.bmp *.wmf $(DOCDIR)\pdf
1220 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf
1223 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1224 cd $(DOCDIR)\latex\techref
1225 -copy *.bmp *.wmf $(DOCDIR)\pdf
1226 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
1229 $(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
1230 cd $(DOCDIR)\latex\wx
1231 -mkdir $(DOCDIR)\html\wx
1232 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
1233 -erase $(DOCDIR)\html\wx\*.con
1234 -erase $(DOCDIR)\html\wx\*.ref
1235 -erase $(DOCDIR)\latex\wx\*.con
1236 -erase $(DOCDIR)\latex\wx\*.ref
1239 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
1240 cd $(DOCDIR)\latex\porting
1241 -mkdir $(DOCDIR)\html\porting
1242 -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
1243 -erase $(DOCDIR)\html\porting\*.con
1244 -erase $(DOCDIR)\html\porting\*.ref
1245 -erase $(DOCDIR)\latex\porting\*.con
1246 -erase $(DOCDIR)\latex\porting\*.ref
1249 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1250 cd $(DOCDIR)\latex\faq
1251 -mkdir $(DOCDIR)\html\faq
1252 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html
1253 -erase $(DOCDIR)\html\faq\*.con
1254 -erase $(DOCDIR)\html\faq\*.ref
1255 -erase $(DOCDIR)\latex\faq\*.con
1256 -erase $(DOCDIR)\latexfaq\*.ref
1259 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1260 cd $(WXDIR)\docs\latex\wx
1269 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
1270 cd $(WXDIR)\docs\latex\porting
1279 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1280 cd $(WXDIR)\docs\latex\wx
1281 -dvips32 -o wx.ps manual
1282 move wx.ps $(WXDIR)\docs\ps\wx.ps
1285 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
1286 cd $(WXDIR)\docs\latex\porting
1287 -dvips32 -o porting.ps porting
1288 move porting.ps $(WXDIR)\docs\ps\porting.ps
1291 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1292 cd $(WXDIR)\docs\latex\wx
1301 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1302 cd $(WXDIR)\docs\latex\wx
1303 -dvips32 -o referenc.ps referenc
1304 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1307 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1308 cd $(WXDIR)\docs\latex\faq
1316 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1317 cd $(WXDIR)\docs\latex\faq
1318 -dvips32 -o faq.ps faq
1319 move faq.ps $(WXDIR)\docs\ps\faq.ps