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)\dcpsg.obj \
103 $(GENDIR)\fontdlgg.obj \
104 $(GENDIR)\gridg.obj \
105 $(GENDIR)\msgdlgg.obj \
106 $(GENDIR)\panelg.obj \
108 $(GENDIR)\propform.obj \
109 $(GENDIR)\proplist.obj \
110 $(GENDIR)\printps.obj \
111 $(GENDIR)\prntdlgg.obj \
112 $(GENDIR)\scrolwin.obj \
113 $(GENDIR)\splitter.obj \
114 $(GENDIR)\statusbr.obj \
116 $(GENDIR)\textdlgg.obj
118 # $(GENDIR)\helpxlp.obj \
121 $(COMMDIR)\cmndata.obj \
122 $(COMMDIR)\config.obj \
123 $(COMMDIR)\docview.obj \
124 $(COMMDIR)\docmdi.obj \
125 $(COMMDIR)\dynarray.obj \
126 $(COMMDIR)\event.obj \
127 $(COMMDIR)\file.obj \
128 $(COMMDIR)\filefn.obj \
129 $(COMMDIR)\fileconf.obj \
130 $(COMMDIR)\framecmn.obj \
131 $(COMMDIR)\gdicmn.obj \
132 $(COMMDIR)\intl.obj \
133 $(COMMDIR)\ipcbase.obj \
134 $(COMMDIR)\helpbase.obj \
135 $(COMMDIR)\layout.obj \
137 $(COMMDIR)\memory.obj \
138 $(COMMDIR)\module.obj \
139 $(COMMDIR)\object.obj \
140 $(COMMDIR)\prntbase.obj \
141 $(COMMDIR)\resource.obj \
142 $(COMMDIR)\tbarbase.obj \
143 $(COMMDIR)\tbarsmpl.obj \
144 $(COMMDIR)\textfile.obj \
145 $(COMMDIR)\timercmn.obj \
146 $(COMMDIR)\utilscmn.obj \
147 $(COMMDIR)\validate.obj \
148 $(COMMDIR)\valtext.obj \
149 $(COMMDIR)\date.obj \
150 $(COMMDIR)\hash.obj \
151 $(COMMDIR)\list.obj \
152 $(COMMDIR)\string.obj \
153 $(COMMDIR)\time.obj \
154 $(COMMDIR)\wxexpr.obj \
155 $(COMMDIR)\y_tab.obj \
156 $(COMMDIR)\extended.obj \
157 $(COMMDIR)\process.obj \
158 $(COMMDIR)\fstream.obj \
159 $(COMMDIR)\mstream.obj \
160 $(COMMDIR)\zstream.obj \
161 $(COMMDIR)\stream.obj \
162 $(COMMDIR)\datstrm.obj \
163 $(COMMDIR)\wincmn.obj
165 # $(COMMDIR)\odbc.obj \
168 $(STUBSDIR)\accel.obj \
169 $(STUBSDIR)\app.obj \
170 $(STUBSDIR)\bitmap.obj \
171 $(STUBSDIR)\bmpbuttn.obj \
172 $(STUBSDIR)\brush.obj \
173 $(STUBSDIR)\button.obj \
174 $(STUBSDIR)\checkbox.obj \
175 $(STUBSDIR)\checklst.obj \
176 $(STUBSDIR)\choice.obj \
177 $(STUBSDIR)\clipbrd.obj \
178 $(STUBSDIR)\colordlg.obj \
179 $(STUBSDIR)\colour.obj \
180 $(STUBSDIR)\combobox.obj \
181 $(STUBSDIR)\control.obj \
182 $(STUBSDIR)\cursor.obj \
183 $(STUBSDIR)\data.obj \
185 $(STUBSDIR)\dcmemory.obj \
186 $(STUBSDIR)\dcclient.obj \
187 $(STUBSDIR)\dcscreen.obj \
188 $(STUBSDIR)\dialog.obj \
189 $(STUBSDIR)\dirdlg.obj \
190 $(STUBSDIR)\filedlg.obj \
191 $(STUBSDIR)\font.obj \
192 $(STUBSDIR)\fontdlg.obj \
193 $(STUBSDIR)\frame.obj \
194 $(STUBSDIR)\gauge.obj \
195 $(STUBSDIR)\gdiobj.obj \
196 $(STUBSDIR)\helpxxxx.obj \
197 $(STUBSDIR)\icon.obj \
198 $(STUBSDIR)\imaglist.obj \
199 $(STUBSDIR)\joystick.obj \
200 $(STUBSDIR)\listbox.obj \
201 $(STUBSDIR)\listctrl.obj \
202 $(STUBSDIR)\main.obj \
203 $(STUBSDIR)\mdi.obj \
204 $(STUBSDIR)\menu.obj \
205 $(STUBSDIR)\menuitem.obj \
206 $(STUBSDIR)\metafile.obj \
207 $(STUBSDIR)\minifram.obj \
208 $(STUBSDIR)\msgdlg.obj \
209 $(STUBSDIR)\notebook.obj \
210 $(STUBSDIR)\palette.obj \
211 $(STUBSDIR)\pen.obj \
212 $(STUBSDIR)\printdlg.obj \
213 $(STUBSDIR)\print.obj \
214 $(STUBSDIR)\radiobox.obj \
215 $(STUBSDIR)\radiobut.obj \
216 $(STUBSDIR)\region.obj \
217 $(STUBSDIR)\scrolbar.obj \
218 $(STUBSDIR)\settings.obj \
219 $(STUBSDIR)\slider.obj \
220 $(STUBSDIR)\spinbutt.obj \
221 $(STUBSDIR)\statbmp.obj \
222 $(STUBSDIR)\statbox.obj \
223 $(STUBSDIR)\statusbr.obj \
224 $(STUBSDIR)\stattext.obj \
225 $(STUBSDIR)\tabctrl.obj \
226 $(STUBSDIR)\taskbar.obj \
227 $(STUBSDIR)\toolbar.obj \
228 $(STUBSDIR)\textctrl.obj \
229 $(STUBSDIR)\thread.obj \
230 $(STUBSDIR)\timer.obj \
231 $(STUBSDIR)\treectrl.obj \
232 $(STUBSDIR)\utils.obj \
233 $(STUBSDIR)\utilsexc.obj \
234 $(STUBSDIR)\wave.obj \
235 $(STUBSDIR)\window.obj
238 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(STUBSOBJS)
240 # Normal, static library
241 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
243 $(WXDIR)\lib\wxstubs.lib: $(OBJECTS) $(PERIPH_LIBS)
248 $(OBJECTS) $(PERIPH_LIBS)
251 ########################################################
252 # Windows-specific objects
254 $(STUBSDIR)/accel.obj: $*.$(SRCSUFF)
256 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
259 $(STUBSDIR)/app.obj: $*.$(SRCSUFF)
261 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
264 $(STUBSDIR)/bitmap.obj: $*.$(SRCSUFF)
266 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
269 $(STUBSDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
271 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
274 $(STUBSDIR)/brush.obj: $*.$(SRCSUFF)
276 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
279 $(STUBSDIR)/button.obj: $*.$(SRCSUFF)
281 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
284 $(STUBSDIR)/choice.obj: $*.$(SRCSUFF)
286 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
289 $(STUBSDIR)/checkbox.obj: $*.$(SRCSUFF)
291 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
294 $(STUBSDIR)/checklst.obj: $*.$(SRCSUFF)
296 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
299 $(STUBSDIR)/clipbrd.obj: $*.$(SRCSUFF)
301 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
304 $(STUBSDIR)/colordlg.obj: $*.$(SRCSUFF)
306 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
309 $(STUBSDIR)/colour.obj: $*.$(SRCSUFF)
311 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
314 $(STUBSDIR)/combobox.obj: $*.$(SRCSUFF)
316 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
319 $(STUBSDIR)/control.obj: $*.$(SRCSUFF)
321 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
324 $(STUBSDIR)/cursor.obj: $*.$(SRCSUFF)
326 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
329 $(STUBSDIR)/data.obj: $*.$(SRCSUFF)
331 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
334 $(STUBSDIR)/dc.obj: $*.$(SRCSUFF)
336 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
339 $(STUBSDIR)/dcmemory.obj: $*.$(SRCSUFF)
341 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
344 $(STUBSDIR)/dcclient.obj: $*.$(SRCSUFF)
346 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
349 $(STUBSDIR)/dcprint.obj: $*.$(SRCSUFF)
351 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
354 $(STUBSDIR)/dcscreen.obj: $*.$(SRCSUFF)
356 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
359 $(STUBSDIR)/dialog.obj: $*.$(SRCSUFF)
361 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
364 $(STUBSDIR)/dirdlg.obj: $*.$(SRCSUFF)
366 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
369 $(STUBSDIR)/filedlg.obj: $*.$(SRCSUFF)
371 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
374 $(STUBSDIR)/font.obj: $*.$(SRCSUFF)
376 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
379 $(STUBSDIR)/fontdlg.obj: $*.$(SRCSUFF)
381 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
384 $(STUBSDIR)/frame.obj: $*.$(SRCSUFF)
386 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
389 $(STUBSDIR)/gauge.obj: $*.$(SRCSUFF)
391 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
394 $(STUBSDIR)/gdiobj.obj: $*.$(SRCSUFF)
396 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
399 $(STUBSDIR)/icon.obj: $*.$(SRCSUFF)
401 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
404 $(STUBSDIR)/imaglist.obj: $*.$(SRCSUFF)
406 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
409 $(STUBSDIR)/joystick.obj: $*.$(SRCSUFF)
411 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
414 $(STUBSDIR)/listbox.obj: $*.$(SRCSUFF)
416 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
419 $(STUBSDIR)/listctrl.obj: $*.$(SRCSUFF)
421 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
424 $(STUBSDIR)/main.obj: $*.$(SRCSUFF)
426 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
429 $(STUBSDIR)/mdi.obj: $*.$(SRCSUFF)
431 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
434 $(STUBSDIR)/menu.obj: $*.$(SRCSUFF)
436 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
439 $(STUBSDIR)/menuitem.obj: $*.$(SRCSUFF)
441 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
444 $(STUBSDIR)/metafile.obj: $*.$(SRCSUFF)
446 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
449 $(STUBSDIR)/minifram.obj: $*.$(SRCSUFF)
451 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
454 $(STUBSDIR)/msgdlg.obj: $*.$(SRCSUFF)
456 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
459 $(STUBSDIR)/notebook.obj: $*.$(SRCSUFF)
461 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
464 $(STUBSDIR)/palette.obj: $*.$(SRCSUFF)
466 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
469 $(STUBSDIR)/pen.obj: $*.$(SRCSUFF)
471 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
474 $(STUBSDIR)/printdlg.obj: $*.$(SRCSUFF)
476 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
479 $(STUBSDIR)/print.obj: $*.$(SRCSUFF)
481 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
484 $(STUBSDIR)/radiobox.obj: $*.$(SRCSUFF)
486 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
489 $(STUBSDIR)/radiobut.obj: $*.$(SRCSUFF)
491 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
494 $(STUBSDIR)/region.obj: $*.$(SRCSUFF)
496 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
499 $(STUBSDIR)/scrolbar.obj: $*.$(SRCSUFF)
501 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
504 $(STUBSDIR)/settings.obj: $*.$(SRCSUFF)
506 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
509 $(STUBSDIR)/slider.obj: $*.$(SRCSUFF)
511 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
514 $(STUBSDIR)/spinbutt.obj: $*.$(SRCSUFF)
516 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
519 $(STUBSDIR)/statbmp.obj: $*.$(SRCSUFF)
521 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
524 $(STUBSDIR)/statbox.obj: $*.$(SRCSUFF)
526 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
529 $(STUBSDIR)/statusbr.obj: $*.$(SRCSUFF)
531 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
534 $(STUBSDIR)/stattext.obj: $*.$(SRCSUFF)
536 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
539 $(STUBSDIR)/tabctrl.obj: $*.$(SRCSUFF)
541 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
544 $(STUBSDIR)/taskbar.obj: $*.$(SRCSUFF)
546 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
549 $(STUBSDIR)/toolbar.obj: $*.$(SRCSUFF)
551 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
554 $(STUBSDIR)/textctrl.obj: $*.$(SRCSUFF)
556 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
559 $(STUBSDIR)/thread.obj: $*.$(SRCSUFF)
561 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
564 $(STUBSDIR)/timer.obj: $*.$(SRCSUFF)
566 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
569 $(STUBSDIR)/treectrl.obj: $*.$(SRCSUFF)
571 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
574 $(STUBSDIR)/utils.obj: $*.$(SRCSUFF)
576 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
579 $(STUBSDIR)/utilsexc.obj: $*.$(SRCSUFF)
581 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
584 $(STUBSDIR)/wave.obj: $*.$(SRCSUFF)
587 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
590 $(STUBSDIR)/window.obj: $*.$(SRCSUFF)
593 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
596 ########################################################
597 # Common objects (always compiled)
599 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
602 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
605 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
608 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
611 $(COMMDIR)/db.obj: $*.$(SRCSUFF)
614 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
617 $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
620 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
623 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
625 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
628 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
630 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
633 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
635 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
638 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
640 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
643 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
645 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
648 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
650 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
653 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
655 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
658 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
660 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
663 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
665 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
668 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
670 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
673 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
675 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
678 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
680 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
683 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
685 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
688 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
690 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
693 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
695 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
698 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
700 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
703 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
705 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
708 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
710 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
713 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
715 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
718 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
720 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
723 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
725 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
728 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
730 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
733 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
735 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
738 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
740 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
743 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
745 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
748 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
750 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
753 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
755 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
758 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
760 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
763 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
766 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
769 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
771 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
774 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
776 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
779 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
781 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
784 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
786 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
789 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
791 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
794 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
796 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
799 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
801 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
804 $(COMMDIR)\stream.obj: $*.$(SRCSUFF)
806 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
809 $(COMMDIR)\fstream.obj: $*.$(SRCSUFF)
811 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
814 $(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
816 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
819 $(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
821 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
824 $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
826 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
829 $(COMMDIR)/extended.obj: $*.c
831 $(CPPFLAGS2) /c /Tp $*.c /Fo$@
834 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
836 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
839 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
841 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
844 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
846 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
849 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
850 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
852 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
853 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
855 ########################################################
856 # Generic objects (not always compiled, depending on
857 # whether platforms have native implementations)
859 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
861 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
864 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
866 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
869 $(GENDIR)/dcpsg.obj: $*.$(SRCSUFF)
871 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
874 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
876 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
879 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
881 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
884 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
886 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
889 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
891 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
894 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
896 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
899 $(GENDIR)/prop.obj: $*.$(SRCSUFF)
901 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
904 $(GENDIR)/propform.obj: $*.$(SRCSUFF)
906 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
909 $(GENDIR)/proplist.obj: $*.$(SRCSUFF)
911 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
914 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
916 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
919 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
921 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
924 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
926 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
929 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
931 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
934 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
936 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
939 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
941 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
944 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
946 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
949 $(OBJECTS): $(WXDIR)/include/wx/stubs/setup.h
951 clean: $(PERIPH_CLEAN_TARGET)
954 -erase $(WXDIR)\lib\*.pdb
958 cd $(WXDIR)\src\stubs
963 cd $(WXDIR)\src\stubs
970 cd $(WXDIR)\src\stubs