OpenVMS compile support : adding more samples for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2009-10-06 14:47:53 +00:00
parent 21d5ec7d65
commit 4bd57bb6da
9 changed files with 417 additions and 9 deletions

View File

@@ -74,14 +74,26 @@ gtk : [.include.wx]setup.h
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [--.samples.calendar]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.access]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.animate]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.artprov]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.aui]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.caret]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.clipboard]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.collpane]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.combo]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.config]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.console]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.controls]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.dialogs]

View File

@@ -0,0 +1,77 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
define wx [--.include.wx]
.ifdef __WXMOTIF__
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK__
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK2__
CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXX11__
CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
CXX_DEFINE =
.endif
.endif
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) anitest.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) anitest_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) anitest_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) anitest_x11.exe
.endif
.endif
.endif
.endif
OBJS=anitest.obj
.ifdef __WXMOTIF__
anitest.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
anitest_gtk.exe : $(OBJS)
cxxlink/exec=anitest_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
anitest_gtk2.exe : $(OBJS)
cxxlink/exec=anitest_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
anitest_x11.exe : $(OBJS)
cxxlink/exec=anitest_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
anitest.obj : anitest.cpp

View File

@@ -0,0 +1,78 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
define wx [--.include.wx]
.ifdef __WXMOTIF__
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK__
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK2__
CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXX11__
CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
CXX_DEFINE =
.endif
.endif
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) arttest.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) arttest_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) arttest_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) arttest_x11.exe
.endif
.endif
.endif
.endif
OBJS=arttest.obj,artbrows.obj
.ifdef __WXMOTIF__
arttest.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
arttest_gtk.exe : $(OBJS)
cxxlink/exec=arttest_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
arttest_gtk2.exe : $(OBJS)
cxxlink/exec=arttest_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
arttest_x11.exe : $(OBJS)
cxxlink/exec=arttest_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
arttest.obj : arttest.cpp
artbrows.obj : artbrows.cpp

View File

@@ -0,0 +1,77 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
define wx [--.include.wx]
.ifdef __WXMOTIF__
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK__
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK2__
CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXX11__
CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
CXX_DEFINE =
.endif
.endif
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) clipboard.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) clipboard_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) clipboard_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) clipboard_x11.exe
.endif
.endif
.endif
.endif
OBJS=clipboard.obj
.ifdef __WXMOTIF__
clipboard.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
clipboard_gtk.exe : $(OBJS)
cxxlink/exec=clipboard_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
clipboard_gtk2.exe : $(OBJS)
cxxlink/exec=clipboard_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
clipboard_x11.exe : $(OBJS)
cxxlink/exec=clipboard_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
clipboard.obj : clipboard.cpp

View File

@@ -0,0 +1,77 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
define wx [--.include.wx]
.ifdef __WXMOTIF__
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK__
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK2__
CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXX11__
CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
CXX_DEFINE =
.endif
.endif
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) collpane.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) collpane_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) collpane_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) collpane_x11.exe
.endif
.endif
.endif
.endif
OBJS=collpane.obj
.ifdef __WXMOTIF__
collpane.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
collpane_gtk.exe : $(OBJS)
cxxlink/exec=collpane_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
collpane_gtk2.exe : $(OBJS)
cxxlink/exec=collpane_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
collpane_x11.exe : $(OBJS)
cxxlink/exec=collpane_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
collpane.obj : collpane.cpp

View File

@@ -0,0 +1,78 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
define wx [--.include.wx]
.ifdef __WXMOTIF__
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK__
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXGTK2__
CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
.ifdef __WXX11__
CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
/name=(as_is,short)/assume=(nostdnew,noglobal_array_new)/incl=([],[-])
.else
CXX_DEFINE =
.endif
.endif
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) console.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) console_gtk.exe
.else
.ifdef __WXGTK2__
$(MMS)$(MMSQUALIFIERS) console_gtk2.exe
.else
.ifdef __WXX11__
$(MMS)$(MMSQUALIFIERS) console_x11.exe
.endif
.endif
.endif
.endif
OBJS=console.obj
.ifdef __WXMOTIF__
console.exe : $(OBJS)
cxxlink $(OBJS),[--.lib]vms/opt
.else
.ifdef __WXGTK__
console_gtk.exe : $(OBJS)
cxxlink/exec=console_gtk.exe $(OBJS),[--.lib]vms_gtk/opt
.else
.ifdef __WXGTK2__
console_gtk2.exe : $(OBJS)
cxxlink/exec=console_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt
.else
.ifdef __WXX11__
console_x11.exe : $(OBJS)
cxxlink/exec=console_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt
.endif
.endif
.endif
.endif
console.obj : console.cpp
cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn console.cpp

View File

@@ -215,7 +215,8 @@ OBJECTS2=tbarbase.obj,srchcmn.obj,\
selectdispatcher.obj,overlaycmn.obj,windowid.obj,sstream.obj,\
wrapsizer.obj,headerctrlcmn.obj,headercolcmn.obj,\
rearrangectrl.obj,spinctrlcmn.obj,datetimefmt.obj,xlocale.obj,\
regex.obj,any.obj
regex.obj,any.obj,archive.obj,fs_arc.obj,arcall.obj,\
arcfind.obj,tarstrm.obj
OBJECTS_MOTIF=radiocmn.obj,combocmn.obj
@@ -413,7 +414,8 @@ SOURCES = \
xti.cpp,\
xtistrm.cpp,\
xtixml.cpp,\
wrapsizer.cpp
wrapsizer.cpp,archive.cpp,fs_arc.cpp,arcall.obj,arcfind.obj,\
tarstrm.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
@@ -654,3 +656,8 @@ rearrangectrl.obj : rearrangectrl.cpp
spinctrlcmn.obj : spinctrlcmn.cpp
datetimefmt.obj : datetimefmt.cpp
xlocale.obj : xlocale.cpp
archive.obj : archive.cpp
fs_arc.obj : fs_arc.cpp
arcall.obj : arcall.cpp
arcfind.obj : arcfind.cpp
tarstrm.obj : tarstrm.cpp

View File

@@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 18 June 2009 *
# Date : 6 October 2009 *
# *
#*****************************************************************************
.first
@@ -168,18 +168,18 @@ SOURCES = \
.ifdef __WXMOTIF__
OBJECTS0=statusbr.obj,statline.obj,notebook.obj,spinctlg.obj,collpaneg.obj,\
combog.obj,animateg.obj,colrdlgg.obj,clrpickerg.obj,fontpickerg.obj,\
mdig.obj
mdig.obj,infobar.obj
.else
.ifdef __WXX11__
OBJECTS0=accel.obj,filedlgg.obj,dragimgg.obj,fdrepdlg.obj,htmllbox.obj,\
listbkg.obj,mdig.obj,spinctlg.obj,splash.obj,timer.obj,\
combog.obj,icon.obj,collpaneg.obj,animateg.obj,\
colrdlgg.obj,clrpickerg.obj,fontpickerg.obj
colrdlgg.obj,clrpickerg.obj,fontpickerg.obj,infobar.obj
.else
.ifdef __WXGTK__
OBJECTS0=accel.obj,statusbr.obj,filedlgg.obj,paletteg.obj,\
combog.obj,icon.obj,collpaneg.obj,animateg.obj,\
colrdlgg.obj,clrpickerg.obj,fontpickerg.obj
colrdlgg.obj,clrpickerg.obj,fontpickerg.obj,infobar.obj
.else
OBJECTS0=accel.obj,statusbr.obj,filedlgg.obj,paletteg.obj,\
combog.obj,icon.obj
@@ -291,3 +291,4 @@ notifmsgg.obj : notifmsgg.cpp
stattextg.obj : stattextg.cpp
headerctrlg.obj : headerctrlg.cpp
grideditors.obj : grideditors.cpp
infobar.obj : infobar.cpp

View File

@@ -99,7 +99,7 @@ OBJECTS0= \
tglbtn.obj,\
msgdlg.obj,\
treeentry_gtk.obj,textentry.obj,filectrl.obj,print.obj,win_gtk.obj,\
mnemonics.obj,private.obj,assertdlg_gtk.obj
mnemonics.obj,private.obj,assertdlg_gtk.obj,infobar.obj
SOURCES =\
animate.cpp,\
@@ -165,7 +165,7 @@ SOURCES =\
utilsgtk.cpp,\
window.cpp,\
treeentry_gtk.c,textentry.cpp,filectrl.cpp,print.cpp,win_gtk.cpp,\
mnemonics.cpp,private.cpp,assertdlg_gtk.c
mnemonics.cpp,private.cpp,assertdlg_gtk.c,infobar.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
@@ -258,4 +258,5 @@ print.obj : print.cpp
win_gtk.obj : win_gtk.cpp
mnemonics.obj : mnemonics.cpp
private.obj : private.cpp
assertdlg_gtk.obj : assertdlg_gtk.c
assertdlg_gtk.obj : assertdlg_gtk.c
infobar.obj : infobar.cpp