Include compile support for propgrid & ribbon on OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2009-09-22 14:13:55 +00:00
parent 59a87eeaf6
commit 8110dab0ff
5 changed files with 338 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 21 September 2009 *
# Date : 22 September 2009 *
# *
#*****************************************************************************
.first
@ -48,6 +48,11 @@ gtk : [.include.wx]setup.h
set default [-.unix]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
library [--.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj
set default [-.propgrid]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
library [--.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj
set default [-.ribbon]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.gtk1]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
library [--.lib]libwx_gtk.olb [.CXX_REPOSITORY]*.obj
@ -85,6 +90,10 @@ gtk : [.include.wx]setup.h
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.minimal]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.propgrid]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.ribbon]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.richedit]
# $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.sockets]
@ -113,6 +122,11 @@ gtk2 : [.include.wx]setup.h
set default [-.unix]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1)
library [--.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj
set default [-.propgrid]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1)
library [--.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj
set default [-.ribbon]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1)
set default [-.gtk]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK2__=1)
library [--.lib]libwx_gtk2.olb [.CXX_REPOSITORY]*.obj
@ -170,6 +184,11 @@ x11 : [.include.wx]setup.h
set default [-.unix]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1)
library [--.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj
set default [-.propgrid]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1)
library [--.lib]libwx_x11_univ.olb [.CXX_REPOSITORY]*.obj
set default [-.ribbon]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1)
set default [-.x11]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXX11__=1,__WXUNIVERSAL__=1)
set default [-.univ]

View File

@ -0,0 +1,80 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 22 September 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) propgrid.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) propgrid_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) propgrid_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) propgrid_x11.exe
.endif
.endif
.endif
.endif
OBJS=propgrid.obj,propgrid_minimal.obj,sampleprops.obj,tests.obj
.ifdef __WXMOTIF__
propgrid.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
propgrid_gtk.exe : $(OBJS)
cxxlink/exec=propgrid_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
propgrid_gtk2.exe : $(OBJS)
cxxlink/exec=propgrid_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
propgrid_x11.exe : $(OBJS)
cxxlink/exec=propgrid_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
propgrid.obj : propgrid.cpp
propgrid_minimal.obj : propgrid_minimal.cpp
sampleprops.obj : sampleprops.cpp
tests.obj : tests.cpp

View File

@ -0,0 +1,75 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 22 September 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) ribbondemo.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) ribbondemo_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) ribbondemo_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) ribbondemo_x11.exe
.endif
.endif
.endif
.endif
.ifdef __WXMOTIF__
ribbondemo.exe : ribbondemo.obj
cxxlink ribbondemo,[--.lib]vms/opt
.else
.ifdef __WXGTK__
ribbondemo_gtk.exe : ribbondemo.obj
cxxlink/exec=ribbondemo_gtk.exe ribbondemo,[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
ribbondemo_gtk2.exe : ribbondemo.obj
cxxlink/exec=ribbondemo_gtk2.exe ribbondemo,[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
ribbondemo_x11.exe : ribbondemo.obj
cxxlink/exec=ribbondemo_x11.exe ribbondemo,[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
ribbondemo.obj : ribbondemo.cpp

77
src/propgrid/descrip.mms Normal file
View File

@ -0,0 +1,77 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 22 September 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=advprops.obj,editors.obj,manager.obj,property.obj,propgrid.obj,\
propgridiface.obj,propgridpagestate.obj,props.obj
SOURCES=advprops.cpp editors.cpp manager.cpp property.cpp propgrid.cpp\
propgridiface.cpp propgridpagestate.cpp props.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
advprops.obj : advprops.cpp
editors.obj : editors.cpp
manager.obj : manager.cpp
property.obj : property.cpp
propgrid.obj : propgrid.cpp
propgridiface.obj : propgridiface.cpp
propgridpagestate.obj : propgridpagestate.cpp
props.obj : props.cpp

86
src/ribbon/descrip.mms Normal file
View File

@ -0,0 +1,86 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 22 September 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=art_aui.obj,art_internal.obj,art_msw.obj,bar.obj,buttonbar.obj,\
control_ribbon.obj,gallery.obj,page.obj,panel.obj,\
toolbar_ribbon.obj
SOURCES=art_aui.cpp art_internal.cpp art_msw.cpp bar.cpp buttonbar.cpp\
control.cpp gallery.cpp page.cpp panel.cpp toolbar.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
art_aui.obj : art_aui.cpp
art_internal.obj : art_internal.cpp
art_msw.obj : art_msw.cpp
bar.obj : bar.cpp
buttonbar.obj : buttonbar.cpp
control_ribbon.obj : control.cpp
copy control.cpp control_ribbon.cpp
cxx$(CXXFLAGS)$(CXX_DEFINE) control_ribbon.cpp
delete control_ribbon.cpp;*
gallery.obj : gallery.cpp
page.obj : page.cpp
panel.obj : panel.cpp
toolbar_ribbon.obj : toolbar.cpp
copy toolbar.cpp toolbar_ribbon.cpp
cxx$(CXXFLAGS)$(CXX_DEFINE) toolbar_ribbon.cpp
delete toolbar_ribbon.cpp;*