6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows stubs library wxstubs.lib for VC++ (32-bit)
13 # FINAL=1 argument to nmake to build version with no debugging info.
16 !include <ntwin32.mak>
19 # This means 'enable Windows 95 features' (in wxWindows and in VC++ 4.0).
20 WINVERSION=-DWINVER=0x0400
22 # On Alpha machines, change to CPU=ALPHA
29 WINFLAGS=-c -W3 -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__finally -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 $(WINVERSION) -D__WIN32__ -D__WINDOWS__
30 WINLINKFLAGS=/INCREMENTAL:NO /NOLOGO -align:0x1000 -machine:$(CPU) -subsystem:windows,$(APPVER)
31 WINLIBS=kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib\
32 comctl32.lib ctl3d32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib # libci.lib # libci.lib required for VC++ 4.2
34 # Change this to your WXWIN directory
37 WXSRC=$(WXDIR)\src\stubs
38 WXINC=$(WXDIR)\include
39 WXBASESRC=$(WXDIR)\src\common
41 WXLIB=$(WXDIR)\lib\wxstubs.lib
45 INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib $(EXTRAINC)
46 LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS)
53 # Set this to 1 if you don't want to use precompiled headers
60 # ***N.B.*** to save space/time, comment out /FR to avoid browse info (.sbr files) being generated
61 DEBUG_FLAGS= /Zi # /FR
62 LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
69 LINK_DEBUG_FLAGS=/RELEASE
77 CPPFLAGS=$(WINFLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(EXTRAFLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
78 # If you don't include wxprec.h, use CPPFLAGS2
79 CPPFLAGS2=$(WINFLAGS) $(DEBUG_FLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(EXTRAFLAGS) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
80 LINKFLAGS=$(LINK_DEBUG_FLAGS) $(WINLINKFLAGS) -entry:WinMainCRTStartup
82 THISDIR=$(WXWIN)\src\stubs
86 # Please set these according to the settings in wx_setup.h, so we can include
87 # the appropriate libraries in wx.lib
97 DOCDIR = $(WXDIR)\docs
100 $(GENDIR)\choicdgg.obj \
101 $(GENDIR)\colrdlgg.obj \
102 $(GENDIR)\fontdlgg.obj \
103 $(GENDIR)\gridg.obj \
104 $(GENDIR)\msgdlgg.obj \
105 $(GENDIR)\panelg.obj \
106 $(GENDIR)\printps.obj \
107 $(GENDIR)\prntdlgg.obj \
108 $(GENDIR)\scrolwin.obj \
109 $(GENDIR)\splitter.obj \
110 $(GENDIR)\statusbr.obj \
112 $(GENDIR)\textdlgg.obj
114 # $(GENDIR)\helpxlp.obj \
117 $(COMMDIR)\cmndata.obj \
118 $(COMMDIR)\config.obj \
119 $(COMMDIR)\docview.obj \
120 $(COMMDIR)\docmdi.obj \
121 $(COMMDIR)\dynarray.obj \
122 $(COMMDIR)\event.obj \
123 $(COMMDIR)\file.obj \
124 $(COMMDIR)\filefn.obj \
125 $(COMMDIR)\fileconf.obj \
126 $(COMMDIR)\framecmn.obj \
127 $(COMMDIR)\gdicmn.obj \
128 $(COMMDIR)\intl.obj \
129 $(COMMDIR)\ipcbase.obj \
130 $(COMMDIR)\helpbase.obj \
131 $(COMMDIR)\layout.obj \
133 $(COMMDIR)\memory.obj \
134 $(COMMDIR)\module.obj \
135 $(COMMDIR)\object.obj \
136 $(COMMDIR)\postscrp.obj \
137 $(COMMDIR)\prntbase.obj \
138 $(COMMDIR)\resource.obj \
139 $(COMMDIR)\tbarbase.obj \
140 $(COMMDIR)\tbarsmpl.obj \
141 $(COMMDIR)\textfile.obj \
142 $(COMMDIR)\timercmn.obj \
143 $(COMMDIR)\utilscmn.obj \
144 $(COMMDIR)\validate.obj \
145 $(COMMDIR)\valtext.obj \
146 $(COMMDIR)\date.obj \
147 $(COMMDIR)\hash.obj \
148 $(COMMDIR)\list.obj \
149 $(COMMDIR)\string.obj \
150 $(COMMDIR)\time.obj \
151 $(COMMDIR)\wxexpr.obj \
152 $(COMMDIR)\y_tab.obj \
153 $(COMMDIR)\extended.obj \
154 $(COMMDIR)\process.obj \
155 $(COMMDIR)\fstream.obj \
156 $(COMMDIR)\mstream.obj \
157 $(COMMDIR)\zstream.obj \
158 $(COMMDIR)\stream.obj \
159 $(COMMDIR)\datstrm.obj \
160 $(COMMDIR)\wincmn.obj
162 # $(COMMDIR)\odbc.obj \
165 $(STUBSDIR)\accel.obj \
166 $(STUBSDIR)\app.obj \
167 $(STUBSDIR)\bitmap.obj \
168 $(STUBSDIR)\bmpbuttn.obj \
169 $(STUBSDIR)\brush.obj \
170 $(STUBSDIR)\button.obj \
171 $(STUBSDIR)\checkbox.obj \
172 $(STUBSDIR)\checklst.obj \
173 $(STUBSDIR)\choice.obj \
174 $(STUBSDIR)\clipbrd.obj \
175 $(STUBSDIR)\colordlg.obj \
176 $(STUBSDIR)\colour.obj \
177 $(STUBSDIR)\combobox.obj \
178 $(STUBSDIR)\control.obj \
179 $(STUBSDIR)\cursor.obj \
180 $(STUBSDIR)\data.obj \
182 $(STUBSDIR)\dcmemory.obj \
183 $(STUBSDIR)\dcclient.obj \
184 $(STUBSDIR)\dcscreen.obj \
185 $(STUBSDIR)\dialog.obj \
186 $(STUBSDIR)\dirdlg.obj \
187 $(STUBSDIR)\filedlg.obj \
188 $(STUBSDIR)\font.obj \
189 $(STUBSDIR)\fontdlg.obj \
190 $(STUBSDIR)\frame.obj \
191 $(STUBSDIR)\gauge.obj \
192 $(STUBSDIR)\gdiobj.obj \
193 $(STUBSDIR)\helpxxxx.obj \
194 $(STUBSDIR)\icon.obj \
195 $(STUBSDIR)\imaglist.obj \
196 $(STUBSDIR)\joystick.obj \
197 $(STUBSDIR)\listbox.obj \
198 $(STUBSDIR)\listctrl.obj \
199 $(STUBSDIR)\main.obj \
200 $(STUBSDIR)\mdi.obj \
201 $(STUBSDIR)\menu.obj \
202 $(STUBSDIR)\menuitem.obj \
203 $(STUBSDIR)\metafile.obj \
204 $(STUBSDIR)\minifram.obj \
205 $(STUBSDIR)\msgdlg.obj \
206 $(STUBSDIR)\notebook.obj \
207 $(STUBSDIR)\palette.obj \
208 $(STUBSDIR)\pen.obj \
209 $(STUBSDIR)\printdlg.obj \
210 $(STUBSDIR)\print.obj \
211 $(STUBSDIR)\radiobox.obj \
212 $(STUBSDIR)\radiobut.obj \
213 $(STUBSDIR)\region.obj \
214 $(STUBSDIR)\scrolbar.obj \
215 $(STUBSDIR)\settings.obj \
216 $(STUBSDIR)\slider.obj \
217 $(STUBSDIR)\spinbutt.obj \
218 $(STUBSDIR)\statbmp.obj \
219 $(STUBSDIR)\statbox.obj \
220 $(STUBSDIR)\statusbr.obj \
221 $(STUBSDIR)\stattext.obj \
222 $(STUBSDIR)\tabctrl.obj \
223 $(STUBSDIR)\taskbar.obj \
224 $(STUBSDIR)\toolbar.obj \
225 $(STUBSDIR)\textctrl.obj \
226 $(STUBSDIR)\thread.obj \
227 $(STUBSDIR)\timer.obj \
228 $(STUBSDIR)\treectrl.obj \
229 $(STUBSDIR)\utils.obj \
230 $(STUBSDIR)\utilsexc.obj \
231 $(STUBSDIR)\wave.obj \
232 $(STUBSDIR)\window.obj
235 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(STUBSOBJS)
237 # Normal, static library
238 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
240 $(WXDIR)\lib\wxstubs.lib: $(OBJECTS) $(PERIPH_LIBS)
245 $(OBJECTS) $(PERIPH_LIBS)
248 ########################################################
249 # Windows-specific objects
251 $(STUBSDIR)/accel.obj: $*.$(SRCSUFF)
253 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
256 $(STUBSDIR)/app.obj: $*.$(SRCSUFF)
258 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
261 $(STUBSDIR)/bitmap.obj: $*.$(SRCSUFF)
263 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
266 $(STUBSDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
268 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
271 $(STUBSDIR)/brush.obj: $*.$(SRCSUFF)
273 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
276 $(STUBSDIR)/button.obj: $*.$(SRCSUFF)
278 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
281 $(STUBSDIR)/choice.obj: $*.$(SRCSUFF)
283 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
286 $(STUBSDIR)/checkbox.obj: $*.$(SRCSUFF)
288 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
291 $(STUBSDIR)/checklst.obj: $*.$(SRCSUFF)
293 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
296 $(STUBSDIR)/clipbrd.obj: $*.$(SRCSUFF)
298 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
301 $(STUBSDIR)/colordlg.obj: $*.$(SRCSUFF)
303 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
306 $(STUBSDIR)/colour.obj: $*.$(SRCSUFF)
308 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
311 $(STUBSDIR)/combobox.obj: $*.$(SRCSUFF)
313 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
316 $(STUBSDIR)/control.obj: $*.$(SRCSUFF)
318 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
321 $(STUBSDIR)/cursor.obj: $*.$(SRCSUFF)
323 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
326 $(STUBSDIR)/data.obj: $*.$(SRCSUFF)
328 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
331 $(STUBSDIR)/dc.obj: $*.$(SRCSUFF)
333 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
336 $(STUBSDIR)/dcmemory.obj: $*.$(SRCSUFF)
338 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
341 $(STUBSDIR)/dcclient.obj: $*.$(SRCSUFF)
343 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
346 $(STUBSDIR)/dcprint.obj: $*.$(SRCSUFF)
348 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
351 $(STUBSDIR)/dcscreen.obj: $*.$(SRCSUFF)
353 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
356 $(STUBSDIR)/dialog.obj: $*.$(SRCSUFF)
358 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
361 $(STUBSDIR)/dirdlg.obj: $*.$(SRCSUFF)
363 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
366 $(STUBSDIR)/filedlg.obj: $*.$(SRCSUFF)
368 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
371 $(STUBSDIR)/font.obj: $*.$(SRCSUFF)
373 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
376 $(STUBSDIR)/fontdlg.obj: $*.$(SRCSUFF)
378 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
381 $(STUBSDIR)/frame.obj: $*.$(SRCSUFF)
383 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
386 $(STUBSDIR)/gauge.obj: $*.$(SRCSUFF)
388 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
391 $(STUBSDIR)/gdiobj.obj: $*.$(SRCSUFF)
393 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
396 $(STUBSDIR)/icon.obj: $*.$(SRCSUFF)
398 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
401 $(STUBSDIR)/imaglist.obj: $*.$(SRCSUFF)
403 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
406 $(STUBSDIR)/joystick.obj: $*.$(SRCSUFF)
408 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
411 $(STUBSDIR)/listbox.obj: $*.$(SRCSUFF)
413 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
416 $(STUBSDIR)/listctrl.obj: $*.$(SRCSUFF)
418 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
421 $(STUBSDIR)/main.obj: $*.$(SRCSUFF)
423 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
426 $(STUBSDIR)/mdi.obj: $*.$(SRCSUFF)
428 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
431 $(STUBSDIR)/menu.obj: $*.$(SRCSUFF)
433 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
436 $(STUBSDIR)/menuitem.obj: $*.$(SRCSUFF)
438 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
441 $(STUBSDIR)/metafile.obj: $*.$(SRCSUFF)
443 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
446 $(STUBSDIR)/minifram.obj: $*.$(SRCSUFF)
448 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
451 $(STUBSDIR)/msgdlg.obj: $*.$(SRCSUFF)
453 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
456 $(STUBSDIR)/notebook.obj: $*.$(SRCSUFF)
458 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
461 $(STUBSDIR)/palette.obj: $*.$(SRCSUFF)
463 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
466 $(STUBSDIR)/pen.obj: $*.$(SRCSUFF)
468 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
471 $(STUBSDIR)/printdlg.obj: $*.$(SRCSUFF)
473 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
476 $(STUBSDIR)/print.obj: $*.$(SRCSUFF)
478 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
481 $(STUBSDIR)/radiobox.obj: $*.$(SRCSUFF)
483 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
486 $(STUBSDIR)/radiobut.obj: $*.$(SRCSUFF)
488 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
491 $(STUBSDIR)/region.obj: $*.$(SRCSUFF)
493 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
496 $(STUBSDIR)/scrolbar.obj: $*.$(SRCSUFF)
498 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
501 $(STUBSDIR)/settings.obj: $*.$(SRCSUFF)
503 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
506 $(STUBSDIR)/slider.obj: $*.$(SRCSUFF)
508 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
511 $(STUBSDIR)/spinbutt.obj: $*.$(SRCSUFF)
513 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
516 $(STUBSDIR)/statbmp.obj: $*.$(SRCSUFF)
518 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
521 $(STUBSDIR)/statbox.obj: $*.$(SRCSUFF)
523 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
526 $(STUBSDIR)/statusbr.obj: $*.$(SRCSUFF)
528 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
531 $(STUBSDIR)/stattext.obj: $*.$(SRCSUFF)
533 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
536 $(STUBSDIR)/tabctrl.obj: $*.$(SRCSUFF)
538 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
541 $(STUBSDIR)/taskbar.obj: $*.$(SRCSUFF)
543 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
546 $(STUBSDIR)/toolbar.obj: $*.$(SRCSUFF)
548 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
551 $(STUBSDIR)/textctrl.obj: $*.$(SRCSUFF)
553 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
556 $(STUBSDIR)/thread.obj: $*.$(SRCSUFF)
558 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
561 $(STUBSDIR)/timer.obj: $*.$(SRCSUFF)
563 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
566 $(STUBSDIR)/treectrl.obj: $*.$(SRCSUFF)
568 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
571 $(STUBSDIR)/utils.obj: $*.$(SRCSUFF)
573 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
576 $(STUBSDIR)/utilsexc.obj: $*.$(SRCSUFF)
578 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
581 $(STUBSDIR)/wave.obj: $*.$(SRCSUFF)
584 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
587 $(STUBSDIR)/window.obj: $*.$(SRCSUFF)
590 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
593 ########################################################
594 # Common objects (always compiled)
596 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
599 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
602 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
605 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
608 $(COMMDIR)/db.obj: $*.$(SRCSUFF)
611 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
614 $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
617 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
620 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
622 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
625 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
627 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
630 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
632 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
635 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
637 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
640 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
642 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
645 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
647 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
650 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
652 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
655 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
657 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
660 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
662 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
665 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
667 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
670 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
672 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
675 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
677 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
680 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
682 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
685 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
687 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
690 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
692 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
695 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
697 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
700 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
702 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
705 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
707 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
710 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
712 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
715 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
717 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
720 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
722 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
725 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
727 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
730 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
732 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
735 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
737 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
740 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
742 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
745 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
747 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
750 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
752 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
755 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
757 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
760 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
762 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
765 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
768 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
771 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
773 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
776 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
778 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
781 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
783 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
786 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
788 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
791 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
793 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
796 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
798 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
801 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
803 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
806 $(COMMDIR)\stream.obj: $*.$(SRCSUFF)
808 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
811 $(COMMDIR)\fstream.obj: $*.$(SRCSUFF)
813 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
816 $(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
818 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
821 $(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
823 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
826 $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
828 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
831 $(COMMDIR)/extended.obj: $*.c
833 $(CPPFLAGS2) /c /Tp $*.c /Fo$@
836 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
838 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
841 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
843 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
846 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
848 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
851 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
852 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
854 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
855 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
857 ########################################################
858 # Generic objects (not always compiled, depending on
859 # whether platforms have native implementations)
861 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
863 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
866 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
868 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
871 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
873 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
876 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
878 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
881 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
883 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
886 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
888 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
891 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
893 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
896 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
898 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
901 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
903 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
906 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
908 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
911 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
913 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
916 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
918 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
921 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
923 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
926 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
928 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
931 $(OBJECTS): $(WXDIR)/include/wx/stubs/setup.h
933 clean: $(PERIPH_CLEAN_TARGET)
936 -erase $(WXDIR)\lib\*.pdb
940 cd $(WXDIR)\src\stubs
945 cd $(WXDIR)\src\stubs
952 cd $(WXDIR)\src\stubs