diff --git a/Externals/wxWidgets3/SConscript b/Externals/wxWidgets3/SConscript new file mode 100644 index 0000000000..830eea6a37 --- /dev/null +++ b/Externals/wxWidgets3/SConscript @@ -0,0 +1,1361 @@ +# -*- python -*- + +Import('env') +import sys + +if env['HAVE_WX'] or env['nowx']: + Return() + +env['CPPPATH'] += ['#Externals/wxWidgets3', '#Externals/wxWidgets3/include'] + +wxenv = env.Clone() + +wxenv['CPPDEFINES'] += ['WXBUILDING'] +if sys.platform == 'darwin': + wxenv['CPPDEFINES'] += ['__WXMAC__', '__WXOSX__'] # ['__WXOSX_COCOA__'] + +# gtk, msw, osx and shared files as of r66858 + +aui = [ + 'src/aui/auibar.cpp', + 'src/aui/auibook.cpp', + 'src/aui/dockart.cpp', + 'src/aui/floatpane.cpp', + 'src/aui/framemanager.cpp', + 'src/aui/tabmdi.cpp', + ] + +common = [ + 'src/common/accelcmn.cpp', + 'src/common/accesscmn.cpp', + 'src/common/anidecod.cpp', + 'src/common/animatecmn.cpp', + 'src/common/any.cpp', + 'src/common/appbase.cpp', + 'src/common/appcmn.cpp', + 'src/common/arcall.cpp', + 'src/common/arcfind.cpp', + 'src/common/archive.cpp', + 'src/common/arrstr.cpp', + 'src/common/artprov.cpp', + 'src/common/artstd.cpp', + 'src/common/arttango.cpp', + 'src/common/base64.cpp', + 'src/common/bmpbase.cpp', + 'src/common/bmpbtncmn.cpp', + 'src/common/bmpcboxcmn.cpp', + 'src/common/bookctrl.cpp', + 'src/common/btncmn.cpp', + 'src/common/cairo.cpp', + 'src/common/calctrlcmn.cpp', + 'src/common/checkboxcmn.cpp', + 'src/common/checklstcmn.cpp', + 'src/common/choiccmn.cpp', + 'src/common/clipcmn.cpp', + 'src/common/clntdata.cpp', + 'src/common/clrpickercmn.cpp', + 'src/common/cmdline.cpp', + 'src/common/cmdproc.cpp', + 'src/common/cmndata.cpp', + 'src/common/colourcmn.cpp', + 'src/common/colourdata.cpp', + 'src/common/combocmn.cpp', + 'src/common/config.cpp', + 'src/common/containr.cpp', + 'src/common/convauto.cpp', + 'src/common/cshelp.cpp', + 'src/common/ctrlcmn.cpp', + 'src/common/ctrlsub.cpp', + 'src/common/datavcmn.cpp', + 'src/common/datetime.cpp', + 'src/common/datetimefmt.cpp', + 'src/common/datstrm.cpp', + 'src/common/dcbase.cpp', + 'src/common/dcbufcmn.cpp', + 'src/common/dcgraph.cpp', + 'src/common/dcsvg.cpp', + 'src/common/debugrpt.cpp', + 'src/common/dircmn.cpp', + 'src/common/dirctrlcmn.cpp', + 'src/common/dlgcmn.cpp', + 'src/common/dndcmn.cpp', + 'src/common/dobjcmn.cpp', + 'src/common/docmdi.cpp', + 'src/common/docview.cpp', + 'src/common/dpycmn.cpp', + 'src/common/dseldlg.cpp', + 'src/common/dummy.cpp', + 'src/common/dynarray.cpp', + 'src/common/dynlib.cpp', + 'src/common/dynload.cpp', + 'src/common/effects.cpp', + 'src/common/emptydmy.cpp', + 'src/common/encconv.cpp', + 'src/common/event.cpp', + 'src/common/evtloopcmn.cpp', + 'src/common/extended.c', + 'src/common/fddlgcmn.cpp', + 'src/common/fdiodispatcher.cpp', + 'src/common/ffile.cpp', + 'src/common/file.cpp', + 'src/common/fileback.cpp', + 'src/common/fileconf.cpp', + 'src/common/filectrlcmn.cpp', + 'src/common/filefn.cpp', + 'src/common/filehistorycmn.cpp', + 'src/common/filename.cpp', + 'src/common/filepickercmn.cpp', + 'src/common/filesys.cpp', + 'src/common/filtall.cpp', + 'src/common/filtfind.cpp', + 'src/common/fldlgcmn.cpp', + 'src/common/fmapbase.cpp', + 'src/common/fontcmn.cpp', + 'src/common/fontdata.cpp', + 'src/common/fontenumcmn.cpp', + 'src/common/fontmap.cpp', + #'src/common/fontmgrcmn.cpp', + 'src/common/fontpickercmn.cpp', + 'src/common/fontutilcmn.cpp', + 'src/common/framecmn.cpp', + 'src/common/fs_arc.cpp', + 'src/common/fs_filter.cpp', + 'src/common/fs_inet.cpp', + 'src/common/fs_mem.cpp', + 'src/common/fswatchercmn.cpp', + 'src/common/ftp.cpp', + 'src/common/gaugecmn.cpp', + 'src/common/gbsizer.cpp', + 'src/common/gdicmn.cpp', + 'src/common/geometry.cpp', + 'src/common/gifdecod.cpp', + 'src/common/glcmn.cpp', + 'src/common/graphcmn.cpp', + 'src/common/gridcmn.cpp', + 'src/common/hash.cpp', + 'src/common/hashmap.cpp', + 'src/common/headercolcmn.cpp', + 'src/common/headerctrlcmn.cpp', + 'src/common/helpbase.cpp', + 'src/common/http.cpp', + 'src/common/hyperlnkcmn.cpp', + 'src/common/iconbndl.cpp', + 'src/common/imagall.cpp', + 'src/common/imagbmp.cpp', + 'src/common/image.cpp', + 'src/common/imagfill.cpp', + 'src/common/imaggif.cpp', + 'src/common/imagiff.cpp', + 'src/common/imagjpeg.cpp', + 'src/common/imagpcx.cpp', + 'src/common/imagpng.cpp', + 'src/common/imagpnm.cpp', + 'src/common/imagtga.cpp', + 'src/common/imagtiff.cpp', + 'src/common/imagxpm.cpp', + 'src/common/init.cpp', + 'src/common/intl.cpp', + 'src/common/ipcbase.cpp', + 'src/common/languageinfo.cpp', + 'src/common/layout.cpp', + 'src/common/lboxcmn.cpp', + 'src/common/list.cpp', + 'src/common/listctrlcmn.cpp', + 'src/common/log.cpp', + 'src/common/longlong.cpp', + 'src/common/matrix.cpp', + 'src/common/mediactrlcmn.cpp', + 'src/common/memory.cpp', + 'src/common/menucmn.cpp', + 'src/common/mimecmn.cpp', + 'src/common/module.cpp', + 'src/common/mousemanager.cpp', + 'src/common/msgout.cpp', + 'src/common/mstream.cpp', + 'src/common/nbkbase.cpp', + 'src/common/numformatter.cpp', + 'src/common/object.cpp', + 'src/common/odcombocmn.cpp', + 'src/common/overlaycmn.cpp', + 'src/common/ownerdrwcmn.cpp', + 'src/common/panelcmn.cpp', + 'src/common/paper.cpp', + 'src/common/persist.cpp', + 'src/common/pickerbase.cpp', + 'src/common/platinfo.cpp', + 'src/common/popupcmn.cpp', + 'src/common/powercmn.cpp', + 'src/common/prntbase.cpp', + 'src/common/process.cpp', + 'src/common/protocol.cpp', + 'src/common/quantize.cpp', + 'src/common/radiobtncmn.cpp', + 'src/common/radiocmn.cpp', + 'src/common/rearrangectrl.cpp', + 'src/common/regex.cpp', + 'src/common/rendcmn.cpp', + 'src/common/rgncmn.cpp', + 'src/common/sckaddr.cpp', + 'src/common/sckfile.cpp', + 'src/common/sckipc.cpp', + 'src/common/sckstrm.cpp', + 'src/common/scrolbarcmn.cpp', + 'src/common/selectdispatcher.cpp', + 'src/common/settcmn.cpp', + 'src/common/sizer.cpp', + 'src/common/slidercmn.cpp', + 'src/common/socket.cpp', + 'src/common/socketiohandler.cpp', + 'src/common/spinbtncmn.cpp', + 'src/common/spinctrlcmn.cpp', + 'src/common/srchcmn.cpp', + 'src/common/sstream.cpp', + 'src/common/statbar.cpp', + 'src/common/statbmpcmn.cpp', + 'src/common/statboxcmn.cpp', + 'src/common/statlinecmn.cpp', + 'src/common/stattextcmn.cpp', + 'src/common/stdpbase.cpp', + 'src/common/stdstream.cpp', + 'src/common/stockitem.cpp', + 'src/common/stopwatch.cpp', + 'src/common/strconv.cpp', + 'src/common/stream.cpp', + 'src/common/string.cpp', + 'src/common/stringimpl.cpp', + 'src/common/stringops.cpp', + 'src/common/strvararg.cpp', + 'src/common/sysopt.cpp', + 'src/common/tarstrm.cpp', + 'src/common/taskbarcmn.cpp', + 'src/common/tbarbase.cpp', + 'src/common/textbuf.cpp', + 'src/common/textcmn.cpp', + 'src/common/textentrycmn.cpp', + 'src/common/textfile.cpp', + 'src/common/timercmn.cpp', + 'src/common/timerimpl.cpp', + 'src/common/tokenzr.cpp', + 'src/common/toplvcmn.cpp', + 'src/common/translation.cpp', + 'src/common/treebase.cpp', + 'src/common/txtstrm.cpp', + 'src/common/uiactioncmn.cpp', + 'src/common/unichar.cpp', + 'src/common/uri.cpp', + 'src/common/url.cpp', + 'src/common/ustring.cpp', + 'src/common/utilscmn.cpp', + 'src/common/valgen.cpp', + 'src/common/validate.cpp', + 'src/common/valnum.cpp', + 'src/common/valtext.cpp', + 'src/common/variant.cpp', + 'src/common/wfstream.cpp', + 'src/common/wincmn.cpp', + 'src/common/windowid.cpp', + 'src/common/wrapsizer.cpp', + 'src/common/wxcrt.cpp', + 'src/common/wxprintf.cpp', + 'src/common/xlocale.cpp', + 'src/common/xpmdecod.cpp', + 'src/common/xti.cpp', + 'src/common/xtistrm.cpp', + 'src/common/xtixml.cpp', + 'src/common/zipstrm.cpp', + 'src/common/zstream.cpp', + ] + +expat = [ + #'src/expat/lib/xmlparse.c', + #'src/expat/lib/xmlrole.c', + #'src/expat/lib/xmltok.c', + #'src/expat/lib/xmltok_impl.c', + #'src/expat/lib/xmltok_ns.c', + #'src/expat/xmlwf/codepage.c', + #'src/expat/xmlwf/ct.c', + #'src/expat/xmlwf/readfilemap.c', + #'src/expat/xmlwf/unixfilemap.c', + #'src/expat/xmlwf/win32filemap.c', + #'src/expat/xmlwf/xmlfile.c', + #'src/expat/xmlwf/xmlmime.c', + #'src/expat/xmlwf/xmlwf.c', + #'src/expat/xmlwf/xmlwin32url.cxx', + ] + +generic = [ + 'src/generic/aboutdlgg.cpp', + #'src/generic/accel.cpp', + 'src/generic/animateg.cpp', + 'src/generic/bmpcboxg.cpp', + 'src/generic/busyinfo.cpp', + 'src/generic/buttonbar.cpp', + 'src/generic/calctrlg.cpp', + 'src/generic/caret.cpp', + 'src/generic/choicbkg.cpp', + 'src/generic/choicdgg.cpp', + 'src/generic/clrpickerg.cpp', + 'src/generic/collpaneg.cpp', + #'src/generic/colour.cpp', + 'src/generic/colrdlgg.cpp', + 'src/generic/combog.cpp', + 'src/generic/commandlinkbuttong.cpp', + 'src/generic/datavgen.cpp', + 'src/generic/datectlg.cpp', + 'src/generic/dbgrptg.cpp', + 'src/generic/dcpsg.cpp', + 'src/generic/dirctrlg.cpp', + 'src/generic/dirdlgg.cpp', + 'src/generic/dragimgg.cpp', + 'src/generic/editlbox.cpp', + 'src/generic/fdrepdlg.cpp', + 'src/generic/filectrlg.cpp', + 'src/generic/filedlgg.cpp', + 'src/generic/filepickerg.cpp', + 'src/generic/fontdlgg.cpp', + 'src/generic/fontpickerg.cpp', + 'src/generic/fswatcherg.cpp', + 'src/generic/graphicc.cpp', + 'src/generic/grid.cpp', + 'src/generic/gridctrl.cpp', + 'src/generic/grideditors.cpp', + 'src/generic/gridsel.cpp', + 'src/generic/headerctrlg.cpp', + 'src/generic/helpext.cpp', + 'src/generic/htmllbox.cpp', + 'src/generic/hyperlinkg.cpp', + #'src/generic/icon.cpp', + #'src/generic/imaglist.cpp', + 'src/generic/infobar.cpp', + 'src/generic/laywin.cpp', + 'src/generic/listbkg.cpp', + 'src/generic/listctrl.cpp', + 'src/generic/logg.cpp', + 'src/generic/mask.cpp', + 'src/generic/mdig.cpp', + 'src/generic/msgdlgg.cpp', + #'src/generic/notebook.cpp', + 'src/generic/notifmsgg.cpp', + 'src/generic/numdlgg.cpp', + 'src/generic/odcombo.cpp', + #'src/generic/paletteg.cpp', + 'src/generic/panelg.cpp', + 'src/generic/printps.cpp', + 'src/generic/prntdlgg.cpp', + 'src/generic/progdlgg.cpp', + 'src/generic/propdlg.cpp', + #'src/generic/regiong.cpp', + 'src/generic/renderg.cpp', + 'src/generic/richmsgdlgg.cpp', + 'src/generic/sashwin.cpp', + 'src/generic/scrlwing.cpp', + 'src/generic/selstore.cpp', + 'src/generic/spinctlg.cpp', + 'src/generic/splash.cpp', + 'src/generic/splitter.cpp', + 'src/generic/srchctlg.cpp', + 'src/generic/statbmpg.cpp', + #'src/generic/statline.cpp', + 'src/generic/stattextg.cpp', + 'src/generic/statusbr.cpp', + 'src/generic/tabg.cpp', + 'src/generic/textdlgg.cpp', + #'src/generic/timer.cpp', + 'src/generic/tipdlg.cpp', + 'src/generic/tipwin.cpp', + 'src/generic/toolbkg.cpp', + 'src/generic/treebkg.cpp', + 'src/generic/treectlg.cpp', + 'src/generic/vlbox.cpp', + 'src/generic/vscroll.cpp', + 'src/generic/wizard.cpp', + ] + +gtk = [ + #'src/gtk/aboutdlg.cpp', + #'src/gtk/animate.cpp', + #'src/gtk/app.cpp', + #'src/gtk/artgtk.cpp', + #'src/gtk/assertdlg_gtk.c', + #'src/gtk/bitmap.cpp', + #'src/gtk/bmpbuttn.cpp', + #'src/gtk/bmpcbox.cpp', + #'src/gtk/brush.cpp', + #'src/gtk/button.cpp', + #'src/gtk/calctrl.cpp', + #'src/gtk/checkbox.cpp', + #'src/gtk/checklst.cpp', + #'src/gtk/choice.cpp', + #'src/gtk/clipbrd.cpp', + #'src/gtk/clrpicker.cpp', + #'src/gtk/collpane.cpp', + #'src/gtk/colordlg.cpp', + #'src/gtk/colour.cpp', + #'src/gtk/combobox.cpp', + #'src/gtk/control.cpp', + #'src/gtk/cursor.cpp', + #'src/gtk/dataobj.cpp', + #'src/gtk/dataview.cpp', + #'src/gtk/dc.cpp', + #'src/gtk/dcclient.cpp', + #'src/gtk/dcmemory.cpp', + #'src/gtk/dcscreen.cpp', + #'src/gtk/dialog.cpp', + #'src/gtk/dirdlg.cpp', + #'src/gtk/dnd.cpp', + #'src/gtk/eggtrayicon.c', + #'src/gtk/evtloop.cpp', + #'src/gtk/filectrl.cpp', + #'src/gtk/filedlg.cpp', + #'src/gtk/filehistory.cpp', + #'src/gtk/filepicker.cpp', + #'src/gtk/font.cpp', + #'src/gtk/fontdlg.cpp', + #'src/gtk/fontpicker.cpp', + #'src/gtk/frame.cpp', + #'src/gtk/gauge.cpp', + #'src/gtk/glcanvas.cpp', + #'src/gtk/gnome/gprint.cpp', + #'src/gtk/gnome/gvfs.cpp', + #'src/gtk/hildon/notifmsg.cpp', + #'src/gtk/hyperlink.cpp', + #'src/gtk/infobar.cpp', + #'src/gtk/listbox.cpp', + #'src/gtk/mdi.cpp', + #'src/gtk/menu.cpp', + #'src/gtk/minifram.cpp', + #'src/gtk/mnemonics.cpp', + #'src/gtk/msgdlg.cpp', + #'src/gtk/nativewin.cpp', + #'src/gtk/notebook.cpp', + #'src/gtk/pen.cpp', + #'src/gtk/popupwin.cpp', + #'src/gtk/print.cpp', + #'src/gtk/private.cpp', + #'src/gtk/radiobox.cpp', + #'src/gtk/radiobut.cpp', + #'src/gtk/region.cpp', + #'src/gtk/renderer.cpp', + #'src/gtk/scrolbar.cpp', + #'src/gtk/scrolwin.cpp', + #'src/gtk/settings.cpp', + #'src/gtk/slider.cpp', + #'src/gtk/sockgtk.cpp', + #'src/gtk/spinbutt.cpp', + #'src/gtk/spinctrl.cpp', + #'src/gtk/statbmp.cpp', + #'src/gtk/statbox.cpp', + #'src/gtk/statline.cpp', + #'src/gtk/stattext.cpp', + #'src/gtk/taskbar.cpp', + #'src/gtk/textctrl.cpp', + #'src/gtk/textentry.cpp', + #'src/gtk/tglbtn.cpp', + #'src/gtk/timer.cpp', + #'src/gtk/toolbar.cpp', + #'src/gtk/tooltip.cpp', + #'src/gtk/toplevel.cpp', + #'src/gtk/treeentry_gtk.c', + #'src/gtk/utilsgtk.cpp', + #'src/gtk/win_gtk.cpp', + #'src/gtk/window.cpp', + #'src/gtk1/app.cpp', + #'src/gtk1/artgtk.cpp', + #'src/gtk1/bitmap.cpp', + #'src/gtk1/bmpbuttn.cpp', + #'src/gtk1/brush.cpp', + #'src/gtk1/button.cpp', + #'src/gtk1/checkbox.cpp', + #'src/gtk1/checklst.cpp', + #'src/gtk1/choice.cpp', + #'src/gtk1/clipbrd.cpp', + #'src/gtk1/colour.cpp', + #'src/gtk1/combobox.cpp', + #'src/gtk1/control.cpp', + #'src/gtk1/cursor.cpp', + #'src/gtk1/data.cpp', + #'src/gtk1/dataobj.cpp', + #'src/gtk1/dc.cpp', + #'src/gtk1/dcclient.cpp', + #'src/gtk1/dcmemory.cpp', + #'src/gtk1/dcscreen.cpp', + #'src/gtk1/dialog.cpp', + #'src/gtk1/dnd.cpp', + #'src/gtk1/eggtrayicon.c', + #'src/gtk1/evtloop.cpp', + #'src/gtk1/filedlg.cpp', + #'src/gtk1/font.cpp', + #'src/gtk1/fontdlg.cpp', + #'src/gtk1/frame.cpp', + #'src/gtk1/gauge.cpp', + #'src/gtk1/glcanvas.cpp', + #'src/gtk1/gnome/gprint.cpp', + #'src/gtk1/listbox.cpp', + #'src/gtk1/main.cpp', + #'src/gtk1/mdi.cpp', + #'src/gtk1/menu.cpp', + #'src/gtk1/minifram.cpp', + #'src/gtk1/mnemonics.cpp', + #'src/gtk1/msgdlg.cpp', + #'src/gtk1/notebook.cpp', + #'src/gtk1/pen.cpp', + #'src/gtk1/popupwin.cpp', + #'src/gtk1/radiobox.cpp', + #'src/gtk1/radiobut.cpp', + #'src/gtk1/region.cpp', + #'src/gtk1/renderer.cpp', + #'src/gtk1/scrolbar.cpp', + #'src/gtk1/scrolwin.cpp', + #'src/gtk1/settings.cpp', + #'src/gtk1/slider.cpp', + #'src/gtk1/sockgtk.cpp', + #'src/gtk1/spinbutt.cpp', + #'src/gtk1/spinctrl.cpp', + #'src/gtk1/statbmp.cpp', + #'src/gtk1/statbox.cpp', + #'src/gtk1/statline.cpp', + #'src/gtk1/stattext.cpp', + #'src/gtk1/taskbar.cpp', + #'src/gtk1/textctrl.cpp', + #'src/gtk1/tglbtn.cpp', + #'src/gtk1/threadno.cpp', + #'src/gtk1/threadsgi.cpp', + #'src/gtk1/timer.cpp', + #'src/gtk1/toolbar.cpp', + #'src/gtk1/tooltip.cpp', + #'src/gtk1/toplevel.cpp', + #'src/gtk1/utilsgtk.cpp', + #'src/gtk1/utilsres.cpp', + #'src/gtk1/win_gtk.c', + #'src/gtk1/window.cpp', + ] + +html = [ + 'src/html/chm.cpp', + 'src/html/helpctrl.cpp', + 'src/html/helpdata.cpp', + 'src/html/helpdlg.cpp', + 'src/html/helpfrm.cpp', + 'src/html/helpwnd.cpp', + 'src/html/htmlcell.cpp', + 'src/html/htmlctrl/webkit/webkit.mm', + 'src/html/htmlfilt.cpp', + 'src/html/htmlpars.cpp', + 'src/html/htmltag.cpp', + 'src/html/htmlwin.cpp', + 'src/html/htmprint.cpp', + 'src/html/m_dflist.cpp', + 'src/html/m_fonts.cpp', + 'src/html/m_hline.cpp', + 'src/html/m_image.cpp', + 'src/html/m_layout.cpp', + 'src/html/m_links.cpp', + 'src/html/m_list.cpp', + 'src/html/m_pre.cpp', + 'src/html/m_span.cpp', + 'src/html/m_style.cpp', + 'src/html/m_tables.cpp', + 'src/html/styleparams.cpp', + 'src/html/winpars.cpp', + ] + +jpeg = [ + 'src/jpeg/jcapimin.c', + 'src/jpeg/jcapistd.c', + 'src/jpeg/jccoefct.c', + 'src/jpeg/jccolor.c', + 'src/jpeg/jcdctmgr.c', + 'src/jpeg/jchuff.c', + 'src/jpeg/jcinit.c', + 'src/jpeg/jcmainct.c', + 'src/jpeg/jcmarker.c', + 'src/jpeg/jcmaster.c', + 'src/jpeg/jcomapi.c', + 'src/jpeg/jcparam.c', + 'src/jpeg/jcphuff.c', + 'src/jpeg/jcprepct.c', + 'src/jpeg/jcsample.c', + 'src/jpeg/jctrans.c', + 'src/jpeg/jdapimin.c', + 'src/jpeg/jdapistd.c', + 'src/jpeg/jdatadst.c', + 'src/jpeg/jdatasrc.c', + 'src/jpeg/jdcoefct.c', + 'src/jpeg/jdcolor.c', + 'src/jpeg/jddctmgr.c', + 'src/jpeg/jdhuff.c', + 'src/jpeg/jdinput.c', + 'src/jpeg/jdmainct.c', + 'src/jpeg/jdmarker.c', + 'src/jpeg/jdmaster.c', + 'src/jpeg/jdmerge.c', + 'src/jpeg/jdphuff.c', + 'src/jpeg/jdpostct.c', + 'src/jpeg/jdsample.c', + 'src/jpeg/jdtrans.c', + 'src/jpeg/jerror.c', + 'src/jpeg/jfdctflt.c', + 'src/jpeg/jfdctfst.c', + 'src/jpeg/jfdctint.c', + 'src/jpeg/jidctflt.c', + 'src/jpeg/jidctfst.c', + 'src/jpeg/jidctint.c', + 'src/jpeg/jidctred.c', + 'src/jpeg/jmemansi.c', + 'src/jpeg/jmemmgr.c', + 'src/jpeg/jmemname.c', + 'src/jpeg/jmemnobs.c', + 'src/jpeg/jquant1.c', + 'src/jpeg/jquant2.c', + 'src/jpeg/jutils.c', + ] + +msw = [ + #'src/msw/aboutdlg.cpp', + #'src/msw/accel.cpp', + #'src/msw/app.cpp', + #'src/msw/artmsw.cpp', + #'src/msw/basemsw.cpp', + #'src/msw/bitmap.cpp', + #'src/msw/bmpbuttn.cpp', + #'src/msw/bmpcbox.cpp', + #'src/msw/brush.cpp', + #'src/msw/button.cpp', + #'src/msw/calctrl.cpp', + #'src/msw/caret.cpp', + #'src/msw/checkbox.cpp', + #'src/msw/checklst.cpp', + #'src/msw/choice.cpp', + #'src/msw/clipbrd.cpp', + #'src/msw/colordlg.cpp', + #'src/msw/colour.cpp', + #'src/msw/combo.cpp', + #'src/msw/combobox.cpp', + #'src/msw/commandlinkbutton.cpp', + #'src/msw/control.cpp', + #'src/msw/crashrpt.cpp', + #'src/msw/cursor.cpp', + #'src/msw/data.cpp', + #'src/msw/datecontrols.cpp', + #'src/msw/datectrl.cpp', + #'src/msw/dc.cpp', + #'src/msw/dcclient.cpp', + #'src/msw/dcmemory.cpp', + #'src/msw/dcprint.cpp', + #'src/msw/dcscreen.cpp', + #'src/msw/dde.cpp', + #'src/msw/debughlp.cpp', + #'src/msw/dialog.cpp', + #'src/msw/dialup.cpp', + #'src/msw/dib.cpp', + #'src/msw/dir.cpp', + #'src/msw/dirdlg.cpp', + #'src/msw/display.cpp', + #'src/msw/dlmsw.cpp', + #'src/msw/dragimag.cpp', + #'src/msw/enhmeta.cpp', + #'src/msw/evtloop.cpp', + #'src/msw/fdrepdlg.cpp', + #'src/msw/filedlg.cpp', + #'src/msw/font.cpp', + #'src/msw/fontdlg.cpp', + #'src/msw/fontenum.cpp', + #'src/msw/fontutil.cpp', + #'src/msw/frame.cpp', + #'src/msw/fswatcher.cpp', + #'src/msw/gauge.cpp', + #'src/msw/gdiimage.cpp', + #'src/msw/gdiobj.cpp', + #'src/msw/gdiplus.cpp', + #'src/msw/glcanvas.cpp', + #'src/msw/graphics.cpp', + #'src/msw/headerctrl.cpp', + #'src/msw/helpbest.cpp', + #'src/msw/helpchm.cpp', + #'src/msw/helpwin.cpp', + #'src/msw/hyperlink.cpp', + #'src/msw/icon.cpp', + #'src/msw/imaglist.cpp', + #'src/msw/iniconf.cpp', + #'src/msw/joystick.cpp', + #'src/msw/listbox.cpp', + #'src/msw/listctrl.cpp', + #'src/msw/main.cpp', + #'src/msw/mdi.cpp', + #'src/msw/mediactrl_am.cpp', + #'src/msw/mediactrl_qt.cpp', + #'src/msw/mediactrl_wmp10.cpp', + #'src/msw/menu.cpp', + #'src/msw/menuitem.cpp', + #'src/msw/metafile.cpp', + #'src/msw/microwin.c', + #'src/msw/mimetype.cpp', + #'src/msw/minifram.cpp', + #'src/msw/msgdlg.cpp', + #'src/msw/mslu.cpp', + #'src/msw/nativdlg.cpp', + #'src/msw/nativewin.cpp', + #'src/msw/notebook.cpp', + #'src/msw/notifmsg.cpp', + #'src/msw/ole/access.cpp', + #'src/msw/ole/activex.cpp', + #'src/msw/ole/automtn.cpp', + #'src/msw/ole/dataobj.cpp', + #'src/msw/ole/dropsrc.cpp', + #'src/msw/ole/droptgt.cpp', + #'src/msw/ole/oleutils.cpp', + #'src/msw/ole/uuid.cpp', + #'src/msw/ownerdrw.cpp', + #'src/msw/palette.cpp', + #'src/msw/pen.cpp', + #'src/msw/penwin.cpp', + #'src/msw/popupwin.cpp', + #'src/msw/power.cpp', + #'src/msw/printdlg.cpp', + #'src/msw/printwin.cpp', + #'src/msw/progdlg.cpp', + #'src/msw/radiobox.cpp', + #'src/msw/radiobut.cpp', + #'src/msw/regconf.cpp', + #'src/msw/region.cpp', + #'src/msw/registry.cpp', + #'src/msw/renderer.cpp', + #'src/msw/richmsgdlg.cpp', + #'src/msw/scrolbar.cpp', + #'src/msw/settings.cpp', + #'src/msw/slider.cpp', + #'src/msw/snglinst.cpp', + #'src/msw/sockmsw.cpp', + #'src/msw/sound.cpp', + #'src/msw/spinbutt.cpp', + #'src/msw/spinctrl.cpp', + #'src/msw/stackwalk.cpp', + #'src/msw/statbmp.cpp', + #'src/msw/statbox.cpp', + #'src/msw/statline.cpp', + #'src/msw/stattext.cpp', + #'src/msw/statusbar.cpp', + #'src/msw/stdpaths.cpp', + #'src/msw/taskbar.cpp', + #'src/msw/textctrl.cpp', + #'src/msw/textentry.cpp', + #'src/msw/tglbtn.cpp', + #'src/msw/thread.cpp', + #'src/msw/timer.cpp', + #'src/msw/toolbar.cpp', + #'src/msw/tooltip.cpp', + #'src/msw/toplevel.cpp', + #'src/msw/treectrl.cpp', + #'src/msw/uiaction.cpp', + #'src/msw/urlmsw.cpp', + #'src/msw/utils.cpp', + #'src/msw/utilsexc.cpp', + #'src/msw/utilsgui.cpp', + #'src/msw/uxtheme.cpp', + #'src/msw/version.rc', + #'src/msw/volume.cpp', + #'src/msw/wince/checklst.cpp', + #'src/msw/wince/choicece.cpp', + #'src/msw/wince/crt.cpp', + #'src/msw/wince/filedlgwce.cpp', + #'src/msw/wince/filefnwce.cpp', + #'src/msw/wince/helpwce.cpp', + #'src/msw/wince/menuce.cpp', + #'src/msw/wince/net.cpp', + #'src/msw/wince/tbarwce.cpp', + #'src/msw/wince/textctrlce.cpp', + #'src/msw/wince/time.cpp', + #'src/msw/window.cpp', + #'src/msw/winestub.c', + ] + +osx = [ + 'src/osx/accel.cpp', + 'src/osx/artmac.cpp', + 'src/osx/bmpbuttn_osx.cpp', + 'src/osx/brush.cpp', + 'src/osx/button_osx.cpp', + 'src/osx/checkbox_osx.cpp', + 'src/osx/checklst_osx.cpp', + 'src/osx/choice_osx.cpp', + 'src/osx/combobox_osx.cpp', + 'src/osx/dataview_osx.cpp', + 'src/osx/dialog_osx.cpp', + 'src/osx/dnd_osx.cpp', + 'src/osx/fontutil.cpp', + 'src/osx/gauge_osx.cpp', + 'src/osx/glcanvas_osx.cpp', + 'src/osx/imaglist.cpp', + 'src/osx/listbox_osx.cpp', + 'src/osx/menu_osx.cpp', + 'src/osx/menuitem_osx.cpp', + 'src/osx/minifram.cpp', + 'src/osx/nonownedwnd_osx.cpp', + 'src/osx/notebook_osx.cpp', + 'src/osx/palette.cpp', + 'src/osx/pen.cpp', + 'src/osx/printdlg_osx.cpp', + 'src/osx/radiobox_osx.cpp', + 'src/osx/radiobut_osx.cpp', + 'src/osx/scrolbar_osx.cpp', + 'src/osx/slider_osx.cpp', + 'src/osx/sound_osx.cpp', + 'src/osx/spinbutt_osx.cpp', + 'src/osx/spinctrl_osx.cpp', + 'src/osx/srchctrl_osx.cpp', + 'src/osx/statbox_osx.cpp', + 'src/osx/statline_osx.cpp', + 'src/osx/stattext_osx.cpp', + 'src/osx/textctrl_osx.cpp', + 'src/osx/textentry_osx.cpp', + 'src/osx/tglbtn_osx.cpp', + 'src/osx/toolbar_osx.cpp', + 'src/osx/toplevel_osx.cpp', + 'src/osx/uiaction_osx.cpp', + 'src/osx/utils_osx.cpp', + 'src/osx/window_osx.cpp', + #'src/osx/carbon/aboutdlg.cpp', + 'src/osx/carbon/app.cpp', + #'src/osx/carbon/bmpbuttn.cpp', + #'src/osx/carbon/button.cpp', + #'src/osx/carbon/checkbox.cpp', + #'src/osx/carbon/choice.cpp', + 'src/osx/carbon/clipbrd.cpp', + #'src/osx/carbon/colordlg.cpp', + 'src/osx/carbon/colordlgosx.mm', + 'src/osx/carbon/combobox.cpp', + #'src/osx/carbon/combobxc.cpp', + 'src/osx/carbon/control.cpp', + 'src/osx/carbon/cursor.cpp', + 'src/osx/carbon/dataobj.cpp', + #'src/osx/carbon/dataview.cpp', + 'src/osx/carbon/dcclient.cpp', + 'src/osx/carbon/dcprint.cpp', + 'src/osx/carbon/dcscreen.cpp', + #'src/osx/carbon/dialog.cpp', + #'src/osx/carbon/dirdlg.cpp', + #'src/osx/carbon/dirmac.cpp', + #'src/osx/carbon/dnd.cpp', + #'src/osx/carbon/drawer.cpp', + #'src/osx/carbon/evtloop.cpp', + #'src/osx/carbon/filedlg.cpp', + 'src/osx/carbon/font.cpp', + 'src/osx/carbon/fontdlg.cpp', + 'src/osx/carbon/fontdlgosx.mm', + 'src/osx/carbon/frame.cpp', + #'src/osx/carbon/gauge.cpp', + 'src/osx/carbon/gdiobj.cpp', + #'src/osx/carbon/glcanvas.cpp', + 'src/osx/carbon/graphics.cpp', + #'src/osx/carbon/helpxxxx.cpp', + 'src/osx/carbon/icon.cpp', + #'src/osx/carbon/joystick.cpp', + #'src/osx/carbon/listbox.cpp', + #'src/osx/carbon/listctrl_mac.cpp', + #'src/osx/carbon/main.cpp', + 'src/osx/carbon/mdi.cpp', + #'src/osx/carbon/mediactrl.cpp', + #'src/osx/carbon/menu.cpp', + #'src/osx/carbon/menuitem.cpp', + 'src/osx/carbon/metafile.cpp', + #'src/osx/carbon/mimetmac.cpp', + #'src/osx/carbon/msgdlg.cpp', + #'src/osx/carbon/nonownedwnd.cpp', + #'src/osx/carbon/notebmac.cpp', + 'src/osx/carbon/overlay.cpp', + 'src/osx/carbon/popupwin.cpp', + #'src/osx/carbon/printdlg.cpp', + #'src/osx/carbon/radiobut.cpp', + 'src/osx/carbon/region.cpp', + 'src/osx/carbon/renderer.cpp', + #'src/osx/carbon/scrolbar.cpp', + 'src/osx/carbon/settings.cpp', + #'src/osx/carbon/slider.cpp', + 'src/osx/carbon/sound.cpp', + #'src/osx/carbon/spinbutt.cpp', + #'src/osx/carbon/srchctrl.cpp', + #'src/osx/carbon/statbmp.cpp', + #'src/osx/carbon/statbox.cpp', + 'src/osx/carbon/statbrma.cpp', + #'src/osx/carbon/statline.cpp', + #'src/osx/carbon/statlmac.cpp', + #'src/osx/carbon/stattext.cpp', + #'src/osx/carbon/taskbar.cpp', + #'src/osx/carbon/textctrl.cpp', + #'src/osx/carbon/tglbtn.cpp', + #'src/osx/carbon/thread.cpp', + #'src/osx/carbon/timer.cpp', + #'src/osx/carbon/toolbar.cpp', + #'src/osx/carbon/tooltip.cpp', + #'src/osx/carbon/uma.cpp', + #'src/osx/carbon/utils.cpp', + 'src/osx/carbon/utilscocoa.mm', + #'src/osx/carbon/window.cpp', + 'src/osx/cocoa/aboutdlg.mm', + 'src/osx/cocoa/button.mm', + 'src/osx/cocoa/checkbox.mm', + 'src/osx/cocoa/choice.mm', + 'src/osx/cocoa/colour.mm', + 'src/osx/cocoa/combobox.mm', + 'src/osx/cocoa/dataview.mm', + 'src/osx/cocoa/dialog.mm', + 'src/osx/cocoa/dirdlg.mm', + 'src/osx/cocoa/dnd.mm', + 'src/osx/cocoa/evtloop.mm', + 'src/osx/cocoa/filedlg.mm', + 'src/osx/cocoa/gauge.mm', + 'src/osx/cocoa/glcanvas.mm', + 'src/osx/cocoa/listbox.mm', + 'src/osx/cocoa/menu.mm', + 'src/osx/cocoa/menuitem.mm', + 'src/osx/cocoa/msgdlg.mm', + 'src/osx/cocoa/nonownedwnd.mm', + 'src/osx/cocoa/notebook.mm', + 'src/osx/cocoa/overlay.mm', + 'src/osx/cocoa/printdlg.mm', + 'src/osx/cocoa/radiobut.mm', + 'src/osx/cocoa/scrolbar.mm', + 'src/osx/cocoa/slider.mm', + 'src/osx/cocoa/spinbutt.mm', + 'src/osx/cocoa/srchctrl.mm', + 'src/osx/cocoa/statbox.mm', + 'src/osx/cocoa/statline.mm', + 'src/osx/cocoa/stattext.mm', + 'src/osx/cocoa/taskbar.mm', + 'src/osx/cocoa/textctrl.mm', + 'src/osx/cocoa/tglbtn.mm', + 'src/osx/cocoa/toolbar.mm', + 'src/osx/cocoa/tooltip.mm', + 'src/osx/cocoa/utils.mm', + 'src/osx/cocoa/window.mm', + 'src/osx/core/bitmap.cpp', + 'src/osx/core/cfstring.cpp', + 'src/osx/core/colour.cpp', + 'src/osx/core/dcmemory.cpp', + 'src/osx/core/display.cpp', + 'src/osx/core/evtloop_cf.cpp', + 'src/osx/core/fontenum.cpp', + 'src/osx/core/glgrab.cpp', + 'src/osx/core/hid.cpp', + 'src/osx/core/hidjoystick.cpp', + 'src/osx/core/mimetype.cpp', + 'src/osx/core/printmac.cpp', + 'src/osx/core/sockosx.cpp', + 'src/osx/core/sound.cpp', + 'src/osx/core/stdpaths_cf.cpp', + 'src/osx/core/strconv_cf.cpp', + 'src/osx/core/timer.cpp', + 'src/osx/core/utilsexc_base.cpp', + 'src/osx/core/utilsexc_cf.cpp', + #'src/osx/iphone/button.mm', + #'src/osx/iphone/checkbox.mm', + #'src/osx/iphone/dialog.mm', + #'src/osx/iphone/evtloop.mm', + #'src/osx/iphone/gauge.mm', + #'src/osx/iphone/glcanvas.mm', + #'src/osx/iphone/msgdlg.mm', + #'src/osx/iphone/nonownedwnd.mm', + #'src/osx/iphone/scrolbar.mm', + #'src/osx/iphone/slider.mm', + #'src/osx/iphone/stattext.mm', + #'src/osx/iphone/textctrl.mm', + #'src/osx/iphone/toolbar.mm', + #'src/osx/iphone/utils.mm', + #'src/osx/iphone/window.mm', + ] + +png = [ + 'src/png/png.c', + 'src/png/pngerror.c', + 'src/png/pngget.c', + 'src/png/pngmem.c', + 'src/png/pngpread.c', + 'src/png/pngread.c', + 'src/png/pngrio.c', + 'src/png/pngrtran.c', + 'src/png/pngrutil.c', + 'src/png/pngset.c', + 'src/png/pngtrans.c', + 'src/png/pngwio.c', + 'src/png/pngwrite.c', + 'src/png/pngwtran.c', + 'src/png/pngwutil.c', + ] + +propgrid = [ + 'src/propgrid/advprops.cpp', + 'src/propgrid/editors.cpp', + 'src/propgrid/manager.cpp', + 'src/propgrid/property.cpp', + 'src/propgrid/propgrid.cpp', + 'src/propgrid/propgridiface.cpp', + 'src/propgrid/propgridpagestate.cpp', + 'src/propgrid/props.cpp', + ] + +regex = [ + 'src/regex/regcomp.c', + 'src/regex/regerror.c', + 'src/regex/regexec.c', + 'src/regex/regfree.c', + ] + +ribbon = [ + 'src/ribbon/art_aui.cpp', + 'src/ribbon/art_internal.cpp', + 'src/ribbon/art_msw.cpp', + 'src/ribbon/bar.cpp', + 'src/ribbon/buttonbar.cpp', + 'src/ribbon/control.cpp', + 'src/ribbon/gallery.cpp', + 'src/ribbon/page.cpp', + 'src/ribbon/panel.cpp', + 'src/ribbon/toolbar.cpp', + ] + +richtext = [ + #'src/richtext/richtextbackgroundpage.cpp', + #'src/richtext/richtextborderspage.cpp', + 'src/richtext/richtextbuffer.cpp', + #'src/richtext/richtextbulletspage.cpp', + 'src/richtext/richtextctrl.cpp', + #'src/richtext/richtextfontpage.cpp', + 'src/richtext/richtextformatdlg.cpp', + 'src/richtext/richtexthtml.cpp', + 'src/richtext/richtextimagedlg.cpp', + #'src/richtext/richtextindentspage.cpp', + #'src/richtext/richtextliststylepage.cpp', + #'src/richtext/richtextmarginspage.cpp', + 'src/richtext/richtextprint.cpp', + #'src/richtext/richtextsizepage.cpp', + 'src/richtext/richtextstyledlg.cpp', + #'src/richtext/richtextstylepage.cpp', + 'src/richtext/richtextstyles.cpp', + 'src/richtext/richtextsymboldlg.cpp', + #'src/richtext/richtexttabspage.cpp', + 'src/richtext/richtextxml.cpp', + ] + +stc = [ + 'src/stc/PlatWX.cpp', + 'src/stc/ScintillaWX.cpp', + 'src/stc/scintilla/src/AutoComplete.cxx', + 'src/stc/scintilla/src/CallTip.cxx', + 'src/stc/scintilla/src/CellBuffer.cxx', + 'src/stc/scintilla/src/CharClassify.cxx', + 'src/stc/scintilla/src/ContractionState.cxx', + 'src/stc/scintilla/src/Decoration.cxx', + 'src/stc/scintilla/src/Document.cxx', + 'src/stc/scintilla/src/DocumentAccessor.cxx', + 'src/stc/scintilla/src/Editor.cxx', + 'src/stc/scintilla/src/ExternalLexer.cxx', + 'src/stc/scintilla/src/Indicator.cxx', + 'src/stc/scintilla/src/KeyMap.cxx', + 'src/stc/scintilla/src/KeyWords.cxx', + 'src/stc/scintilla/src/LexAPDL.cxx', + 'src/stc/scintilla/src/LexASY.cxx', + 'src/stc/scintilla/src/LexAU3.cxx', + 'src/stc/scintilla/src/LexAVE.cxx', + 'src/stc/scintilla/src/LexAbaqus.cxx', + 'src/stc/scintilla/src/LexAda.cxx', + 'src/stc/scintilla/src/LexAsm.cxx', + 'src/stc/scintilla/src/LexAsn1.cxx', + 'src/stc/scintilla/src/LexBaan.cxx', + 'src/stc/scintilla/src/LexBash.cxx', + 'src/stc/scintilla/src/LexBasic.cxx', + 'src/stc/scintilla/src/LexBullant.cxx', + 'src/stc/scintilla/src/LexCLW.cxx', + 'src/stc/scintilla/src/LexCOBOL.cxx', + 'src/stc/scintilla/src/LexCPP.cxx', + 'src/stc/scintilla/src/LexCSS.cxx', + 'src/stc/scintilla/src/LexCaml.cxx', + 'src/stc/scintilla/src/LexCmake.cxx', + 'src/stc/scintilla/src/LexConf.cxx', + 'src/stc/scintilla/src/LexCrontab.cxx', + 'src/stc/scintilla/src/LexCsound.cxx', + 'src/stc/scintilla/src/LexD.cxx', + 'src/stc/scintilla/src/LexEScript.cxx', + 'src/stc/scintilla/src/LexEiffel.cxx', + 'src/stc/scintilla/src/LexErlang.cxx', + 'src/stc/scintilla/src/LexFlagship.cxx', + 'src/stc/scintilla/src/LexForth.cxx', + 'src/stc/scintilla/src/LexFortran.cxx', + 'src/stc/scintilla/src/LexGAP.cxx', + 'src/stc/scintilla/src/LexGui4Cli.cxx', + 'src/stc/scintilla/src/LexHTML.cxx', + 'src/stc/scintilla/src/LexHaskell.cxx', + 'src/stc/scintilla/src/LexInno.cxx', + 'src/stc/scintilla/src/LexKix.cxx', + 'src/stc/scintilla/src/LexLisp.cxx', + 'src/stc/scintilla/src/LexLout.cxx', + 'src/stc/scintilla/src/LexLua.cxx', + 'src/stc/scintilla/src/LexMMIXAL.cxx', + 'src/stc/scintilla/src/LexMPT.cxx', + 'src/stc/scintilla/src/LexMSSQL.cxx', + 'src/stc/scintilla/src/LexMagik.cxx', + 'src/stc/scintilla/src/LexMarkdown.cxx', + 'src/stc/scintilla/src/LexMatlab.cxx', + 'src/stc/scintilla/src/LexMetapost.cxx', + 'src/stc/scintilla/src/LexMySQL.cxx', + 'src/stc/scintilla/src/LexNimrod.cxx', + 'src/stc/scintilla/src/LexNsis.cxx', + 'src/stc/scintilla/src/LexOpal.cxx', + 'src/stc/scintilla/src/LexOthers.cxx', + 'src/stc/scintilla/src/LexPB.cxx', + 'src/stc/scintilla/src/LexPLM.cxx', + 'src/stc/scintilla/src/LexPOV.cxx', + 'src/stc/scintilla/src/LexPS.cxx', + 'src/stc/scintilla/src/LexPascal.cxx', + 'src/stc/scintilla/src/LexPerl.cxx', + 'src/stc/scintilla/src/LexPowerPro.cxx', + 'src/stc/scintilla/src/LexPowerShell.cxx', + 'src/stc/scintilla/src/LexProgress.cxx', + 'src/stc/scintilla/src/LexPython.cxx', + 'src/stc/scintilla/src/LexR.cxx', + 'src/stc/scintilla/src/LexRebol.cxx', + 'src/stc/scintilla/src/LexRuby.cxx', + 'src/stc/scintilla/src/LexSML.cxx', + 'src/stc/scintilla/src/LexSQL.cxx', + 'src/stc/scintilla/src/LexScriptol.cxx', + 'src/stc/scintilla/src/LexSmalltalk.cxx', + 'src/stc/scintilla/src/LexSorcus.cxx', + 'src/stc/scintilla/src/LexSpecman.cxx', + 'src/stc/scintilla/src/LexSpice.cxx', + 'src/stc/scintilla/src/LexTACL.cxx', + 'src/stc/scintilla/src/LexTADS3.cxx', + 'src/stc/scintilla/src/LexTAL.cxx', + 'src/stc/scintilla/src/LexTCL.cxx', + 'src/stc/scintilla/src/LexTeX.cxx', + 'src/stc/scintilla/src/LexVB.cxx', + 'src/stc/scintilla/src/LexVHDL.cxx', + 'src/stc/scintilla/src/LexVerilog.cxx', + 'src/stc/scintilla/src/LexYAML.cxx', + 'src/stc/scintilla/src/LineMarker.cxx', + 'src/stc/scintilla/src/PerLine.cxx', + 'src/stc/scintilla/src/PositionCache.cxx', + 'src/stc/scintilla/src/PropSet.cxx', + 'src/stc/scintilla/src/RESearch.cxx', + 'src/stc/scintilla/src/RunStyles.cxx', + 'src/stc/scintilla/src/ScintillaBase.cxx', + 'src/stc/scintilla/src/Selection.cxx', + 'src/stc/scintilla/src/Style.cxx', + 'src/stc/scintilla/src/StyleContext.cxx', + 'src/stc/scintilla/src/UniConversion.cxx', + 'src/stc/scintilla/src/ViewStyle.cxx', + 'src/stc/scintilla/src/WindowAccessor.cxx', + 'src/stc/scintilla/src/XPM.cxx', + 'src/stc/stc.cpp', + ] + +tiff = [ + 'src/tiff/libtiff/tif_aux.c', + 'src/tiff/libtiff/tif_close.c', + 'src/tiff/libtiff/tif_codec.c', + 'src/tiff/libtiff/tif_color.c', + 'src/tiff/libtiff/tif_compress.c', + 'src/tiff/libtiff/tif_dir.c', + 'src/tiff/libtiff/tif_dirinfo.c', + 'src/tiff/libtiff/tif_dirread.c', + 'src/tiff/libtiff/tif_dirwrite.c', + 'src/tiff/libtiff/tif_dumpmode.c', + 'src/tiff/libtiff/tif_error.c', + 'src/tiff/libtiff/tif_extension.c', + 'src/tiff/libtiff/tif_fax3.c', + 'src/tiff/libtiff/tif_fax3sm.c', + 'src/tiff/libtiff/tif_flush.c', + 'src/tiff/libtiff/tif_getimage.c', + 'src/tiff/libtiff/tif_jpeg.c', + 'src/tiff/libtiff/tif_luv.c', + 'src/tiff/libtiff/tif_lzw.c', + 'src/tiff/libtiff/tif_next.c', + 'src/tiff/libtiff/tif_ojpeg.c', + 'src/tiff/libtiff/tif_open.c', + 'src/tiff/libtiff/tif_packbits.c', + 'src/tiff/libtiff/tif_pixarlog.c', + 'src/tiff/libtiff/tif_predict.c', + 'src/tiff/libtiff/tif_print.c', + 'src/tiff/libtiff/tif_read.c', + 'src/tiff/libtiff/tif_strip.c', + 'src/tiff/libtiff/tif_swab.c', + 'src/tiff/libtiff/tif_thunder.c', + 'src/tiff/libtiff/tif_tile.c', + 'src/tiff/libtiff/tif_unix.c', + 'src/tiff/libtiff/tif_version.c', + 'src/tiff/libtiff/tif_warning.c', + 'src/tiff/libtiff/tif_write.c', + 'src/tiff/libtiff/tif_zip.c', + ] + +unix = [ + 'src/unix/apptraits.cpp', + 'src/unix/appunix.cpp', + #'src/unix/dialup.cpp', + 'src/unix/dir.cpp', + #'src/unix/displayx11.cpp', + 'src/unix/dlunix.cpp', + 'src/unix/epolldispatcher.cpp', + 'src/unix/evtloopunix.cpp', + 'src/unix/fdiounix.cpp', + #'src/unix/fontenum.cpp', + #'src/unix/fontutil.cpp', + #'src/unix/fswatcher_inotify.cpp', + 'src/unix/fswatcher_kqueue.cpp', + #'src/unix/glx11.cpp', + #'src/unix/joystick.cpp', + #'src/unix/mediactrl.cpp', + #'src/unix/mimetype.cpp', + #'src/unix/net.cpp', + 'src/unix/snglinst.cpp', + 'src/unix/sockunix.cpp', + #'src/unix/sound.cpp', + #'src/unix/sound_sdl.cpp', + 'src/unix/stackwalk.cpp', + 'src/unix/stdpaths.cpp', + #'src/unix/taskbarx11.cpp', + 'src/unix/threadpsx.cpp', + 'src/unix/timerunx.cpp', + #'src/unix/uiactionx11.cpp', + 'src/unix/utilsunx.cpp', + #'src/unix/utilsx11.cpp', + ] + +x11 = [ + #'src/x11/app.cpp', + #'src/x11/bitmap.cpp', + #'src/x11/brush.cpp', + #'src/x11/clipbrd.cpp', + #'src/x11/colour.cpp', + #'src/x11/cursor.cpp', + #'src/x11/data.cpp', + #'src/x11/dataobj.cpp', + #'src/x11/dc.cpp', + #'src/x11/dcclient.cpp', + #'src/x11/dcmemory.cpp', + #'src/x11/dcscreen.cpp', + #'src/x11/dnd.cpp', + #'src/x11/evtloop.cpp', + #'src/x11/font.cpp', + #'src/x11/glcanvas.cpp', + #'src/x11/minifram.cpp', + #'src/x11/nanox.c', + #'src/x11/palette.cpp', + #'src/x11/pango_x.cpp', + #'src/x11/pangox11.cpp', + #'src/x11/pen.cpp', + #'src/x11/popupwin.cpp', + #'src/x11/region.cpp', + #'src/x11/reparent.cpp', + #'src/x11/settings.cpp', + #'src/x11/textctrl.cpp', + #'src/x11/toplevel.cpp', + #'src/x11/utils.cpp', + #'src/x11/utilsx.cpp', + #'src/x11/window.cpp', + ] + +xrc = [ + 'src/xml/xml.cpp', + 'src/xrc/xh_animatctrl.cpp', + 'src/xrc/xh_bmp.cpp', + 'src/xrc/xh_bmpbt.cpp', + 'src/xrc/xh_bmpcbox.cpp', + 'src/xrc/xh_bttn.cpp', + 'src/xrc/xh_cald.cpp', + 'src/xrc/xh_chckb.cpp', + 'src/xrc/xh_chckl.cpp', + 'src/xrc/xh_choic.cpp', + 'src/xrc/xh_choicbk.cpp', + 'src/xrc/xh_clrpicker.cpp', + 'src/xrc/xh_cmdlinkbn.cpp', + 'src/xrc/xh_collpane.cpp', + 'src/xrc/xh_combo.cpp', + 'src/xrc/xh_comboctrl.cpp', + 'src/xrc/xh_datectrl.cpp', + 'src/xrc/xh_dirpicker.cpp', + 'src/xrc/xh_dlg.cpp', + 'src/xrc/xh_editlbox.cpp', + 'src/xrc/xh_filectrl.cpp', + 'src/xrc/xh_filepicker.cpp', + 'src/xrc/xh_fontpicker.cpp', + 'src/xrc/xh_frame.cpp', + 'src/xrc/xh_gauge.cpp', + 'src/xrc/xh_gdctl.cpp', + 'src/xrc/xh_grid.cpp', + 'src/xrc/xh_html.cpp', + 'src/xrc/xh_htmllbox.cpp', + 'src/xrc/xh_hyperlink.cpp', + 'src/xrc/xh_listb.cpp', + 'src/xrc/xh_listbk.cpp', + 'src/xrc/xh_listc.cpp', + 'src/xrc/xh_mdi.cpp', + 'src/xrc/xh_menu.cpp', + 'src/xrc/xh_notbk.cpp', + 'src/xrc/xh_odcombo.cpp', + 'src/xrc/xh_panel.cpp', + 'src/xrc/xh_propdlg.cpp', + 'src/xrc/xh_radbt.cpp', + 'src/xrc/xh_radbx.cpp', + 'src/xrc/xh_richtext.cpp', + 'src/xrc/xh_scrol.cpp', + 'src/xrc/xh_scwin.cpp', + 'src/xrc/xh_sizer.cpp', + 'src/xrc/xh_slidr.cpp', + 'src/xrc/xh_spin.cpp', + 'src/xrc/xh_split.cpp', + 'src/xrc/xh_srchctrl.cpp', + 'src/xrc/xh_statbar.cpp', + 'src/xrc/xh_stbmp.cpp', + 'src/xrc/xh_stbox.cpp', + 'src/xrc/xh_stlin.cpp', + 'src/xrc/xh_sttxt.cpp', + 'src/xrc/xh_text.cpp', + 'src/xrc/xh_tglbtn.cpp', + 'src/xrc/xh_toolb.cpp', + 'src/xrc/xh_toolbk.cpp', + 'src/xrc/xh_tree.cpp', + 'src/xrc/xh_treebk.cpp', + 'src/xrc/xh_unkwn.cpp', + 'src/xrc/xh_wizrd.cpp', + 'src/xrc/xmladv.cpp', + 'src/xrc/xmlres.cpp', + 'src/xrc/xmlrsall.cpp', + ] + +zlib = [ + 'src/zlib/adler32.c', + 'src/zlib/compress.c', + 'src/zlib/crc32.c', + 'src/zlib/deflate.c', + 'src/zlib/gzio.c', + 'src/zlib/infback.c', + 'src/zlib/inffast.c', + 'src/zlib/inflate.c', + 'src/zlib/inftrees.c', + 'src/zlib/trees.c', + 'src/zlib/uncompr.c', + 'src/zlib/zutil.c', + ] + +if sys.platform == 'darwin': + env['LIBS'] += wxenv.StaticObject(osx) + env['LIBS'] += wxenv.StaticObject(unix) +env['LIBS'] += wxenv.StaticObject(aui) +env['LIBS'] += wxenv.StaticObject(common) +env['LIBS'] += wxenv.StaticObject(generic) +env['LIBS'] += wxenv.StaticObject(html) +env['LIBS'] += wxenv.StaticObject(propgrid) +env['LIBS'] += wxenv.StaticObject(ribbon) +env['LIBS'] += wxenv.StaticObject(richtext) +env['LIBS'] += wxenv.StaticObject(xrc) +wxenv['CPPPATH'] += ['#Externals/wxWidgets3/src/regex'] +env['LIBS'] += wxenv.StaticObject(regex) +wxenv['CPPPATH'] += ['#Externals/wxWidgets3/src/png'] +env['LIBS'] += wxenv.StaticObject(png) +#wxenv['CPPPATH'] += ['#Externals/wxWidgets3/src/jpeg'] +#env['LIBS'] += wxenv.StaticObject(jpeg) +#wxenv['CPPDEFINES'] += ['__WX__', 'SCI_LEXER', 'LINK_LEXERS'] +#wxenv['CPPPATH'] += ['#Externals/wxWidgets3/src/stc/scintilla/include'] +#env['LIBS'] += wxenv.StaticObject(stc) +#wxenv['CPPPATH'] += ['#Externals/wxWidgets3/src/tiff/libtiff'] +#env['LIBS'] += wxenv.StaticObject(tiff) +#env['LIBS'] += wxenv.StaticObject(zlib) diff --git a/Externals/wxWidgets3/wx/setup.h b/Externals/wxWidgets3/wx/setup.h new file mode 100644 index 0000000000..9921380cb2 --- /dev/null +++ b/Externals/wxWidgets3/wx/setup.h @@ -0,0 +1,1250 @@ +/* lib/wx/include/osx_cocoa-unicode-static-2.9/wx/setup.h. Generated from setup.h.in by configure. */ +/* This define (__WX_SETUP_H__) is used both to ensure setup.h is included + * only once and to indicate that we are building using configure. */ +#ifndef __WX_SETUP_H__ +#define __WX_SETUP_H__ + +/* never undefine inline or const keywords for C++ compilation */ +#ifndef __cplusplus + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +#endif /* __cplusplus */ + +/* fill in with the string wxGetOsDescription() will return */ +#define WXWIN_OS_DESCRIPTION "Darwin 10.6.0 i386" + +/* the installation location prefix from configure */ +#define wxINSTALL_PREFIX "/usr/local" + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define to `int' if doesn't define. */ +/* #undef mode_t */ + +/* Define to `long' if doesn't define. */ +/* #undef off_t */ + +/* Define to `int' if doesn't define. */ +/* #undef pid_t */ + +/* Define to `unsigned' if doesn't define. */ +/* #undef size_t */ + +/* Define if ssize_t type is available. */ +#define HAVE_SSIZE_T 1 + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define this to get extra features from GNU libc. */ +#ifndef _GNU_SOURCE +/* #undef _GNU_SOURCE */ +#endif + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ + +/* Define if your processor stores words with the most significant + byte first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define this if your version of GTK+ is greater than 1.2 */ +/* #undef __WXGTK12__ */ + +/* Define this if your version of GTK+ is greater than 1.2.7 */ +/* #undef __WXGTK127__ */ + +/* Define this if your version of GTK+ is greater than 2.0 */ +/* #undef __WXGTK20__ */ + +/* Define this if your version of GTK+ is greater than 2.6 */ +/* #undef __WXGTK26__ */ + +/* Define this if your version of GTK+ is greater than 2.10 */ +/* #undef __WXGTK210__ */ + +/* Define this if your version of GTK+ is greater than 2.18 */ +/* #undef __WXGTK218__ */ + +/* Define this if you want to use GPE features */ +/* #undef __WXGPE__ */ + +/* Define this if your version of Motif is greater than 2.0 */ +/* #undef __WXMOTIF20__ */ + +/* Define this if you are using Lesstif */ +/* #undef __WXLESSTIF__ */ + +/* + * Define to 1 for Unix[-like] system + */ +#define wxUSE_UNIX 1 + +#define __UNIX__ 1 + +/* #undef __AIX__ */ +#define __BSD__ 1 +#define __DARWIN__ 1 +/* #undef __EMX__ */ +/* #undef __FREEBSD__ */ +/* #undef __HPUX__ */ +/* #undef __LINUX__ */ +/* #undef __NETBSD__ */ +/* #undef __OPENBSD__ */ +/* #undef __OSF__ */ +/* #undef __QNX__ */ +/* #undef __SGI__ */ +/* #undef __SOLARIS__ */ +/* #undef __SUN__ */ +/* #undef __SUNOS__ */ +/* #undef __SVR4__ */ +/* #undef __SYSV__ */ +/* #undef __ULTRIX__ */ +/* #undef __UNIXWARE__ */ +/* #undef __VMS__ */ + +/* #undef __IA64__ */ +/* #undef __ALPHA__ */ + +/* NanoX (with wxX11) */ +#define wxUSE_NANOX 0 + +/* PowerPC Darwin & Mac OS X */ +/* #undef __POWERPC__ */ +#define TARGET_CARBON 1 + +/* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */ +/* #undef __Point__ */ + +/* MS-DOS with DJGPP */ +/* #undef __DOS__ */ + +/* Stupid hack; __WINDOWS__ clashes with wx/defs.h */ +#ifndef __WINDOWS__ +/* #undef __WINDOWS__ */ +#endif + +#ifndef __WIN32__ +/* #undef __WIN32__ */ +#endif +#ifndef __GNUWIN32__ +/* #undef __GNUWIN32__ */ +#endif +#ifndef STRICT +/* #undef STRICT */ +#endif +#ifndef WINVER +/* #undef WINVER */ +#endif + +/* OS/2 with EMX */ +/* #undef __OS2__ */ + +/* --- start common options --- */ + +#ifndef wxUSE_GUI + #define wxUSE_GUI 1 +#endif + + +#define WXWIN_COMPATIBILITY_2_6 0 + +#define WXWIN_COMPATIBILITY_2_8 0 + +#define wxDIALOG_UNIT_COMPATIBILITY 0 + + + +#define wxUSE_ON_FATAL_EXCEPTION 1 + +#define wxUSE_STACKWALKER 1 + +#define wxUSE_DEBUGREPORT 1 + + + +#define wxUSE_DEBUG_CONTEXT 0 + +#define wxUSE_MEMORY_TRACING 0 + +#define wxUSE_GLOBAL_MEMORY_OPERATORS 0 + +#define wxUSE_DEBUG_NEW_ALWAYS 0 + + + +#ifndef wxUSE_UNICODE + #define wxUSE_UNICODE 1 +#endif + +#define wxUSE_WCHAR_T 1 + + +#define wxUSE_EXCEPTIONS 1 + +#define wxUSE_EXTENDED_RTTI 0 + +#define wxUSE_STL 0 + +#define wxUSE_LOG 1 + +#define wxUSE_LOGWINDOW 1 + +#define wxUSE_LOGGUI 1 + +#define wxUSE_LOG_DIALOG 1 + +#define wxUSE_CMDLINE_PARSER 1 + +#define wxUSE_THREADS 1 + +#define wxUSE_STREAMS 1 + +#if defined(__DMC__) || defined(__WATCOMC__) \ + || (defined(_MSC_VER) && _MSC_VER < 1200) + #define wxUSE_STD_DEFAULT 0 +#else + #define wxUSE_STD_DEFAULT 0 +#endif + +#define wxUSE_STD_IOSTREAM 1 + +#define wxUSE_STD_STRING 1 + +#define wxUSE_PRINTF_POS_PARAMS 1 + + +#define wxUSE_LONGLONG 1 + +#define wxUSE_BASE64 1 + +#define wxUSE_CONSOLE_EVENTLOOP 1 + +#define wxUSE_FILE 1 +#define wxUSE_FFILE 1 + +#define wxUSE_FSVOLUME 0 + +#define wxUSE_STDPATHS 1 + +#define wxUSE_TEXTBUFFER 1 + +#define wxUSE_TEXTFILE 1 + +#define wxUSE_INTL 1 + +#define wxUSE_XLOCALE 1 + +#define wxUSE_DATETIME 1 + +#define wxUSE_TIMER 1 + +#define wxUSE_STOPWATCH 1 + +#define wxUSE_FSWATCHER 1 + +#define wxUSE_CONFIG 1 + +#define wxUSE_CONFIG_NATIVE 1 + +#define wxUSE_DIALUP_MANAGER 0 + +#define wxUSE_DYNLIB_CLASS 1 + +#define wxUSE_DYNAMIC_LOADER 1 + +#define wxUSE_SOCKETS 1 + +#define wxUSE_IPV6 0 + +#define wxUSE_FILESYSTEM 1 + +#define wxUSE_FS_ZIP 1 + +#define wxUSE_FS_ARCHIVE 1 + +#define wxUSE_FS_INET 1 + +#define wxUSE_ARCHIVE_STREAMS 1 + +#define wxUSE_ZIPSTREAM 1 + +#define wxUSE_TARSTREAM 1 + +#define wxUSE_ZLIB 1 + +#define wxUSE_APPLE_IEEE 1 + +#define wxUSE_JOYSTICK 0 + +#define wxUSE_FONTENUM 1 + +#define wxUSE_FONTMAP 1 + +#define wxUSE_MIMETYPE 1 + +#define wxUSE_PROTOCOL 1 + +#define wxUSE_PROTOCOL_FILE 1 +#define wxUSE_PROTOCOL_FTP 1 +#define wxUSE_PROTOCOL_HTTP 1 + +#define wxUSE_URL 1 + +#define wxUSE_URL_NATIVE 0 + +#define wxUSE_VARIANT 1 + +#define wxUSE_ANY 1 + +#define wxUSE_REGEX 1 + +#define wxUSE_SYSTEM_OPTIONS 1 + +#define wxUSE_SOUND 1 + +#define wxUSE_MEDIACTRL 1 + +#define wxUSE_XRC 1 + +#define wxUSE_XML 1 + +#define wxUSE_AUI 1 + +#define wxUSE_RIBBON 1 + +#define wxUSE_PROPGRID 1 + +#define wxUSE_STC 0 + + + +#ifdef _MSC_VER +# if _MSC_VER >= 1310 + + +#define wxUSE_GRAPHICS_CONTEXT 1 +# else + + +# define wxUSE_GRAPHICS_CONTEXT 1 +# endif +#else + + + + + +# define wxUSE_GRAPHICS_CONTEXT 1 +#endif + +#define wxUSE_CAIRO 0 + + + +#define wxUSE_CONTROLS 1 + +#define wxUSE_POPUPWIN 1 + +#define wxUSE_TIPWINDOW 1 + +#define wxUSE_ANIMATIONCTRL 1 +#define wxUSE_BUTTON 1 +#define wxUSE_BMPBUTTON 1 +#define wxUSE_CALENDARCTRL 1 +#define wxUSE_CHECKBOX 1 +#define wxUSE_CHECKLISTBOX 1 +#define wxUSE_CHOICE 1 +#define wxUSE_COLLPANE 1 +#define wxUSE_COLOURPICKERCTRL 1 +#define wxUSE_COMBOBOX 1 +#define wxUSE_COMMANDLINKBUTTON 1 +#define wxUSE_DATAVIEWCTRL 1 +#define wxUSE_DATEPICKCTRL 1 +#define wxUSE_DIRPICKERCTRL 1 +#define wxUSE_EDITABLELISTBOX 1 +#define wxUSE_FILECTRL 1 +#define wxUSE_FILEPICKERCTRL 1 +#define wxUSE_FONTPICKERCTRL 1 +#define wxUSE_GAUGE 1 +#define wxUSE_HEADERCTRL 1 +#define wxUSE_HYPERLINKCTRL 1 +#define wxUSE_LISTBOX 1 +#define wxUSE_LISTCTRL 1 +#define wxUSE_RADIOBOX 1 +#define wxUSE_RADIOBTN 1 +#define wxUSE_RICHMSGDLG 1 +#define wxUSE_SCROLLBAR 1 +#define wxUSE_SEARCHCTRL 1 +#define wxUSE_SLIDER 1 +#define wxUSE_SPINBTN 1 +#define wxUSE_SPINCTRL 1 +#define wxUSE_STATBOX 1 +#define wxUSE_STATLINE 1 +#define wxUSE_STATTEXT 1 +#define wxUSE_STATBMP 1 +#define wxUSE_TEXTCTRL 1 +#define wxUSE_TOGGLEBTN 1 +#define wxUSE_TREECTRL 1 + +#define wxUSE_STATUSBAR 1 + +#define wxUSE_NATIVE_STATUSBAR 1 + +#define wxUSE_TOOLBAR 1 +#define wxUSE_TOOLBAR_NATIVE 1 + +#define wxUSE_NOTEBOOK 1 + +#define wxUSE_LISTBOOK 1 + +#define wxUSE_CHOICEBOOK 1 + +#define wxUSE_TREEBOOK 1 + +#define wxUSE_TOOLBOOK 1 + +#define wxUSE_TASKBARICON 1 + +#define wxUSE_GRID 1 + +#define wxUSE_MINIFRAME 1 + +#define wxUSE_COMBOCTRL 1 + +#define wxUSE_ODCOMBOBOX 1 + +#define wxUSE_BITMAPCOMBOBOX 1 + +#define wxUSE_REARRANGECTRL 1 + + +#define wxUSE_ACCEL 1 + +#define wxUSE_ARTPROVIDER_STD 1 + +#define wxUSE_ARTPROVIDER_TANGO 1 + +#define wxUSE_HOTKEY 0 + +#define wxUSE_CARET 1 + +#define wxUSE_DISPLAY 1 + +#define wxUSE_GEOMETRY 1 + +#define wxUSE_IMAGLIST 1 + +#define wxUSE_INFOBAR 1 + +#define wxUSE_MENUS 1 + +#define wxUSE_NOTIFICATION_MESSAGE 1 + +#define wxUSE_SASH 1 + +#define wxUSE_SPLITTER 1 + +#define wxUSE_TOOLTIPS 1 + +#define wxUSE_VALIDATORS 1 + +#ifdef __WXMSW__ +#define wxUSE_AUTOID_MANAGEMENT 0 +#else +#define wxUSE_AUTOID_MANAGEMENT 0 +#endif + + +#define wxUSE_COMMON_DIALOGS 0 + +#define wxUSE_BUSYINFO 1 + +#define wxUSE_CHOICEDLG 1 + +#define wxUSE_COLOURDLG 1 + +#define wxUSE_DIRDLG 1 + + +#define wxUSE_FILEDLG 1 + +#define wxUSE_FINDREPLDLG 1 + +#define wxUSE_FONTDLG 1 + +#define wxUSE_MSGDLG 1 + +#define wxUSE_PROGRESSDLG 1 + +#define wxUSE_STARTUP_TIPS 1 + +#define wxUSE_TEXTDLG 1 + +#define wxUSE_NUMBERDLG 1 + +#define wxUSE_SPLASH 1 + +#define wxUSE_WIZARDDLG 1 + +#define wxUSE_ABOUTDLG 1 + +#define wxUSE_FILE_HISTORY 1 + + +#define wxUSE_METAFILE 1 +#define wxUSE_ENH_METAFILE 0 +#define wxUSE_WIN_METAFILES_ALWAYS 0 + + +#define wxUSE_MDI 1 + +#define wxUSE_DOC_VIEW_ARCHITECTURE 1 + +#define wxUSE_MDI_ARCHITECTURE 1 + +#define wxUSE_PRINTING_ARCHITECTURE 1 + +#define wxUSE_HTML 1 + +#define wxUSE_GLCANVAS 1 + +#define wxUSE_RICHTEXT 1 + + +#define wxUSE_CLIPBOARD 1 + +#define wxUSE_DATAOBJ 1 + +#define wxUSE_DRAG_AND_DROP 1 + +#define wxUSE_ACCESSIBILITY 0 + + +#define wxUSE_SNGLINST_CHECKER 1 + +#define wxUSE_DRAGIMAGE 1 + +#define wxUSE_IPC 1 + +#define wxUSE_HELP 1 + + +#define wxUSE_MS_HTML_HELP 0 + + +#define wxUSE_WXHTML_HELP 1 + +#define wxUSE_CONSTRAINTS 1 + + +#define wxUSE_SPLINES 1 + + +#define wxUSE_MOUSEWHEEL 1 + + +#define wxUSE_UIACTIONSIMULATOR 1 + + +#define wxUSE_POSTSCRIPT 1 + +#define wxUSE_AFM_FOR_POSTSCRIPT 1 + +#define wxUSE_SVG 1 + + +#define REMOVE_UNUSED_ARG 0 + +#define wxUSE_IOSTREAMH 0 + + + +#define wxUSE_IMAGE 1 + +#define wxUSE_LIBPNG 1 + +#define wxUSE_LIBJPEG 0 + +#define wxUSE_LIBTIFF 0 + +#define wxUSE_TGA 1 + +#define wxUSE_GIF 1 + +#define wxUSE_PNM 1 + +#define wxUSE_PCX 1 + +#define wxUSE_IFF 1 + +#define wxUSE_XPM 1 + +#define wxUSE_ICO_CUR 1 + +#define wxUSE_PALETTE 1 + + +#define wxUSE_ALL_THEMES 0 + +#define wxUSE_THEME_GTK 0 +#define wxUSE_THEME_METAL 0 +#define wxUSE_THEME_MONO 0 +#define wxUSE_THEME_WIN32 0 + + +/* --- end common options --- */ + +/* + * Unix-specific options + */ +#define wxUSE_SELECT_DISPATCHER 1 +#define wxUSE_EPOLL_DISPATCHER 0 + +#define wxUSE_UNICODE_UTF8 1 +#define wxUSE_UTF8_LOCALE_ONLY 0 + +/* + Use GStreamer for Unix. + + Default is 0 as this requires a lot of dependencies which might not be + available. + + Recommended setting: 1 (wxMediaCtrl won't work by default without it). + */ +#define wxUSE_GSTREAMER 0 + +/* --- start MSW options --- */ + +#ifndef wxUSE_UNICODE_MSLU + #define wxUSE_UNICODE_MSLU 0 +#endif + +#define wxUSE_MFC 0 + +#define wxUSE_OLE 0 + +#define wxUSE_OLE_AUTOMATION 0 + +#define wxUSE_ACTIVEX 0 + +#define wxUSE_DC_CACHEING 0 + +#define wxUSE_WXDIB 0 + +#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0 + +#define wxUSE_REGKEY 0 + +#define wxUSE_RICHEDIT 1 + +#define wxUSE_RICHEDIT2 1 + +#define wxUSE_OWNER_DRAWN 0 + +#define wxUSE_TASKBARICON_BALLOONS 0 + +#define wxUSE_UXTHEME 0 + +#define wxUSE_INKEDIT 0 + +#define wxUSE_INICONF 0 + + +#define wxUSE_DATEPICKCTRL_GENERIC 0 + + +#define wxUSE_CRASHREPORT 0 +/* --- end MSW options --- */ + +/* + * Define if your compiler supports the explicit keyword + */ +#define HAVE_EXPLICIT 1 + +/* + * Define if your compiler has C99 va_copy + */ +#define HAVE_VA_COPY 1 + +/* + * Define if va_list type is an array + */ +/* #undef VA_LIST_IS_ARRAY */ + +/* + * Define if the compiler supports variadic macros + */ +#define HAVE_VARIADIC_MACROS 1 + +/* + * Define if your compiler has std::wstring + */ +#define HAVE_STD_WSTRING 1 +/* + * Define if your compiler has compliant std::string::compare + */ +/* #undef HAVE_STD_STRING_COMPARE */ +/* + * Define if your compiler has + */ +/* #undef HAVE_HASH_MAP */ +/* + * Define if your compiler has + */ +/* #undef HAVE_EXT_HASH_MAP */ +/* + * Define if your compiler has std::hash_map/hash_set + */ +/* #undef HAVE_STD_HASH_MAP */ +/* + * Define if your compiler has __gnu_cxx::hash_map/hash_set + */ +/* #undef HAVE_GNU_CXX_HASH_MAP */ + +/* + * Define if your compiler has std::unordered_map + */ +/* #undef HAVE_STD_UNORDERED_MAP */ + +/* + * Define if your compiler has std::unordered_set + */ +/* #undef HAVE_STD_UNORDERED_SET */ + +/* + * Define if your compiler has std::tr1::unordered_map + */ +/* #undef HAVE_TR1_UNORDERED_MAP */ + +/* + * Define if your compiler has std::tr1::unordered_set + */ +/* #undef HAVE_TR1_UNORDERED_SET */ + +/* + * Define if your compiler has + */ +#define HAVE_TR1_TYPE_TRAITS 1 + +/* + * Define if your compiler has + */ +/* #undef HAVE_TYPE_TRAITS */ + +/* + * Define if the compiler supports simple visibility declarations. + */ +/* #undef HAVE_VISIBILITY */ + +/* + * Define if the compiler supports GCC's atomic memory access builtins + */ +#define HAVE_GCC_ATOMIC_BUILTINS 1 + +/* + * Define if compiler's visibility support in libstdc++ is broken + */ +/* #undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY */ + +/* + * The built-in regex supports advanced REs in additional to POSIX's basic + * and extended. Your system regex probably won't support this, and in this + * case WX_NO_REGEX_ADVANCED should be defined. + */ +/* #undef WX_NO_REGEX_ADVANCED */ +/* + * On GNU systems use re_search instead of regexec, since the latter does a + * strlen on the search text affecting the performance of some operations. + */ +/* #undef HAVE_RE_SEARCH */ +/* + * Use SDL for audio (Unix) + */ +#define wxUSE_LIBSDL 0 + +/* + * Compile sound backends as plugins + */ +#define wxUSE_PLUGINS 0 + +/* + * Use GTK print for printing under GTK+ 2.0 + */ +#define wxUSE_GTKPRINT 0 +/* + * Use GNOME print for printing under GTK+ 2.0 + */ +#define wxUSE_LIBGNOMEPRINT 0 +/* + * Use GNOME VFS for MIME types + */ +#define wxUSE_LIBGNOMEVFS 0 +/* + * Use the Hildon framework + */ +#define wxUSE_LIBHILDON 0 +/* + * Use the Hildon 2.0 framework + */ +#define wxUSE_LIBHILDON2 0 +/* + * Have glibc2 + */ +#define wxHAVE_GLIBC2 0 +/* + * Use libXpm + */ +#define wxHAVE_LIB_XPM 0 +/* + * Define if you have pthread_cleanup_push/pop() + */ +#define wxHAVE_PTHREAD_CLEANUP 1 +/* + * Define if compiler has __thread keyword. + */ +/* #undef HAVE___THREAD_KEYWORD */ +/* + * Define if large (64 bit file offsets) files are supported. + */ +#define HAVE_LARGEFILE_SUPPORT 1 + +/* + * Use OpenGL + */ +#define wxUSE_OPENGL 1 + +/* + * Use MS HTML Help via libmspack (Unix) + */ +#define wxUSE_LIBMSPACK 0 + +/* + * Matthews garbage collection (used for MrEd?) + */ +#define WXGARBAGE_COLLECTION_ON 0 + +/* + * wxWebKitCtrl + */ +#define wxUSE_WEBKIT 1 + +/* + * Objective-C class name uniquifying + */ +#define wxUSE_OBJC_UNIQUIFYING 0 + +/* + * The const keyword is being introduced more in wxWindows. + * You can use this setting to maintain backward compatibility. + * If 0: will use const wherever possible. + * If 1: will use const only where necessary + * for precompiled headers to work. + * If 2: will be totally backward compatible, but precompiled + * headers may not work and program size will be larger. + */ +#define CONST_COMPATIBILITY 0 + +/* + * use the session manager to detect KDE/GNOME + */ +#define wxUSE_DETECT_SM 0 + + +/* define with the name of timezone variable */ +#define WX_TIMEZONE timezone + +/* The type of 3rd argument to getsockname() - usually size_t or int */ +#define WX_SOCKLEN_T socklen_t + +/* The type of 5th argument to getsockopt() - usually size_t or int */ +#define SOCKOPTLEN_T socklen_t + +/* The type of statvfs(2) argument */ +#define WX_STATFS_T struct statfs + +/* The signal handler prototype */ +#define wxTYPE_SA_HANDLER int + +/* gettimeofday() usually takes 2 arguments, but some really old systems might + * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ +/* #undef WX_GETTIMEOFDAY_NO_TZ */ + +/* struct tm doesn't always have the tm_gmtoff field, define this if it does */ +#define WX_GMTOFF_IN_TM 1 + +/* Define if you have poll(2) function */ +/* #undef HAVE_POLL */ + +/* Define if you have pw_gecos field in struct passwd */ +#define HAVE_PW_GECOS 1 + +/* Define if you have __cxa_demangle() in */ +#define HAVE_CXA_DEMANGLE 1 + +/* Define if you have dlopen() */ +#define HAVE_DLOPEN 1 + +/* Define if you have gettimeofday() */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define if fsync() is available */ +#define HAVE_FSYNC 1 + +/* Define if round() is available */ +#define HAVE_ROUND 1 + +/* Define if you have ftime() */ +/* #undef HAVE_FTIME */ + +/* Define if you have nanosleep() */ +/* #undef HAVE_NANOSLEEP */ + +/* Define if you have sched_yield */ +#define HAVE_SCHED_YIELD 1 + +/* Define if you have pthread_mutexattr_t and functions to work with it */ +#define HAVE_PTHREAD_MUTEXATTR_T 1 + +/* Define if you have pthread_mutexattr_settype() declaration */ +#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1 + +/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ +/* #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER */ + +/* Define if you have pthread_cancel */ +#define HAVE_PTHREAD_CANCEL 1 + +/* Define if you have pthread_mutex_timedlock */ +/* #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK */ + +/* Define if you have pthread_attr_setstacksize */ +#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 + +/* Define if you have shl_load() */ +/* #undef HAVE_SHL_LOAD */ + +/* Define if you have snprintf() */ +#define HAVE_SNPRINTF 1 + +/* Define if you have snprintf() declaration in the header */ +#define HAVE_SNPRINTF_DECL 1 + +/* Define if you have a snprintf() which supports positional arguments + (defined in the unix98 standard) */ +#define HAVE_UNIX98_PRINTF 1 + +/* define if you have statfs function */ +#define HAVE_STATFS 1 + +/* define if you have statfs prototype */ +#define HAVE_STATFS_DECL 1 + +/* define if you have statvfs function */ +/* #undef HAVE_STATVFS */ + +/* Define if you have strtoull() and strtoll() */ +#define HAVE_STRTOULL 1 + +/* Define if you have all functions to set thread priority */ +#define HAVE_THREAD_PRIORITY_FUNCTIONS 1 + +/* Define if you have vsnprintf() */ +#define HAVE_VSNPRINTF 1 + +/* Define if you have vsnprintf() declaration in the header */ +#define HAVE_VSNPRINTF_DECL 1 + +/* Define if you have a _broken_ vsnprintf() declaration in the header, + * with 'char*' for the 3rd parameter instead of 'const char*' */ +/* #undef HAVE_BROKEN_VSNPRINTF_DECL */ + +/* Define if you have vsscanf() */ +#define HAVE_VSSCANF 1 + +/* Define if you have vsscanf() declaration in the header */ +#define HAVE_VSSCANF_DECL 1 + +/* Define if you have usleep() */ +#define HAVE_USLEEP 1 + +/* Define if you have wcscasecmp() function */ +/* #undef HAVE_WCSCASECMP */ + +/* Define if you have wcsncasecmp() function */ +/* #undef HAVE_WCSNCASECMP */ + +/* Define if you have wcslen function */ +#define HAVE_WCSLEN 1 + +/* Define if you have wcsdup function */ +/* #undef HAVE_WCSDUP */ + +/* Define if you have wcsftime() function */ +#define HAVE_WCSFTIME 1 + +/* Define if you have strnlen() function */ +/* #undef HAVE_STRNLEN */ + +/* Define if you have wcsnlen() function */ +/* #undef HAVE_WCSNLEN */ + +/* Define if you have wcstoull() and wcstoll() */ +/* #undef HAVE_WCSTOULL */ + +/* The number of bytes in a wchar_t. */ +#define SIZEOF_WCHAR_T 4 + +/* The number of bytes in a int. */ +#define SIZEOF_INT 4 + +/* The number of bytes in a pointer. */ +#define SIZEOF_VOID_P 8 + +/* The number of bytes in a long. */ +#define SIZEOF_LONG 8 + +/* The number of bytes in a long long. */ +#define SIZEOF_LONG_LONG 8 + +/* The number of bytes in a short. */ +#define SIZEOF_SHORT 2 + +/* The number of bytes in a size_t. */ +#define SIZEOF_SIZE_T 8 + +/* Define if size_t on your machine is the same type as unsigned int. */ +/* #undef wxSIZE_T_IS_UINT */ + +/* Define if size_t on your machine is the same type as unsigned long. */ +#define wxSIZE_T_IS_ULONG 1 + +/* Define if wchar_t is distinct type in your compiler. */ +#define wxWCHAR_T_IS_REAL_TYPE 1 + +/* Define if you have the dlerror function. */ +#define HAVE_DLERROR 1 + +/* Define if you have Posix fnctl() function. */ +#define HAVE_FCNTL 1 + +/* Define if you have BSD flock() function. */ +/* #undef HAVE_FLOCK */ + +/* Define if you have getaddrinfo function. */ +/* #undef HAVE_GETADDRINFO */ + +/* Define if you have a gethostbyname_r function taking 6 arguments. */ +/* #undef HAVE_FUNC_GETHOSTBYNAME_R_6 */ + +/* Define if you have a gethostbyname_r function taking 5 arguments. */ +/* #undef HAVE_FUNC_GETHOSTBYNAME_R_5 */ + +/* Define if you have a gethostbyname_r function taking 3 arguments. */ +/* #undef HAVE_FUNC_GETHOSTBYNAME_R_3 */ + +/* Define if you only have a gethostbyname function */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define if you have the gethostname function. */ +/* #undef HAVE_GETHOSTNAME */ + +/* Define if you have a getservbyname_r function taking 6 arguments. */ +/* #undef HAVE_FUNC_GETSERVBYNAME_R_6 */ + +/* Define if you have a getservbyname_r function taking 5 arguments. */ +/* #undef HAVE_FUNC_GETSERVBYNAME_R_5 */ + +/* Define if you have a getservbyname_r function taking 4 arguments. */ +/* #undef HAVE_FUNC_GETSERVBYNAME_R_4 */ + +/* Define if you only have a getservbyname function */ +#define HAVE_GETSERVBYNAME 1 + +/* Define if you have the gmtime_r function. */ +#define HAVE_GMTIME_R 1 + +/* Define if you have the inet_addr function. */ +#define HAVE_INET_ADDR 1 + +/* Define if you have the inet_aton function. */ +#define HAVE_INET_ATON 1 + +/* Define if you have the localtime_r function. */ +#define HAVE_LOCALTIME_R 1 + +/* Define if you have the mktemp function. */ +/* #undef HAVE_MKTEMP */ + +/* Define if you have the mkstemp function. */ +#define HAVE_MKSTEMP 1 + +/* Define if you have the putenv function. */ +/* #undef HAVE_PUTENV */ + +/* Define if you have the setenv function. */ +#define HAVE_SETENV 1 + +/* Define if you have strtok_r function. */ +#define HAVE_STRTOK_R 1 + +/* Define if you have thr_setconcurrency function */ +/* #undef HAVE_THR_SETCONCURRENCY */ + +/* Define if you have the uname function. */ +#define HAVE_UNAME 1 + +/* Define if you have the unsetenv function. */ +#define HAVE_UNSETENV 1 + +/* Define if you have the header file. */ +#define HAVE_X11_XKBLIB_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_X11_EXTENSIONS_XF86VMODE_H */ + +/* Define if you have the header file. */ +#define HAVE_SCHED_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_FCNTL_H */ + +/* Define if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define if you have the header file. */ +/* #undef HAVE_WCSTR_H */ + +/* Define if you have (Solaris only) */ +/* #undef HAVE_WIDEC_H */ + +/* Define if you have the header file and iconv() symbol. */ +#define HAVE_ICONV 1 + +/* Define as "const" if the declaration of iconv() needs const. */ +#define ICONV_CONST + +/* Define if you have the header file. */ +#define HAVE_LANGINFO_H 1 + +/* Define if you have the header file (mingw,cygwin). */ +/* #undef HAVE_W32API_H */ + +/* Define if you have the header file. */ +/* #undef HAVE_SYS_SOUNDCARD_H */ + +/* Define if you have wcsrtombs() function */ +#define HAVE_WCSRTOMBS 1 + +/* Define this if you have putws() */ +/* #undef HAVE_PUTWS */ + +/* Define this if you have fputws() */ +#define HAVE_FPUTWS 1 + +/* Define this if you have strcasecmp() function in */ +#define HAVE_STRCASECMP_IN_STRING_H 1 + +/* Define this if you have strcasecmp() function in */ +/* #undef HAVE_STRCASECMP_IN_STRINGS_H */ + +/* Define this if you have wprintf() and related functions */ +#define HAVE_WPRINTF 1 + +/* Define this if you have vswprintf() and related functions */ +#define HAVE_VSWPRINTF 1 + +/* Define this if you have _vsnwprintf */ +/* #undef HAVE__VSNWPRINTF */ + +/* vswscanf() */ +#define HAVE_VSWSCANF 1 + +/* Define if fseeko and ftello are available. */ +#define HAVE_FSEEKO 1 + +/* Define this if you are using gtk and gdk contains support for X11R6 XIM */ +/* #undef HAVE_XIM */ + +/* Define this if you have X11/extensions/shape.h */ +/* #undef HAVE_XSHAPE */ + +/* Define this if you have type SPBCDATA */ +/* #undef HAVE_SPBCDATA */ + +/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */ +/* #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE */ + +/* Define if you have Pango xft support */ +/* #undef HAVE_PANGO_XFT */ + +/* Define if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define if fdopen is available. */ +#define HAVE_FDOPEN 1 + +/* Define if sysconf is available. */ +#define HAVE_SYSCONF 1 + +/* Define if getpwuid_r is available. */ +#define HAVE_GETPWUID_R 1 + +/* Define if getgrgid_r is available. */ +#define HAVE_GETGRGID_R 1 + +/* Define if locale_t is available */ +#define HAVE_LOCALE_T 1 + +/* Define if you have inotify_xxx() functions. */ +/* #undef wxHAS_INOTIFY */ + +/* Define if you have kqueu_xxx() functions. */ +#define wxHAS_KQUEUE 1 + +/* ------------------------------------------------------------------------- + Win32 adjustments section + ------------------------------------------------------------------------- */ + +#ifdef __WIN32__ + +/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibility + with wx/msw/setup.h */ +#define wxUSE_XPM_IN_MSW wxUSE_XPM + +/* When using an external jpeg library and the Windows headers already define + * boolean, define to the type used by the jpeg library for boolean. */ +/* #undef wxHACK_BOOLEAN */ + +/* Define if the header pbt.h is missing. */ +/* #undef NEED_PBT_H */ + +#endif /* __WIN32__ */ + +/* --------------------------------------------------------* + * This stuff is static, it doesn't get modified directly + * by configure. +*/ + +/* + define some constants identifying wxWindows version in more details than + just the version number + */ + +/* wxLogChain class available */ +#define wxHAS_LOG_CHAIN + +/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */ +/* #undef wxHAS_WORKING_GTK_DC_BLIT */ + +#endif /* __WX_SETUP_H__ */ + diff --git a/SConstruct b/SConstruct index b5ac8d62c2..b39277f640 100644 --- a/SConstruct +++ b/SConstruct @@ -146,6 +146,7 @@ if sys.platform == 'darwin': if env['nowx']: env['HAVE_WX'] = 0 else: + env['CPPDEFINES'] += ['__WXOSX_COCOA__'] wxenv = env.Clone(CPPPATH = '', LIBPATH = '', LIBS = '') conf = wxenv.Configure(conf_dir = None, log_file = None, custom_tests = {'CheckWXConfig' : wxconfig.CheckWXConfig}) @@ -154,13 +155,16 @@ if sys.platform == 'darwin': env['flavor'] == 'debug') conf.Finish() if not env['HAVE_WX']: + print '\nWARNING:' print 'wxWidgets 2.9.2 not found using ' + wxenv['wxconfig'] + print '\nwxWidgets r66814 or newer is required to build Dolphin.' print 'See http://code.google.com/p/dolphin-emu/wiki/MacOSX_Build' - Exit(1) - wxconfig.ParseWXConfig(wxenv) - env['CPPDEFINES'] += ['__WXOSX_COCOA__'] - env['CPPPATH'] += wxenv['CPPPATH'] - env['wxconfiglibs'] = wxenv['LIBS'] + print 'for instructions on building and installing wxWidgets.\n' + env['wxconfiglibs'] = [] + else: + wxconfig.ParseWXConfig(wxenv) + env['CPPPATH'] += wxenv['CPPPATH'] + env['wxconfiglibs'] = wxenv['LIBS'] env['data_dir'] = '#' + env['prefix'] + '/Dolphin.app/Contents/Resources' env['shared_zlib'] = True @@ -329,7 +333,7 @@ dirs = [ 'Externals/SDL', 'Externals/SOIL', 'Externals/SFML/src', - #'Externals/wxWidgets', + 'Externals/wxWidgets3', 'Externals/zlib', 'Source/Core/AudioCommon/Src', 'Source/Core/Common/Src', diff --git a/Source/Core/DolphinWX/Src/SConscript b/Source/Core/DolphinWX/Src/SConscript index 67181e1f34..da1cc661a1 100644 --- a/Source/Core/DolphinWX/Src/SConscript +++ b/Source/Core/DolphinWX/Src/SConscript @@ -48,6 +48,7 @@ if sys.platform == 'win32': elif sys.platform == 'darwin': env['CPPPATH'] += ['#Externals'] env['FRAMEWORKPATH'] += ['Externals/Cg'] + env['LIBS'] += ['expat', 'iconv'] frameworksflags += ['-Wl,-weak_framework,Cg'] frameworksflags += ['-Wl,-weak_framework,OpenCL'] @@ -61,7 +62,6 @@ elif sys.platform == 'darwin': frameworksflags += ['-Wl,-weak_framework,WebKit'] frameworksflags += ['-Wl,-no_arch_warnings'] else: - env['LIBS'] += ['iconv'] exe += 'NoGUI' env.Install('#' + env['prefix'] + '/Dolphin.app/Contents/' +