X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dabeb02181178d15b6914992a34eb223a98aaa0a..2004484f9b139978e86c3e9e102001a46f493576:/src/msw/makefile.nt diff --git a/src/msw/makefile.nt b/src/msw/makefile.nt index 607e08a1fa..f8697d07ed 100644 --- a/src/msw/makefile.nt +++ b/src/msw/makefile.nt @@ -2,7 +2,7 @@ # File: makefile.nt # Author: Julian Smart # Created: 1997 -# Updated: +# Updated: # Copyright: (c) 1997, Julian Smart # # "%W% %G%" @@ -32,65 +32,79 @@ DUMMYOBJ=dummy.obj # This one overrides the others, to be consistent with the settings in wx_setup.h MINIMAL_WXWINDOWS_SETUP=0 -USE_XPM_IN_MSW=0 - -!if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" -USE_XPM_IN_MSW=0 -!endif - PERIPH_LIBS= PERIPH_TARGET= PERIPH_CLEAN_TARGET= -!if "$(USE_XPM_IN_MSW)" == "1" -PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) -PERIPH_TARGET=xpm $(PERIPH_TARGET) -PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) -!endif - -GENDIR=..\generic -COMMDIR=..\common +# These are absolute paths, so that the compiler +# generates correct __FILE__ symbols for debugging. +# Otherwise you don't be able to double-click on a memory +# error to load that file. +GENDIR=$(WXDIR)\src\generic +COMMDIR=$(WXDIR)\src\common +XPMDIR=$(WXDIR)\src\xpm OLEDIR=ole -MSWDIR=. +MSWDIR=$(WXDIR)\src\msw DOCDIR = $(WXDIR)\docs GENERICOBJS= \ $(GENDIR)\choicdgg.obj \ - $(GENDIR)\colrdlgg.obj \ - $(GENDIR)\fontdlgg.obj \ $(GENDIR)\gridg.obj \ - $(GENDIR)\helpxlp.obj \ - $(GENDIR)\msgdlgg.obj \ + $(GENDIR)\laywin.obj \ $(GENDIR)\panelg.obj \ - $(GENDIR)\printps.obj \ - $(GENDIR)\prntdlgg.obj \ + $(GENDIR)\prop.obj \ + $(GENDIR)\propform.obj \ + $(GENDIR)\proplist.obj \ + $(GENDIR)\sashwin.obj \ $(GENDIR)\scrolwin.obj \ $(GENDIR)\splitter.obj \ $(GENDIR)\statusbr.obj \ $(GENDIR)\tabg.obj \ $(GENDIR)\textdlgg.obj +# $(GENDIR)\imaglist.obj \ +# $(GENDIR)\treectrl.obj \ +# $(GENDIR)\listctrl.obj \ +# $(GENDIR)\notebook.obj \ + +# These are generic things that don't need to be compiled on MSW, +# but sometimes it's useful to do so for testing purposes. +NONESSENTIALOBJS= \ + $(GENDIR)\printps.obj \ + $(GENDIR)\prntdlgg.obj \ + $(GENDIR)\msgdlgg.obj \ + $(GENDIR)\helpxlp.obj \ + $(GENDIR)\colrdlgg.obj \ + $(GENDIR)\fontdlgg.obj \ + $(COMMDIR)\postscrp.obj + COMMONOBJS = \ $(COMMDIR)\cmndata.obj \ $(COMMDIR)\config.obj \ + $(COMMDIR)\db.obj \ + $(COMMDIR)\dbtable.obj \ $(COMMDIR)\docview.obj \ + $(COMMDIR)\docmdi.obj \ $(COMMDIR)\dynarray.obj \ + $(COMMDIR)\dynlib.obj \ $(COMMDIR)\event.obj \ $(COMMDIR)\file.obj \ - $(COMMDIR)\fileconf.obj \ $(COMMDIR)\filefn.obj \ + $(COMMDIR)\fileconf.obj \ + $(COMMDIR)\framecmn.obj \ $(COMMDIR)\gdicmn.obj \ + $(COMMDIR)\image.obj \ $(COMMDIR)\intl.obj \ $(COMMDIR)\ipcbase.obj \ $(COMMDIR)\helpbase.obj \ $(COMMDIR)\layout.obj \ $(COMMDIR)\log.obj \ $(COMMDIR)\memory.obj \ + $(COMMDIR)\mimetype.obj \ $(COMMDIR)\module.obj \ - $(COMMDIR)\object.obj \ $(COMMDIR)\odbc.obj \ - $(COMMDIR)\postscrp.obj \ + $(COMMDIR)\object.obj \ $(COMMDIR)\prntbase.obj \ $(COMMDIR)\resource.obj \ $(COMMDIR)\tbarbase.obj \ @@ -104,15 +118,31 @@ COMMONOBJS = \ $(COMMDIR)\hash.obj \ $(COMMDIR)\list.obj \ $(COMMDIR)\string.obj \ + $(COMMDIR)\socket.obj \ + $(COMMDIR)\sckaddr.obj \ + $(COMMDIR)\sckfile.obj \ + $(COMMDIR)\sckipc.obj \ + $(COMMDIR)\sckstrm.obj \ + $(COMMDIR)\url.obj \ + $(COMMDIR)\http.obj \ + $(COMMDIR)\protocol.obj \ $(COMMDIR)\time.obj \ + $(COMMDIR)\tokenzr.obj \ $(COMMDIR)\wxexpr.obj \ - $(COMMDIR)\y_tab.obj - -# $(COMMDIR)\wxstrgnu\wxstrgnu.obj \ -# $(COMMDIR)\wxstrgnu\wxregex.obj \ -# $(COMMDIR)\matrix.obj \ + $(COMMDIR)\y_tab.obj \ + $(COMMDIR)\extended.obj \ + $(COMMDIR)\process.obj \ + $(COMMDIR)\wfstream.obj \ + $(COMMDIR)\mstream.obj \ + $(COMMDIR)\zstream.obj \ + $(COMMDIR)\stream.obj \ + $(COMMDIR)\datstrm.obj \ + $(COMMDIR)\objstrm.obj \ + $(COMMDIR)\variant.obj \ + $(COMMDIR)\wincmn.obj MSWOBJS = \ + $(MSWDIR)\accel.obj \ $(MSWDIR)\app.obj \ $(MSWDIR)\bitmap.obj \ $(MSWDIR)\bmpbuttn.obj \ @@ -143,14 +173,14 @@ MSWOBJS = \ $(MSWDIR)\font.obj \ $(MSWDIR)\fontdlg.obj \ $(MSWDIR)\frame.obj \ - $(MSWDIR)\gauge.obj \ + $(MSWDIR)\gauge95.obj \ + $(MSWDIR)\gaugemsw.obj \ $(MSWDIR)\gdiobj.obj \ $(MSWDIR)\helpwin.obj \ $(MSWDIR)\icon.obj \ - $(MSWDIR)\imaglist.obj \ + $(MSWDIR)\iniconf.obj \ $(MSWDIR)\joystick.obj \ $(MSWDIR)\listbox.obj \ - $(MSWDIR)\listctrl.obj \ $(MSWDIR)\main.obj \ $(MSWDIR)\mdi.obj \ $(MSWDIR)\menu.obj \ @@ -170,9 +200,11 @@ MSWOBJS = \ $(MSWDIR)\radiobut.obj \ $(MSWDIR)\region.obj \ $(MSWDIR)\registry.obj \ + $(MSWDIR)\regconf.obj \ $(MSWDIR)\scrolbar.obj \ $(MSWDIR)\settings.obj \ - $(MSWDIR)\slider.obj \ + $(MSWDIR)\slidrmsw.obj \ + $(MSWDIR)\slider95.obj \ $(MSWDIR)\spinbutt.obj \ $(MSWDIR)\statbmp.obj \ $(MSWDIR)\statbox.obj \ @@ -185,21 +217,38 @@ MSWOBJS = \ $(MSWDIR)\textctrl.obj \ $(MSWDIR)\thread.obj \ $(MSWDIR)\timer.obj \ - $(MSWDIR)\treectrl.obj \ $(MSWDIR)\utils.obj \ + $(MSWDIR)\utilsexc.obj \ $(MSWDIR)\wave.obj \ $(MSWDIR)\window.obj \ + $(MSWDIR)\notebook.obj \ + $(MSWDIR)\listctrl.obj \ + $(MSWDIR)\imaglist.obj \ + $(MSWDIR)\treectrl.obj \ $(OLEDIR)\droptgt.obj \ $(OLEDIR)\dropsrc.obj \ $(OLEDIR)\dataobj.obj \ $(OLEDIR)\oleutils.obj \ - $(OLEDIR)\uuid.obj - - -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) + $(OLEDIR)\uuid.obj \ + $(OLEDIR)\automtn.obj + +XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ + $(XPMDIR)\crdatfri.obj\ + $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ + $(XPMDIR)\crifrdat.obj\ + $(XPMDIR)\data.obj\ + $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ + $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ + $(XPMDIR)\rdftoi.obj\ + $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ + $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ + $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj + +# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. +OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) # Normal, static library -all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) +all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib $(LIBTARGET) # wxWindows library as DLL dll: @@ -250,7 +299,7 @@ $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib $(link) @<< $(LINKFLAGS) -out:$(WXDIR)\lib\wx200.dll - $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib + $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib << ######################################################## @@ -264,11 +313,16 @@ dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) << -$(MSWDIR)/app.obj: $*.$(SRCSUFF) +$(MSWDIR)/accel.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(MSWDIR)/app.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /D__NO_VC_CRTDBG__ /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -414,7 +468,12 @@ $(MSWDIR)/frame.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << -$(MSWDIR)/gauge.obj: $*.$(SRCSUFF) +$(MSWDIR)/gauge95.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << @@ -549,6 +608,11 @@ $(MSWDIR)/registry.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(MSWDIR)/regconf.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -559,7 +623,12 @@ $(MSWDIR)/settings.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << -$(MSWDIR)/slider.obj: $*.$(SRCSUFF) +$(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(MSWDIR)/slider95.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << @@ -634,6 +703,11 @@ $(MSWDIR)/utils.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(MSWDIR)/wave.obj: $*.$(SRCSUFF) echo $(CPPFLAGS) cl @<< @@ -676,6 +750,12 @@ $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(OLEDIR)/automtn.obj: $*.$(SRCSUFF) + echo $(CPPFLAGS) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + ######################################################## # Common objects (always compiled) @@ -691,16 +771,38 @@ $(COMMDIR)/config.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/db.obj: $*.$(SRCSUFF) + echo $(CPPFLAGS) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/dbtable.obj: $*.$(SRCSUFF) + echo $(CPPFLAGS) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/docview.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/dynlib.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/event.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -721,11 +823,21 @@ $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/image.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/intl.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -756,6 +868,11 @@ $(COMMDIR)/memory.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)/mimetype.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/module.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -847,26 +964,111 @@ $(COMMDIR)/string.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << -$(COMMDIR)/matrix.obj: $*.$(SRCSUFF) +$(COMMDIR)/socket.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << -#$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) -# cl @<< -#$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@ -#<< +$(COMMDIR)/sckaddr.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< -#$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) -# cl @<< -#$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@ -#<< +$(COMMDIR)/sckfile.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/sckipc.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/sckstrm.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/url.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/http.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/protocol.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/tokenzr.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/matrix.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< $(COMMDIR)/time.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(COMMDIR)\stream.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)\wfstream.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)\mstream.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)\zstream.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)\datstrm.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)\objstrm.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/extended.obj: $*.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(COMMDIR)/process.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/variant.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c cl @<< $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ @@ -907,6 +1109,11 @@ $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(GENDIR)/laywin.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -917,6 +1124,21 @@ $(GENDIR)/panelg.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(GENDIR)/prop.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(GENDIR)/propform.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(GENDIR)/proplist.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(GENDIR)/printps.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -927,6 +1149,11 @@ $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << +$(GENDIR)/sashwin.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) cl @<< $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ @@ -952,20 +1179,167 @@ $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ << -#test: $(DUMMYOBJ) $(COMMDIR)/string.obj +$(GENDIR)/treectrl.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(GENDIR)/imaglist.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< +$(GENDIR)/listctrl.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< + +$(GENDIR)/notebook.obj: $*.$(SRCSUFF) + cl @<< +$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ +<< $(OBJECTS): $(WXDIR)/include/wx/setup.h +$(XPMDIR)\crbuffri.obj: $(XPMDIR)\crbuffri.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crbuffrp.obj: $(XPMDIR)\crbuffrp.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crdatfri.obj: $(XPMDIR)\crdatfri.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crdatfrp.obj: $(XPMDIR)\crdatfrp.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\create.obj: $(XPMDIR)\create.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crifrbuf.obj: $(XPMDIR)\crifrbuf.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crifrdat.obj: $(XPMDIR)\crifrdat.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crpfrbuf.obj: $(XPMDIR)\crpfrbuf.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\crpfrdat.obj: $(XPMDIR)\crpfrdat.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\data.obj: $(XPMDIR)\data.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\hashtab.obj: $(XPMDIR)\hashtab.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\misc.obj: $(XPMDIR)\misc.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\parse.obj: $(XPMDIR)\parse.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\rdftodat.obj: $(XPMDIR)\rdftodat.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\rdftoi.obj: $(XPMDIR)\rdftoi.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\rdftop.obj: $(XPMDIR)\rdftop.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\rgb.obj: $(XPMDIR)\rgb.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\scan.obj: $(XPMDIR)\scan.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\simx.obj: $(XPMDIR)\simx.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\wrffrdat.obj: $(XPMDIR)\wrffrdat.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\wrffri.obj: $(XPMDIR)\wrffri.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + +$(XPMDIR)\wrffrp.obj: $(XPMDIR)\wrffrp.c + cl @<< +$(CPPFLAGS2) /c $*.c /Fo$@ +<< + # Peripheral components +png: + cd $(WXDIR)\src\png + nmake -f makefile.nt FINAL=$(FINAL) + cd $(WXDIR)\src\msw + +clean_png: + cd $(WXDIR)\src\png + nmake -f makefile.nt clean + cd $(WXDIR)\src\msw + +zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.nt FINAL=$(FINAL) + cd $(WXDIR)\src\msw + +clean_zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.nt clean + cd $(WXDIR)\src\msw + xpm: - cd $(WXDIR)\contrib\wxxpm + cd $(WXDIR)\src\wxxpm nmake -f makefile.nt FINAL=$(FINAL) cd $(WXDIR)\src\msw clean_xpm: - cd $(WXDIR)\contrib\wxxpm + cd $(WXDIR)\src\wxxpm nmake -f makefile.nt clean cd $(WXDIR)\src\msw @@ -989,7 +1363,7 @@ clean_rcp: nmake -f makefile.nt clean cd $(WXDIR)\src\msw -clean: $(PERIPH_CLEAN_TARGET) +clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib -erase *.obj -erase $(LIBTARGET) -erase $(WXDIR)\lib\*.pdb @@ -1026,21 +1400,27 @@ clean: $(PERIPH_CLEAN_TARGET) cleanall: clean # Making documents -docs: hlp -hlp: wxhlp refhlp portinghlp # faqhlp +docs: allhlp allhtml allpdfrtf +alldocs: docs +hlp: wxhlp portinghlp # faqhlp wxhlp: $(DOCDIR)/winhelp/wx.hlp +wxprophlp: $(DOCDIR)/winhelp/wxprop.hlp faqhlp: $(DOCDIR)/winhelp/faq.hlp refhlp: $(DOCDIR)/winhelp/techref.hlp rtf: $(DOCDIR)/winhelp/wx.rtf faqrtf: $(DOCDIR)/winhelp/faq.rtf +wxproprtf: $(DOCDIR)/winhelp/wxprop.rtf pdfrtf: $(DOCDIR)/pdf/wx.rtf faqpdfrtf: $(DOCDIR)/pdf/faq.rtf +wxproppdfrtf: $(DOCDIR)/pdf/wxprop.rtf refpdfrtf: $(DOCDIR)/pdf/techref.rtf html: wxhtml # faqhtml wxhtml: $(DOCDIR)\html\wx\wx.htm faqhtml: $(DOCDIR)\html\faq\faq.htm +wxprophtml: $(DOCDIR)\html\proplist\prop.htm ps: wxps referencps # faqps wxps: $(WXDIR)\docs\ps\wx.ps +wxpropps: $(WXDIR)\docs\ps\wxprop.ps faqps: $(WXDIR)\docs\ps\faq.ps referencps: $(WXDIR)\docs\ps\referenc.ps @@ -1050,11 +1430,7 @@ portinghlp: $(DOCDIR)/winhelp/porting.hlp portingpdfrtf: $(DOCDIR)/pdf/porting.rtf portingps: $(WXDIR)\docs\ps\porting.ps -alldocs: allhlp allhtml allpdfrtf # allps # TeX can't cope with references! - -allhlp: wxhlp portinghlp # faqhlp - cd $(WXDIR)\utils\wxprop\src - nmake -f makefile.nt hlp +allhlp: wxhlp portinghlp wxprop # faqhlp cd $(WXDIR)\utils\dialoged\src nmake -f makefile.nt hlp cd $(THISDIR) @@ -1085,9 +1461,7 @@ allhlp: wxhlp portinghlp # faqhlp # cd $(WXDIR)\utils\clips2c\src # nmake -f makefile.nt hlp -allhtml: wxhtml portinghtml # faqhtml - cd $(WXDIR)\utils\wxprop\src - nmake -f makefile.nt html +allhtml: wxhtml portinghtml wxprophtml # faqhtml cd $(WXDIR)\utils\dialoged\src nmake -f makefile.nt html cd $(THISDIR) @@ -1119,16 +1493,12 @@ allhtml: wxhtml portinghtml # faqhtml # cd $(WXDIR)\utils\clips2c\src # nmake -f makefile.nt html -allps: wxps referencps portingps # faqps - cd $(WXDIR)\utils\wxprop\src - nmake -f makefile.nt ps +allps: wxps referencps portingps wxpropps # faqps cd $(WXDIR)\utils\dialoged\src nmake -f makefile.nt ps cd $(THISDIR) -allpdfrtf: pdfrtf portingpdfrtf # faqpdfrtf - cd $(WXDIR)\utils\wxprop\src - nmake -f makefile.nt pdfrtf +allpdfrtf: pdfrtf portingpdfrtf wxproppdfrtf # faqpdfrtf cd $(WXDIR)\utils\dialoged\src nmake -f makefile.nt pdfrtf cd $(THISDIR) @@ -1180,6 +1550,14 @@ $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/f move faq.cnt $(DOCDIR)\winhelp\faq.cnt cd $(THISDIR) +$(DOCDIR)/winhelp/wxprop.hlp: $(DOCDIR)/latex/proplist/wxprop.rtf $(DOCDIR)/latex/proplist/wxprop.hpj + cd $(DOCDIR)/latex/proplist + -erase wxprop.ph + hc wxprop + move wxprop.hlp $(DOCDIR)\winhelp\wxprop.hlp + move wxprop.cnt $(DOCDIR)\winhelp\wxprop.cnt + cd $(THISDIR) + $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj cd $(DOCDIR)/latex/techref -erase techref.ph @@ -1203,6 +1581,11 @@ $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp cd $(THISDIR) +$(DOCDIR)/latex/proplist/wxprop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex + cd $(DOCDIR)\latex\proplist + -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/wxprop.rtf -twice -winhelp + cd $(THISDIR) + $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex cd $(DOCDIR)\latex\techref -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp @@ -1226,6 +1609,12 @@ $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf cd $(THISDIR) +$(DOCDIR)/pdf/wxprop.rtf: $(DOCDIR)/latex/proplist/proplist.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex + cd $(DOCDIR)\latex\proplist + -copy *.bmp *.wmf $(DOCDIR)\pdf + -start /w tex2rtf $(DOCDIR)/latex/proplist/wxprop.tex $(DOCDIR)/pdf/wxprop.rtf -twice -rtf + cd $(THISDIR) + $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex cd $(DOCDIR)\latex\techref -copy *.bmp *.wmf $(DOCDIR)\pdf @@ -1240,7 +1629,7 @@ $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex -erase $(DOCDIR)\html\wx\*.ref -erase $(DOCDIR)\latex\wx\*.con -erase $(DOCDIR)\latex\wx\*.ref - cd $(THISDIR) + cd $(THISDIR) $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex cd $(DOCDIR)\latex\porting @@ -1259,7 +1648,17 @@ $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex -erase $(DOCDIR)\html\faq\*.con -erase $(DOCDIR)\html\faq\*.ref -erase $(DOCDIR)\latex\faq\*.con - -erase $(DOCDIR)\latexfaq\*.ref + -erase $(DOCDIR)\latex\faq\*.ref + cd $(THISDIR) + +$(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex + cd $(DOCDIR)\latex\proplist + -mkdir $(DOCDIR)\html\proplist + -start /w tex2rtf $(DOCDIR)\latex\proplist\wxprop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html + -erase $(DOCDIR)\html\proplist\*.con + -erase $(DOCDIR)\html\proplist\*.ref + -erase $(DOCDIR)\latex\proplist\*.con + -erase $(DOCDIR)\latex\proplist\*.ref cd $(THISDIR) $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex @@ -1325,4 +1724,14 @@ $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi move faq.ps $(WXDIR)\docs\ps\faq.ps cd $(THISDIR) +# In order to force document reprocessing +touchmanual: + -touch $(WXDIR)\docs\latex\wx\manual.tex + +updatedocs: touchmanual alldocs + +# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the +# Office StartUp folder, and PDFMaker should be installed. +updatepdf: # touchmanual pdfrtf + start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"