X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..0f90ec936573acad29a7050eb607e3b372953c7a:/src/msw/makefile.wat diff --git a/src/msw/makefile.wat b/src/msw/makefile.wat index 12306011cb..fe278f986c 100644 --- a/src/msw/makefile.wat +++ b/src/msw/makefile.wat @@ -16,9 +16,8 @@ LIBTARGET = $(WXLIB)\wx.lib DUMMY=dummydll # ODBCLIB = ..\..\contrib\odbc\odbc32.lib -EXTRATARGETS = # wxxpm -EXTRATARGETSCLEAN = # clean_wxxpm - +EXTRATARGETS = xpm png zlib +EXTRATARGETSCLEAN = clean_xpm clean_png clean_zlib GENDIR=$(WXDIR)\src\generic COMMDIR=$(WXDIR)\src\common XPMDIR=$(WXDIR)\src\xpm @@ -31,6 +30,7 @@ GENERICOBJS= choicdgg.obj & gridg.obj & laywin.obj & panelg.obj & + progdlgg.obj & prop.obj & propform.obj & proplist.obj & @@ -48,11 +48,11 @@ NONESSENTIALOBJS= printps.obj & msgdlgg.obj & helpxlp.obj & colrdlgg.obj & - fontdlgg.obj & - postscrp.obj + fontdlgg.obj COMMONOBJS = cmndata.obj & config.obj & + dcbase.obj & docview.obj & docmdi.obj & dynarray.obj & @@ -64,6 +64,8 @@ COMMONOBJS = cmndata.obj & framecmn.obj & gdicmn.obj & image.obj & + imagbmp.obj & + imagpng.obj & intl.obj & ipcbase.obj & helpbase.obj & @@ -81,16 +83,19 @@ COMMONOBJS = cmndata.obj & timercmn.obj & utilscmn.obj & validate.obj & + valgen.obj & valtext.obj & date.obj & hash.obj & list.obj & + paper.obj & string.obj & socket.obj & sckaddr.obj & sckfile.obj & sckipc.obj & sckstrm.obj & + sckint.obj & url.obj & http.obj & protocol.obj & @@ -107,14 +112,16 @@ COMMONOBJS = cmndata.obj & datstrm.obj & objstrm.obj & variant.obj & - wincmn.obj + wincmn.obj & + wxchar.obj # Can't compile these yet under Watcom C++ +# imagjpeg.obj & # odbc.obj & # db.obj & # dbtable.obj & -MSWOBJS1 = & +MSWOBJS = & accel.obj & app.obj & bitmap.obj & @@ -123,6 +130,7 @@ MSWOBJS1 = & button.obj & checkbox.obj & checklst.obj & + caret.obj & choice.obj & clipbrd.obj & colordlg.obj & @@ -169,7 +177,6 @@ MSWOBJS1 = & palette.obj & pen.obj & penwin.obj & - pnghand.obj & printdlg.obj & printwin.obj & radiobox.obj & @@ -193,11 +200,15 @@ MSWOBJS1 = & textctrl.obj & thread.obj & timer.obj & + tooltip.obj & treectrl.obj & utils.obj & utilsexc.obj & wave.obj & window.obj & + xpmhand.obj + +# pnghand.obj & OLEOBJS = & droptgt.obj & @@ -207,33 +218,28 @@ OLEOBJS = & uuid.obj & automtn.obj -XPMOBJECTS = crbuffri.obj& - crdatfri.obj& - create.obj crifrbuf.obj& - crifrdat.obj& - data.obj& - hashtab.obj misc.obj& - parse.obj rdftodat.obj& - rdftoi.obj& - rgb.obj scan.obj& - simx.obj wrffrdat.obj& - wrffrp.obj wrffri.obj - # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. -OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS) # $(XPMOBJECTS) +OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(OLEOBJS) -all: $(OBJECTS) $(LIBTARGET) +all: $(OBJECTS) $(LIBTARGET) $(EXTRATARGETS) $(LIBTARGET) : $(OBJECTS) %create tmp.lbc @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i wlib /b /c /n /p=512 $^@ @tmp.lbc + +#test : $(OBJECTS) +# %create tmp.lbc +# @for %i in ( $(OBJECTS) ) do @%append tmp.lbc +%i +# wlib /b /c /n /p=512 $^@ @tmp.lbc -clean: .SYMBOLIC + +clean: .SYMBOLIC $(EXTRATARGETSCLEAN) -erase *.obj -erase $(LIBTARGET) -erase *.pch -erase *.err + -erase *.lbc cleanall: clean @@ -255,6 +261,9 @@ brush.obj: $(MSWDIR)\brush.cpp button.obj: $(MSWDIR)\button.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +caret.obj: $(MSWDIR)\caret.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + choice.obj: $(MSWDIR)\choice.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -339,12 +348,18 @@ gaugemsw.obj: $(MSWDIR)\gaugemsw.cpp gdiobj.obj: $(MSWDIR)\gdiobj.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +helpwin.obj: $(MSWDIR)\helpwin.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + icon.obj: $(MSWDIR)\icon.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< imaglist.obj: $(MSWDIR)\imaglist.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +iniconf.obj: $(MSWDIR)\iniconf.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + joystick.obj: $(MSWDIR)\joystick.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -448,7 +463,6 @@ tabctrl.obj: $(MSWDIR)\tabctrl.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< taskbar.obj: $(MSWDIR)\taskbar.cpp - cl @<< *$(CCC) $(CPPFLAGS) $(IFLAGS) $< tbar95.obj: $(MSWDIR)\tbar95.cpp @@ -466,8 +480,10 @@ thread.obj: $(MSWDIR)\thread.cpp timer.obj: $(MSWDIR)\timer.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +tooltip.obj: $(MSWDIR)\tooltip.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + treectrl.obj: $(MSWDIR)\treectrl.cpp - cl @<< *$(CCC) $(CPPFLAGS) $(IFLAGS) $< utils.obj: $(MSWDIR)\utils.cpp @@ -482,6 +498,9 @@ wave.obj: $(MSWDIR)\wave.cpp window.obj: $(MSWDIR)\window.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +xpmhand.obj: $(MSWDIR)\xpmhand.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + droptgt.obj: $(OLEDIR)\droptgt.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -509,6 +528,9 @@ cmndata.obj: $(COMMDIR)\cmndata.cpp config.obj: $(COMMDIR)\config.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +dcbase.obj: $(COMMDIR)\dcbase.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + db.obj: $(COMMDIR)\db.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -548,6 +570,15 @@ gdicmn.obj: $(COMMDIR)\gdicmn.cpp image.obj: $(COMMDIR)\image.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +imagbmp.obj: $(COMMDIR)\imagbmp.cpp + *$(CCC) $(CPPFLAGS) -i=..\png -i=..\zlib $(IFLAGS) $< + +imagpng.obj: $(COMMDIR)\imagpng.cpp + *$(CCC) $(CPPFLAGS) -i=..\png -i=..\zlib $(IFLAGS) $< + +imagjpeg.obj: $(COMMDIR)\imagjpeg.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + intl.obj: $(COMMDIR)\intl.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -578,9 +609,6 @@ object.obj: $(COMMDIR)\object.cpp odbc.obj: $(COMMDIR)\odbc.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< -postscrp.obj: $(COMMDIR)\postcrp.cpp - *$(CCC) $(CPPFLAGS) $(IFLAGS) $< - prntbase.obj: $(COMMDIR)\prntbase.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -605,6 +633,9 @@ utilscmn.obj: $(COMMDIR)\utilscmn.cpp validate.obj: $(COMMDIR)\validate.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +valgen.obj: $(COMMDIR)\valgen.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + valtext.obj: $(COMMDIR)\valtext.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -620,12 +651,18 @@ hash.obj: $(COMMDIR)\hash.cpp list.obj: $(COMMDIR)\list.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +paper.obj: $(COMMDIR)\paper.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + string.obj: $(COMMDIR)\string.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< socket.obj: $(COMMDIR)\socket.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +sckint.obj: $(COMMDIR)\sckint.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + sckaddr.obj: $(COMMDIR)\sckaddr.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -686,6 +723,9 @@ variant.obj: $(COMMDIR)\variant.cpp wincmn.obj: $(COMMDIR)\wincmn.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +wxchar.obj: $(COMMDIR)\wxchar.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c *$(CC) $(CPPFLAGS) $(IFLAGS) -DUSE_DEFINE $(COMMDIR)\y_tab.c @@ -728,6 +768,9 @@ panelg.obj: $(GENDIR)\panelg.cpp printps.obj: $(GENDIR)\printps.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< +progdlgg.obj: $(GENDIR)\progdlgg.cpp + *$(CCC) $(CPPFLAGS) $(IFLAGS) $< + prop.obj: $(GENDIR)\prop.cpp *$(CCC) $(CPPFLAGS) $(IFLAGS) $< @@ -825,15 +868,82 @@ wrffri.obj: $(XPMDIR)\wrffri.c wrffrp.obj: $(XPMDIR)\wrffrp.c *$(CC) $(CPPFLAGS) $(IFLAGS) $< +OBJ1 = adler32$(O) compress$(O) crc32$(O) gzio$(O) uncompr$(O) deflate$(O) \ + trees$(O) +OBJ2 = zutil$(O) inflate$(O) infblock$(O) inftrees$(O) infcodes$(O) \ + infutil$(O) inffast$(O) + +adler32.obj: adler32.c zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +compress.obj: compress.c zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +crc32.obj: crc32.c zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +gzio.obj: gzio.c zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +infblock.obj: infblock.c zutil.h zlib.h zconf.h infblock.h inftrees.h\ + infcodes.h infutil.h + $(CC) -c $(CFLAGS) $*.c + +infcodes.obj: infcodes.c zutil.h zlib.h zconf.h inftrees.h infutil.h\ + infcodes.h inffast.h + $(CC) -c $(CFLAGS) $*.c + +inflate.obj: inflate.c zutil.h zlib.h zconf.h infblock.h + $(CC) -c $(CFLAGS) $*.c + +inftrees.obj: inftrees.c zutil.h zlib.h zconf.h inftrees.h + $(CC) -c $(CFLAGS) $*.c + +infutil.obj: infutil.c zutil.h zlib.h zconf.h inftrees.h infutil.h + $(CC) -c $(CFLAGS) $*.c + +inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h + $(CC) -c $(CFLAGS) $*.c + +trees.obj: trees.c deflate.h zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +uncompr.obj: uncompr.c zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +zutil.obj: zutil.c zutil.h zlib.h zconf.h + $(CC) -c $(CFLAGS) $*.c + +xpm: .SYMBOLIC + cd $(WXDIR)\src\xpm + wmake -f makefile.wat all + cd $(WXDIR)\src\msw + +clean_xpm: .SYMBOLIC + cd $(WXDIR)\src\xpm + wmake -f makefile.wat clean + cd $(WXDIR)\src\msw + +png: .SYMBOLIC + cd $(WXDIR)\src\png + wmake -f makefile.wat all + cd $(WXDIR)\src\msw -#wxxpm: .SYMBOLIC -# cd $(WXDIR)\contrib\wxxpm -# wmake -f makefile.wat all -# cd $(WXDIR)\src\msw +clean_png: .SYMBOLIC + cd $(WXDIR)\src\png + wmake -f makefile.wat clean + cd $(WXDIR)\src\msw -#clean_wxxpm: .SYMBOLIC -# cd $(WXDIR)\contrib\wxxpm -# wmake -f makefile.wat clean -# cd $(WXDIR)\src\msw +zlib: .SYMBOLIC + cd $(WXDIR)\src\zlib + wmake -f makefile.wat all + cd $(WXDIR)\src\msw +clean_zlib: .SYMBOLIC + cd $(WXDIR)\src\zlib + wmake -f makefile.wat clean + cd $(WXDIR)\src\msw