From 95fbecf646470893c0d643757c118a8803a7786c Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 5 Oct 2009 09:13:42 +0000 Subject: [PATCH] set up for OpenVMS richtext & regex and add more samples in compile cascade git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/forty/descrip.mms | 57 +++++++++++++++++++++++ demos/fractal/descrip.mms | 49 ++++++++++++++++++++ demos/life/descrip.mms | 52 +++++++++++++++++++++ demos/poem/descrip.mms | 49 ++++++++++++++++++++ descrip.mms | 28 ++++++++++-- samples/regtest/descrip.mms | 77 +++++++++++++++++++++++++++++++ samples/richtext/descrip.mms | 77 +++++++++++++++++++++++++++++++ setup.h_vms | 4 +- src/common/descrip.mms | 20 ++++---- src/regex/descrip.mms | 78 ++++++++++++++++++++++++++++++++ src/richtext/descrip.mms | 88 ++++++++++++++++++++++++++++++++++++ 11 files changed, 565 insertions(+), 14 deletions(-) create mode 100644 demos/forty/descrip.mms create mode 100644 demos/fractal/descrip.mms create mode 100644 demos/life/descrip.mms create mode 100644 demos/poem/descrip.mms create mode 100644 samples/regtest/descrip.mms create mode 100644 samples/richtext/descrip.mms create mode 100644 src/regex/descrip.mms create mode 100644 src/richtext/descrip.mms diff --git a/demos/forty/descrip.mms b/demos/forty/descrip.mms new file mode 100644 index 0000000000..fab4ffd304 --- /dev/null +++ b/demos/forty/descrip.mms @@ -0,0 +1,57 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 3 October 2009 * +# * +#***************************************************************************** +.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) forty.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) forty_gtk.exe +.endif +.endif + +OBJS=canvas.obj,card.obj,forty.obj,game.obj,pile.obj,playerdg.obj,scoredg.obj,\ + scorefil.obj + +.ifdef __WXMOTIF__ +forty.exe : $(OBJS) + cxxlink/exec=forty.exe $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +forty_gtk.exe : $(OBJS) + cxxlink/exec=forty_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.endif +.endif + +canvas.obj : canvas.cpp +card.obj : card.cpp +forty.obj : forty.cpp +game.obj : game.cpp +pile.obj : pile.cpp +playerdg.obj : playerdg.cpp +scoredg.obj : scoredg.cpp +scorefil.obj : scorefil.cpp diff --git a/demos/fractal/descrip.mms b/demos/fractal/descrip.mms new file mode 100644 index 0000000000..79a04795ab --- /dev/null +++ b/demos/fractal/descrip.mms @@ -0,0 +1,49 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 3 October 2009 * +# * +#***************************************************************************** +.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) fractal.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) fractal_gtk.exe +.endif +.endif + +OBJS=fractal.obj + +.ifdef __WXMOTIF__ +fractal.exe : $(OBJS) + cxxlink/exec=fractal.exe $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +fractal_gtk.exe : $(OBJS) + cxxlink/exec=fractal_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.endif +.endif + +fractal.obj : fractal.cpp diff --git a/demos/life/descrip.mms b/demos/life/descrip.mms new file mode 100644 index 0000000000..f8580e1dfb --- /dev/null +++ b/demos/life/descrip.mms @@ -0,0 +1,52 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 5 October 2009 * +# * +#***************************************************************************** +.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) life.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) life_gtk.exe +.endif +.endif + +OBJS=life.obj,dialogs.obj,game.obj,reader.obj + +.ifdef __WXMOTIF__ +life.exe : $(OBJS) + cxxlink/exec=life.exe $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +life_gtk.exe : $(OBJS) + cxxlink/exec=life_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.endif +.endif + +life.obj : life.cpp +dialogs.obj : dialogs.cpp +game.obj : game.cpp +reader.obj : reader.cpp diff --git a/demos/poem/descrip.mms b/demos/poem/descrip.mms new file mode 100644 index 0000000000..2e2cee7aba --- /dev/null +++ b/demos/poem/descrip.mms @@ -0,0 +1,49 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 5 October 2009 * +# * +#***************************************************************************** +.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) wxpoem.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) wxpoem_gtk.exe +.endif +.endif + +OBJS=wxpoem.obj + +.ifdef __WXMOTIF__ +wxpoem.exe : $(OBJS) + cxxlink/exec=wxpoem.exe $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +wxpoem_gtk.exe : $(OBJS) + cxxlink/exec=wxpoem_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.endif +.endif + +wxpoem.obj : wxpoem.cpp diff --git a/descrip.mms b/descrip.mms index 4c5e96c1b1..518f11a2cb 100644 --- a/descrip.mms +++ b/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 22 September 2009 * +# Date : 5 October 2009 * # * #***************************************************************************** .first @@ -51,13 +51,25 @@ gtk : [.include.wx]setup.h set default [-.propgrid] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) library [--.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj + set default [-.regex] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.ribbon] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.richtext] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.gtk1] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) library [--.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj set default [--.demos.bombs] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.forty] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.fractal] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.life] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.poem] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [--.samples.calendar] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.aui] @@ -92,10 +104,12 @@ gtk : [.include.wx]setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.propgrid] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.regtest] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.ribbon] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) - set default [-.richedit] -# $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.richtext] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.sockets] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.xrc] @@ -125,8 +139,12 @@ gtk2 : [.include.wx]setup.h set default [-.propgrid] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1) library [--.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj + set default [-.regex] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1) set default [-.ribbon] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1) + set default [-.richtext] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1) set default [-.gtk] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1) library [--.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj @@ -187,8 +205,12 @@ x11 : [.include.wx]setup.h set default [-.propgrid] $(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1) library [--.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj + set default [-.regex] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1) set default [-.ribbon] $(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1) + set default [-.richtext] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1) set default [-.x11] $(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1) set default [-.univ] diff --git a/samples/regtest/descrip.mms b/samples/regtest/descrip.mms new file mode 100644 index 0000000000..086566839b --- /dev/null +++ b/samples/regtest/descrip.mms @@ -0,0 +1,77 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 3 October 2009 * +# * +#***************************************************************************** +.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 +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) +.else +CXX_DEFINE = +.endif +.endif +.endif +.endif + +.suffixes : .cpp + +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp + +all : +.ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) regtest.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) regtest_gtk.exe +.else +.ifdef __WXGTK2__ + $(MMS)$(MMSQUALIFIERS) regtest_gtk2.exe +.else +.ifdef __WXX11__ + $(MMS)$(MMSQUALIFIERS) regtest_x11.exe +.endif +.endif +.endif +.endif + +OBJS=regtest.obj + +.ifdef __WXMOTIF__ +regtest.exe : $(OBJS) + cxxlink $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +regtest_gtk.exe : $(OBJS) + cxxlink/exec=regtest_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.else +.ifdef __WXGTK2__ +regtest_gtk2.exe : $(OBJS) + cxxlink/exec=regtest_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt +.else +.ifdef __WXX11__ +regtest_x11.exe : $(OBJS) + cxxlink/exec=regtest_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt +.endif +.endif +.endif +.endif + +regtest.obj : regtest.cpp diff --git a/samples/richtext/descrip.mms b/samples/richtext/descrip.mms new file mode 100644 index 0000000000..1ce3150bef --- /dev/null +++ b/samples/richtext/descrip.mms @@ -0,0 +1,77 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 2 October 2009 * +# * +#***************************************************************************** +.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 +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) +.else +CXX_DEFINE = +.endif +.endif +.endif +.endif + +.suffixes : .cpp + +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp + +all : +.ifdef __WXMOTIF__ + $(MMS)$(MMSQUALIFIERS) richtext.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) richtext_gtk.exe +.else +.ifdef __WXGTK2__ + $(MMS)$(MMSQUALIFIERS) richtext_gtk2.exe +.else +.ifdef __WXX11__ + $(MMS)$(MMSQUALIFIERS) richtext_x11.exe +.endif +.endif +.endif +.endif + +OBJS=richtext.obj + +.ifdef __WXMOTIF__ +richtext.exe : $(OBJS) + cxxlink $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +richtext_gtk.exe : $(OBJS) + cxxlink/exec=richtext_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.else +.ifdef __WXGTK2__ +richtext_gtk2.exe : $(OBJS) + cxxlink/exec=richtext_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt +.else +.ifdef __WXX11__ +richtext_x11.exe : $(OBJS) + cxxlink/exec=richtext_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt +.endif +.endif +.endif +.endif + +richtext.obj : richtext.cpp diff --git a/setup.h_vms b/setup.h_vms index ba23bd90db..f7b507c599 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 : 18 September 2009 * + * Date : 3 October 2009 * * * *****************************************************************************/ @@ -317,7 +317,7 @@ typedef pid_t GPid; #define wxUSE_ANY 1 -#define wxUSE_REGEX 0 +#define wxUSE_REGEX 1 #define wxUSE_SYSTEM_OPTIONS 1 diff --git a/src/common/descrip.mms b/src/common/descrip.mms index c47371405d..cd873c3afe 100644 --- a/src/common/descrip.mms +++ b/src/common/descrip.mms @@ -2,7 +2,7 @@ # * # Make file for VMS * # Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * -# Date : 23 March 2009 * +# Date : 3 October 2009 * # * #***************************************************************************** .first @@ -10,24 +10,26 @@ .ifdef __WXMOTIF__ CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ - /assume=(nostdnew,noglobal_array_new) -CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) + /assume=(nostdnew,noglobal_array_new)/incl=[-.regex] +CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)/incl=[-.regex] .else .ifdef __WXGTK__ CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ - /assume=(nostdnew,noglobal_array_new) -CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm + /assume=(nostdnew,noglobal_array_new)/incl=[-.regex] +CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /incl=[-.regex] .else .ifdef __WXGTK2__ CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ - /assume=(nostdnew,noglobal_array_new) -CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm + /assume=(nostdnew,noglobal_array_new)/incl=[-.regex] +CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ + /ieee=denorm/incl=[-.regex] .else .ifdef __WXX11__ CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ - /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=[-.regex] CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ - /name=(as_is,short) + /name=(as_is,short)/incl=[-.regex] .else CXX_DEFINE = CC_DEFINE = diff --git a/src/regex/descrip.mms b/src/regex/descrip.mms new file mode 100644 index 0000000000..f150ace9a1 --- /dev/null +++ b/src/regex/descrip.mms @@ -0,0 +1,78 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 5 October 2009 * +# * +#***************************************************************************** +.first + define wx [--.include.wx] + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new)/include=[] +CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)/include=[] +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)/include=[] +CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /include=[] +.else +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new)/include=[] +CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)\ + /ieee=denorm/include=[] +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/include=[] +CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/include=[] +.else +CXX_DEFINE = +CC_DEFINE = +.endif +.endif +.endif +.endif + +.suffixes : .cpp + +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp +.c.obj : + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c + +OBJECTS=regcomp.obj,regerror.obj,regexec.obj,regfree.obj,\ + regfronts.obj,tclUniData.obj + +SOURCES=regcomp.c,regc_color.c,regc_cvec.c,regc_lex.c,regc_locale.c,\ + regc_nfa.c,regerror.c,regexec.c,rege_dfa.c,regfree.c,regfronts.c,\ + tclUniData.c + +all : $(SOURCES) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS) +.ifdef __WXMOTIF__ + library [--.lib]libwx_motif.olb $(OBJECTS) +.else +.ifdef __WXGTK__ + library [--.lib]libwx_gtk.olb $(OBJECTS) +.else +.ifdef __WXGTK2__ + library [--.lib]libwx_gtk2.olb $(OBJECTS) +.else +.ifdef __WXX11__ + library [--.lib]libwx_x11_univ.olb $(OBJECTS) +.endif +.endif +.endif +.endif + +regcomp.obj : regcomp.c +regerror.obj : regerror.c +regexec.obj : regexec.c +regfree.obj : regfree.c +regfronts.obj : regfronts.c +tclUniData.obj : tclUniData.c diff --git a/src/richtext/descrip.mms b/src/richtext/descrip.mms new file mode 100644 index 0000000000..972c0ad2b3 --- /dev/null +++ b/src/richtext/descrip.mms @@ -0,0 +1,88 @@ +#***************************************************************************** +# * +# Make file for VMS * +# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) * +# Date : 3 October 2009 * +# * +#***************************************************************************** +.first + define wx [--.include.wx] + +.ifdef __WXMOTIF__ +CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\ + /assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short) +.else +.ifdef __WXGTK__ +CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm +.else +.ifdef __WXGTK2__ +CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\ + /assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm +.else +.ifdef __WXX11__ +CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short)/assume=(nostdnew,noglobal_array_new) +CC_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\ + /name=(as_is,short) +.else +CXX_DEFINE = +CC_DEFINE = +.endif +.endif +.endif +.endif + +.suffixes : .cpp + +.cpp.obj : + cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp +.c.obj : + cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c + +OBJECTS=richtextbuffer.obj,richtextctrl.obj,\ + richtextformatdlg.obj,richtexthtml.obj,\ + richtextindentspage.obj,richtextprint.obj,\ + richtextstyledlg.obj,richtextstylepage.obj,richtextstyles.obj,\ + richtextsymboldlg.obj,richtexttabspage.obj,richtextxml.obj + +SOURCES=richtextbuffer.cpp,richtextbulletspage.cpp,richtextctrl.cpp,\ + richtextfontpage.cpp,richtextformatdlg.cpp,richtexthtml.cpp,\ + richtextindentspage.cpp,richtextliststylepage.cpp,richtextprint.cpp,\ + richtextstyledlg.cpp,richtextstylepage.cpp,richtextstyles.cpp,\ + richtextsymboldlg.cpp,richtexttabspage.cpp,richtextxml.cpp + + +all : $(SOURCES) + $(MMS)$(MMSQUALIFIERS) $(OBJECTS) +.ifdef __WXMOTIF__ + library [--.lib]libwx_motif.olb $(OBJECTS) +.else +.ifdef __WXGTK__ + library [--.lib]libwx_gtk.olb $(OBJECTS) +.else +.ifdef __WXGTK2__ + library [--.lib]libwx_gtk2.olb $(OBJECTS) +.else +.ifdef __WXX11__ + library [--.lib]libwx_x11_univ.olb $(OBJECTS) +.endif +.endif +.endif +.endif + +richtextbuffer.obj : richtextbuffer.cpp +richtextctrl.obj : richtextctrl.cpp +richtextformatdlg.obj : richtextformatdlg.cpp +richtexthtml.obj : richtexthtml.cpp +richtextindentspage.obj : richtextindentspage.cpp +richtextprint.obj : richtextprint.cpp +richtextstyledlg.obj : richtextstyledlg.cpp +richtextstylepage.obj : richtextstylepage.cpp +richtextstyles.obj : richtextstyles.cpp +richtextsymboldlg.obj : richtextsymboldlg.cpp +richtexttabspage.obj : richtexttabspage.cpp +richtextxml.obj : richtextxml.cpp