From de3d7096fe1fa3b9240e344665d3c77d76955a83 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Tue, 28 Aug 2012 06:27:50 +0000 Subject: [PATCH] Update of OpenVMS compile support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/bombs/descrip.mms | 10 +- setup.h_vms | 12 +- src/stc/descrip.mms | 23 +-- src/stc/scintilla/lexers/descrip.mms | 211 +++++++++++++++++++++++++++ src/stc/scintilla/lexlib/descrip.mms | 93 ++++++++++++ src/stc/scintilla/src/descrip.mms | 117 +++++++++++++++ 6 files changed, 451 insertions(+), 15 deletions(-) create mode 100644 src/stc/scintilla/lexers/descrip.mms create mode 100644 src/stc/scintilla/lexlib/descrip.mms create mode 100644 src/stc/scintilla/src/descrip.mms diff --git a/demos/bombs/descrip.mms b/demos/bombs/descrip.mms index 25a4c3c5ab..8e1e7db511 100644 --- a/demos/bombs/descrip.mms +++ b/demos/bombs/descrip.mms @@ -1,8 +1,8 @@ #***************************************************************************** # * # Make file for VMS * -# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) * -# Date : 10 November 1999 * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 24 August 2012 * # * #***************************************************************************** .first @@ -44,6 +44,6 @@ game_gtk.exe : game.obj bombs1.obj bombs.obj .endif .endif -game.obj : game.cpp -bombs1.obj : bombs1.cpp -bombs.obj : bombs.cpp +game.obj : game.cpp [--.include.wx]setup.h +bombs1.obj : bombs1.cpp [--.include.wx]setup.h +bombs.obj : bombs.cpp [--.include.wx]setup.h diff --git a/setup.h_vms b/setup.h_vms index 4a9e2fa0e6..8d1bc882ed 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -3,7 +3,7 @@ * Template for the set.h file for VMS * * Created from setup.h_in * * Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * - * Date : 23 August 2012 * + * Date : 27 August 2012 * * * *****************************************************************************/ @@ -78,6 +78,10 @@ #ifdef __WXGTK__ +#ifndef VMS_GTK2 +#define GDK_WINDOWING_X11 1 +#endif + /* Define this if your version of GTK+ is greater than 1.2.7 */ #define __WXGTK127__ 1 @@ -85,7 +89,9 @@ #ifdef VMS_GTK2 /* Define this if your version of GTK+ is >= 3.0 */ +#if 0 #define __WXGTK3__ 1 +#endif #define __WXGTK20__ 1 @@ -391,8 +397,12 @@ typedef pid_t GPid; +#ifdef __WXGTK3__ +# define wxUSE_GRAPHICS_CONTEXT 1 +#else # define wxUSE_GRAPHICS_CONTEXT 0 #endif +#endif #define wxUSE_CONTROLS 1 diff --git a/src/stc/descrip.mms b/src/stc/descrip.mms index 019e7a1d57..9125908b13 100644 --- a/src/stc/descrip.mms +++ b/src/stc/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 14 December 2010 * +# Date : 24 August 2012 * # * #***************************************************************************** .first @@ -11,37 +11,38 @@ .ifdef __WXMOTIF__ CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\ /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,SCI_LEXER=1,LINK_LEXERS=1)\ - /name=(as_is,short)/include=([],[.scintilla.src],[.scintilla.include]) + /name=(as_is,short)\ + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) .else .ifdef __WXGTK__ CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)/ieee=denorm\ /assume=(nostdnew,noglobal_array_new)\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)/ieee=denorm\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) .else .ifdef __WXGTK2__ CXX_DEFINE=/define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)/ieee=denorm\ /assume=(nostdnew,noglobal_array_new)\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) CC_DEFINE=/define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)/ieee=denorm\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) .else .ifdef __WXX11__ CXX_DEFINE=\ /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) CC_DEFINE=\ /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,SCI_LEXER=1,LINK_LEXERS=1)\ /float=ieee/name=(as_is,short)\ - /include=([],[.scintilla.src],[.scintilla.include]) + /include=([],[.scintilla.src],[.scintilla.include],[.scintilla.lexlib]) .else CXX_DEFINE = CC_DEFINE = @@ -80,6 +81,10 @@ all : $(SOURCES) .endif set def [.scintilla.src] $(MMS)$(MMSQUALIFIERS) + set def [-.lexlib] + $(MMS)$(MMSQUALIFIERS) + set def [-.lexers] + $(MMS)$(MMSQUALIFIERS) set def [--] $(OBJECTS) : [--.include.wx]setup.h diff --git a/src/stc/scintilla/lexers/descrip.mms b/src/stc/scintilla/lexers/descrip.mms new file mode 100644 index 0000000000..c60baf2c43 --- /dev/null +++ b/src/stc/scintilla/lexers/descrip.mms @@ -0,0 +1,211 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 24 August 2012 * +# * +#***************************************************************************** + +.first + define wx [----.include.wx] + +.suffixes : .cpp + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,__USE_STD_IOSTREAM=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1)/name=(as_is,short)\ + /include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ + /ieee=denorm/include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,__USE_STD_IOSTREAM=1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/include=([],[-.src],[-.include],[-.lexlib]) +.else +CXX_DEFINE = +CC_DEFINE = +.endif +.endif +.endif +.endif + +.cxx.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cxx +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp +.c.obj : + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c + +OBJECTS=LexA68k.obj,LexAbaqus.obj,LexAda.obj,LexAPDL.obj,LexAsm.obj,\ + LexAsn1.obj,LexASY.obj,LexAU3.obj,LexAVE.obj,LexAVS.obj,LexBaan.obj,\ + LexBash.obj,LexBasic.obj,LexBullant.obj,LexCaml.obj,LexCLW.obj,\ + LexCmake.obj,LexCOBOL.obj,LexCoffeeScript.obj,LexConf.obj,\ + LexCPP.obj,LexCrontab.obj,LexCsound.obj,LexCSS.obj,LexD.obj,\ + LexECL.obj,LexEiffel.obj,LexErlang.obj,LexEScript.obj,LexFlagship.obj,\ + LexForth.obj,LexFortran.obj,LexGAP.obj,LexGui4Cli.obj,LexHaskell.obj,\ + LexHTML.obj,LexInno.obj,LexKix.obj,LexLisp.obj,LexLout.obj,LexLua.obj,\ + LexMagik.obj,LexMarkdown.obj,LexMatlab.obj,LexMetapost.obj + +OBJECTS1=LexMMIXAL.obj,LexModula.obj,LexMPT.obj,LexMSSQL.obj,LexMySQL.obj,\ + LexNimrod.obj,LexNsis.obj,LexOpal.obj,LexOScript.obj,LexOthers.obj,\ + LexPascal.obj,LexPB.obj,LexPerl.obj,LexPLM.obj,LexPOV.obj,\ + LexPowerPro.obj,LexPowerShell.obj,LexProgress.obj,LexPS.obj,\ + LexPython.obj,LexR.obj,LexRebol.obj,LexRuby.obj,LexScriptol.obj,\ + LexSmalltalk.obj,LexSML.obj,LexSorcus.obj,LexSpecman.obj,LexSpice.obj,\ + LexSQL.obj,LexTACL.obj,LexTADS3.obj,LexTAL.obj,LexTCL.obj,LexTCMD.obj,\ + LexTeX.obj,LexTxt2tags.obj,LexVB.obj,LexVerilog.obj,LexVHDL.obj,\ + LexVisualProlog.obj,LexYAML.obj + +SOURCES=LexA68k.cxx,LexAbaqus.cxx,LexAda.cxx,LexAPDL.cxx,LexAsm.cxx,\ + LexAsn1.cxx,LexASY.cxx,LexAU3.cxx,LexAVE.cxx,LexAVS.cxx,LexBaan.cxx,\ + LexBash.cxx,LexBasic.cxx,LexBullant.cxx,LexCaml.cxx,LexCLW.cxx,\ + LexCmake.cxx,LexCOBOL.cxx,LexCoffeeScript.cxx,LexConf.cxx,\ + LexCPP.cxx,LexCrontab.cxx,LexCsound.cxx,LexCSS.cxx,LexD.cxx,\ + LexECL.cxx,LexEiffel.cxx,LexErlang.cxx,LexEScript.cxx,LexFlagship.cxx,\ + LexForth.cxx,LexFortran.cxx,LexGAP.cxx,LexGui4Cli.cxx,LexHaskell.cxx,\ + LexHTML.cxx,LexInno.cxx,LexKix.cxx,LexLisp.cxx,LexLout.cxx,LexLua.cxx,\ + LexMagik.cxx,LexMarkdown.cxx,LexMatlab.cxx,LexMetapost.cxx,\ + LexMMIXAL.cxx,LexModula.cxx,LexMPT.cxx,LexMSSQL.cxx,LexMySQL.cxx,\ + LexNimrod.cxx,LexNsis.cxx,LexOpal.cxx,LexOScript.cxx,LexOthers.cxx,\ + LexPascal.cxx,LexPB.cxx,LexPerl.cxx,LexPLM.cxx,LexPOV.cxx,\ + LexPowerPro.cxx,LexPowerShell.cxx,LexProgress.cxx,LexPS.cxx,\ + LexPython.cxx,LexR.cxx,LexRebol.cxx,LexRuby.cxx,LexScriptol.cxx,\ + LexSmalltalk.cxx,LexSML.cxx,LexSorcus.cxx,LexSpecman.cxx,LexSpice.cxx,\ + LexSQL.cxx,LexTACL.cxx,LexTADS3.cxx,LexTAL.cxx,LexTCL.cxx,LexTCMD.cxx,\ + LexTeX.cxx,LexTxt2tags.cxx,LexVB.cxx,LexVerilog.cxx,LexVHDL.cxx,\ + LexVisualProlog.cxx,LexYAML.cxx + +all : $(SOURCES) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS1) +.ifdef __WXMOTIF__ + library [----.lib]libwx_motif.olb $(OBJECTS) + library [----.lib]libwx_motif.olb $(OBJECTS1) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_motif.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK__ + library [----.lib]libwx_gtk.olb $(OBJECTS) + library [----.lib]libwx_gtk.olb $(OBJECTS1) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK2__ + library [----.lib]libwx_gtk2.olb $(OBJECTS) + library [----.lib]libwx_gtk2.olb $(OBJECTS1) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXX11__ + library [----.lib]libwx_x11_univ.olb $(OBJECTS) + library [----.lib]libwx_x11_univ.olb $(OBJECTS1) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj +.endif +.endif +.endif +.endif + +$(OBJECTS) : [----.include.wx]setup.h +$(OBJECTS1) : [----.include.wx]setup.h + +LexA68k.obj : LexA68k.cxx +LexAbaqus.obj : LexAbaqus.cxx +LexAda.obj : LexAda.cxx +LexAPDL.obj : LexAPDL.cxx +LexAsm.obj : LexAsm.cxx +LexAsn1.obj : LexAsn1.cxx +LexASY.obj : LexASY.cxx +LexAU3.obj : LexAU3.cxx +LexAVE.obj : LexAVE.cxx +LexAVS.obj : LexAVS.cxx +LexBaan.obj : LexBaan.cxx +LexBash.obj : LexBash.cxx +LexBasic.obj : LexBasic.cxx +LexBullant.obj : LexBullant.cxx +LexCaml.obj : LexCaml.cxx +LexCLW.obj : LexCLW.cxx +LexCmake.obj : LexCmake.cxx +LexCOBOL.obj : LexCOBOL.cxx +LexCoffeeScript.obj : LexCoffeeScript.cxx +LexConf.obj : LexConf.cxx +LexCPP.obj : LexCPP.cxx +LexCrontab.obj : LexCrontab.cxx +LexCsound.obj : LexCsound.cxx +LexCSS.obj : LexCSS.cxx +LexD.obj : LexD.cxx +LexECL.obj : LexECL.cxx +LexEiffel.obj : LexEiffel.cxx +LexErlang.obj : LexErlang.cxx +LexEScript.obj : LexEScript.cxx +LexFlagship.obj : LexFlagship.cxx +LexForth.obj : LexForth.cxx +LexFortran.obj : LexFortran.cxx +LexGAP.obj : LexGAP.cxx +LexGui4Cli.obj : LexGui4Cli.cxx +LexHaskell.obj : LexHaskell.cxx +LexHTML.obj : LexHTML.cxx +LexInno.obj : LexInno.cxx +LexKix.obj : LexKix.cxx +LexLisp.obj : LexLisp.cxx +LexLout.obj : LexLout.cxx +LexLua.obj : LexLua.cxx +LexMagik.obj : LexMagik.cxx +LexMarkdown.obj : LexMarkdown.cxx +LexMatlab.obj : LexMatlab.cxx +LexMetapost.obj : LexMetapost.cxx +LexMMIXAL.obj : LexMMIXAL.cxx +LexModula.obj : LexModula.cxx +LexMPT.obj : LexMPT.cxx +LexMSSQL.obj : LexMSSQL.cxx +LexMySQL.obj : LexMySQL.cxx +LexNimrod.obj : LexNimrod.cxx +LexNsis.obj : LexNsis.cxx +LexOpal.obj : LexOpal.cxx +LexOScript.obj : LexOScript.cxx +LexOthers.obj : LexOthers.cxx +LexPascal.obj : LexPascal.cxx +LexPB.obj : LexPB.cxx +LexPerl.obj : LexPerl.cxx +LexPLM.obj : LexPLM.cxx +LexPOV.obj : LexPOV.cxx +LexPowerPro.obj : LexPowerPro.cxx +LexPowerShell.obj : LexPowerShell.cxx +LexProgress.obj : LexProgress.cxx +LexPS.obj : LexPS.cxx +LexPython.obj : LexPython.cxx +LexR.obj : LexR.cxx +LexRebol.obj : LexRebol.cxx +LexRuby.obj : LexRuby.cxx +LexScriptol.obj : LexScriptol.cxx +LexSmalltalk.obj : LexSmalltalk.cxx +LexSML.obj : LexSML.cxx +LexSorcus.obj : LexSorcus.cxx +LexSpecman.obj : LexSpecman.cxx +LexSpice.obj : LexSpice.cxx +LexSQL.obj : LexSQL.cxx +LexTACL.obj : LexTACL.cxx +LexTADS3.obj : LexTADS3.cxx +LexTAL.obj : LexTAL.cxx +LexTCL.obj : LexTCL.cxx +LexTCMD.obj : LexTCMD.cxx +LexTeX.obj : LexTeX.cxx +LexTxt2tags.obj : LexTxt2tags.cxx +LexVB.obj : LexVB.cxx +LexVerilog.obj : LexVerilog.cxx +LexVHDL.obj : LexVHDL.cxx +LexVisualProlog.obj : LexVisualProlog.cxx +LexYAML.obj : LexYAML.cxx diff --git a/src/stc/scintilla/lexlib/descrip.mms b/src/stc/scintilla/lexlib/descrip.mms new file mode 100644 index 0000000000..a114955502 --- /dev/null +++ b/src/stc/scintilla/lexlib/descrip.mms @@ -0,0 +1,93 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 24 August 2012 * +# * +#***************************************************************************** + +.first + define wx [----.include.wx] + +.suffixes : .cpp + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,__USE_STD_IOSTREAM=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) +CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1)/name=(as_is,short)\ + /include=([],[-.src],[-.include]) +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /include=([],[-.src],[-.include]) +.else +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)/include=([],[-.src],[-.include]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ + /ieee=denorm/include=([],[-.src],[-.include]) +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,__USE_STD_IOSTREAM=1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include]) +CC_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/include=([],[-.src],[-.include]) +.else +CXX_DEFINE = +CC_DEFINE = +.endif +.endif +.endif +.endif + +.cxx.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cxx +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp +.c.obj : + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c + +OBJECTS=Accessor.obj,CharacterSet.obj,LexerBase.obj,LexerModule.obj,\ + LexerNoExceptions.obj,LexerSimple.obj,PropSetSimple.obj,\ + StyleContext.obj,WordList.obj + +SOURCES=Accessor.cxx,CharacterSet.cxx,LexerBase.cxx,LexerModule.cxx,\ + LexerNoExceptions.cxx,LexerSimple.cxx,PropSetSimple.cxx,\ + StyleContext.cxx,WordList.cxx + +all : $(SOURCES) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS) +.ifdef __WXMOTIF__ + library [----.lib]libwx_motif.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_motif.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK__ + library [----.lib]libwx_gtk.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK2__ + library [----.lib]libwx_gtk2.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXX11__ + library [----.lib]libwx_x11_univ.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj +.endif +.endif +.endif +.endif + +$(OBJECTS) : [----.include.wx]setup.h + +Accessor.obj : Accessor.cxx +CharacterSet.obj : CharacterSet.cxx +LexerBase.obj : LexerBase.cxx +LexerModule.obj : LexerModule.cxx +LexerNoExceptions.obj : LexerNoExceptions.cxx +LexerSimple.obj : LexerSimple.cxx +PropSetSimple.obj : PropSetSimple.cxx +StyleContext.obj : StyleContext.cxx +WordList.obj : WordList.cxx diff --git a/src/stc/scintilla/src/descrip.mms b/src/stc/scintilla/src/descrip.mms new file mode 100644 index 0000000000..8fd35fb220 --- /dev/null +++ b/src/stc/scintilla/src/descrip.mms @@ -0,0 +1,117 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 24 August 2012 * +# * +#***************************************************************************** + +.first + define wx [----.include.wx] + +.suffixes : .cpp + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WX__=1,__WXMOTIF__=1,__USE_STD_IOSTREAM=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXMOTIF__=1)/name=(as_is,short)\ + /include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1,__USE_STD_IOSTREAM=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ + /ieee=denorm/include=([],[-.src],[-.include],[-.lexlib]) +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1,__USE_STD_IOSTREAM=1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)\ + /include=([],[-.src],[-.include],[-.lexlib]) +CC_DEFINE = /define=(__WX__=1,__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/include=([],[-.src],[-.include],[-.lexlib]) +.else +CXX_DEFINE = +CC_DEFINE = +.endif +.endif +.endif +.endif + +.cxx.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cxx +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp +.c.obj : + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c + +OBJECTS=AutoComplete.obj,CallTip.obj,Catalogue.obj,CellBuffer.obj,\ + CharClassify.obj,ContractionState.obj,Decoration.obj,Document.obj,\ + Editor.obj,ExternalLexer.obj,Indicator.obj,KeyMap.obj,LineMarker.obj,\ + PerLine.obj,PositionCache.obj,RESearch.obj,RunStyles.obj,\ + ScintillaBase.obj,Selection.obj,Style.obj,UniConversion.obj,\ + ViewStyle.obj,XPM.obj + +SOURCES=AutoComplete.cxx,CallTip.cxx,Catalogue.cxx,CellBuffer.cxx,\ + CharClassify.cxx,ContractionState.cxx,Decoration.cxx,Document.cxx,\ + Editor.cxx,ExternalLexer.cxx,Indicator.cxx,KeyMap.cxx,LineMarker.cxx,\ + PerLine.cxx,PositionCache.cxx,RESearch.cxx,RunStyles.cxx,\ + ScintillaBase.cxx,Selection.cxx,Style.cxx,UniConversion.cxx,\ + ViewStyle.cxx,XPM.cxx + +all : $(SOURCES) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS) +.ifdef __WXMOTIF__ + library [----.lib]libwx_motif.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_motif.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK__ + library [----.lib]libwx_gtk.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXGTK2__ + library [----.lib]libwx_gtk2.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj +.else +.ifdef __WXX11__ + library [----.lib]libwx_x11_univ.olb $(OBJECTS) + If f$getsyi("HW_MODEL") .le. 2048 then library [----.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj +.endif +.endif +.endif +.endif + +$(OBJECTS) : [----.include.wx]setup.h + +AutoComplete.obj : AutoComplete.cxx +CallTip.obj : CallTip.cxx +Catalogue.obj : Catalogue.cxx +CellBuffer.obj : CellBuffer.cxx +CharClassify.obj : CharClassify.cxx +ContractionState.obj : ContractionState.cxx +Decoration.obj : Decoration.cxx +Document.obj : Document.cxx +Editor.obj : Editor.cxx + cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn Editor.cxx +ExternalLexer.obj : ExternalLexer.cxx +Indicator.obj : Indicator.cxx +KeyMap.obj : KeyMap.cxx +LineMarker.obj : LineMarker.cxx +PerLine.obj : PerLine.cxx +PositionCache.obj : PositionCache.cxx +RESearch.obj : RESearch.cxx +RunStyles.obj : RunStyles.cxx +ScintillaBase.obj : ScintillaBase.cxx +Selection.obj : Selection.cxx +Style.obj : Style.cxx +UniConversion.obj : UniConversion.cxx +ViewStyle.obj : ViewStyle.cxx +XPM.obj : XPM.cxx -- 2.45.2