From: Jouk Jansen Date: Wed, 3 Nov 2010 08:54:52 +0000 (+0000) Subject: Update OpenVMS compile support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0de66257d95b209575daf4d31d3e3aaa83ceca67?hp=530646ca27604e0c24a78d0eebd4cf7301b27bc5 Update OpenVMS compile support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/descrip.mms b/descrip.mms index 779e3e3be5..9c2d5177bd 100644 --- a/descrip.mms +++ b/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 23 March 2010 * +# Date : 2 November 2010 * # * #***************************************************************************** .first @@ -116,6 +116,8 @@ gtk : [.include.wx]setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.event] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.exec] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.font] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.image] diff --git a/samples/exec/descrip.mms b/samples/exec/descrip.mms new file mode 100644 index 0000000000..362a874d63 --- /dev/null +++ b/samples/exec/descrip.mms @@ -0,0 +1,47 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 2 November 2010 * +# * +#***************************************************************************** +.first + define wx [--.include.wx] + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new) +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +.else +CXX_DEFINE = +.endif +.endif + +.suffixes : .cpp + +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp + +all : +.ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) exec.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) exec_gtk.exe +.endif +.endif + +.ifdef __WXMOTIF__ +exec.exe : exec.obj + cxxlink exec,[--.lib]vms/opt +.else +.ifdef __WXGTK__ +exec_gtk.exe : exec.obj + cxxlink/exec=exec_gtk.exe exec,[--.lib]vms_gtk/opt +.endif +.endif + +exec.obj : exec.cpp diff --git a/src/generic/descrip.mms b/src/generic/descrip.mms index 9031c362be..3e58fb56ff 100644 --- a/src/generic/descrip.mms +++ b/src/generic/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 20 August 2010 * +# Date : 2 November 2010 * # * #***************************************************************************** .first @@ -94,7 +94,7 @@ OBJECTS = \ filectrlg.obj,srchctlg.obj,notifmsgg.obj,headerctrlg.obj,\ grideditors.obj,vlbox.obj,vscroll.obj,stattextg.obj,\ editlbox.obj,datavgen.obj,dbgrptg.obj,dragimgg.obj,\ - richmsgdlgg.obj + richmsgdlgg.obj,commandlinkbuttong.obj SOURCES = \ aboutdlgg.cpp,\ @@ -165,7 +165,8 @@ SOURCES = \ vscroll.cpp,\ icon.cpp,bmpcboxg.cpp,filectrlg.cpp,srchctlg.cpp,notifmsgg.cpp\ ,headerctrlg.cpp,grideditors.cpp,stattextg.cpp,editlbox.cpp,\ - datavgen.cpp,dbgrptg.cpp,dragimgg.cpp,richmsgdlgg.cpp + datavgen.cpp,dbgrptg.cpp,dragimgg.cpp,richmsgdlgg.cpp,\ + commandlinkbuttong.cpp .ifdef __WXMOTIF__ OBJECTS0=statusbr.obj,statline.obj,notebook.obj,spinctlg.obj,collpaneg.obj,\ @@ -298,3 +299,4 @@ datavgen.obj : datavgen.cpp dbgrptg.obj : dbgrptg.cpp dragimgg.obj : dragimgg.cpp richmsgdlgg.obj : richmsgdlgg.cpp +commandlinkbuttong.obj : commandlinkbuttong.cpp diff --git a/src/xrc/descrip.mms b/src/xrc/descrip.mms index 8f60f1780a..bdb995acfc 100755 --- a/src/xrc/descrip.mms +++ b/src/xrc/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 18 June 2009 * +# Date : 2 November 2010 * # * #***************************************************************************** .first @@ -56,7 +56,7 @@ OBJECTS=xh_bmp.obj,xh_bmpbt.obj,xh_bttn.obj,xh_cald.obj,xh_chckb.obj,\ xh_grid.obj,xh_datectrl.obj,xh_treebk.obj,xh_bmpcbox.obj,\ xh_animatctrl.obj,xh_htmllbox.obj,xh_collpane.obj,xh_srchctrl.obj,\ xh_propdlg.obj,xh_comboctrl.obj,xmladv.obj,xh_editlbox.obj,\ - xh_filectrl.obj + xh_filectrl.obj,xh_cmdlinkbn.obj,xh_toolbk.obj SOURCES =xh_bmp.cpp,xh_bmpbt.cpp,xh_bttn.cpp,xh_cald.cpp,xh_chckb.cpp,\ xh_chckl.cpp,xh_choic.cpp,xh_combo.cpp,xh_dlg.cpp,xh_frame.cpp,\ @@ -71,7 +71,7 @@ SOURCES =xh_bmp.cpp,xh_bmpbt.cpp,xh_bttn.cpp,xh_cald.cpp,xh_chckb.cpp,\ xh_grid.cpp,xh_datectrl.cpp,xh_treebk.cpp,xh_bmpcbox.cpp,\ xh_animatctrl.cpp,xh_htmllbox.cpp,xh_collpane.cpp,xh_srchctrl.cpp,\ xh_propdlg.cpp,xh_comboctrl.cpp,xmladv.cpp,xh_editlbox.cpp,\ - xh_filectrl.cpp + xh_filectrl.cpp,xh_cmdlinkbn.cpp,xh_toolbk.cpp all : $(SOURCES) $(MMS)$(MMSQUALIFIERS) $(OBJECTS) @@ -151,4 +151,6 @@ xh_srchctrl.obj : xh_srchctrl.cpp xh_propdlg.obj : xh_propdlg.cpp xmladv.obj : xmladv.cpp xh_editlbox.obj : xh_editlbox.cpp -xh_filectrl.obj : xh_filectrl.cpp \ No newline at end of file +xh_filectrl.obj : xh_filectrl.cpp +xh_cmdlinkbn.obj : xh_cmdlinkbn.cpp +xh_toolbk.obj : xh_toolbk.cpp