OpenVMS : add compile support for debugrpt sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2009-10-08 10:59:33 +00:00
parent 918df9d264
commit c11b48536b
6 changed files with 98 additions and 15 deletions

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# Date : 7 October 2009 *
# *
#*****************************************************************************
.first
@ -98,6 +98,8 @@ gtk : [.include.wx]setup.h
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.dataview]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.debugrpt]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.dialogs]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.dialup]

View File

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

View File

@ -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 : 6 October 2009 *
* Date : 7 October 2009 *
* *
*****************************************************************************/
@ -171,17 +171,17 @@ typedef pid_t GPid;
#define wxDIALOG_UNIT_COMPATIBILITY 1
#define wxUSE_DEBUG_CONTEXT 0
#define wxUSE_DEBUG_CONTEXT 1
#define wxUSE_DEBUGREPORT 0
#define wxUSE_DEBUGREPORT 1
#define wxUSE_MEMORY_TRACING 0
#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
#define wxUSE_DEBUG_NEW_ALWAYS 0
#define wxUSE_DEBUG_NEW_ALWAYS 1
#define wxUSE_ON_FATAL_EXCEPTION 0
#define wxUSE_ON_FATAL_EXCEPTION 1
#define wxUSE_STACKWALKER 0
@ -875,7 +875,7 @@ typedef pid_t GPid;
#undef WX_STATFS_T
/* The signal handler prototype */
#undef wxTYPE_SA_HANDLER
#define wxTYPE_SA_HANDLER int
/* gettimeofday() usually takes 2 arguments, but some really old systems might
* have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# Date : 7 October 2009 *
# *
#*****************************************************************************
.first
@ -216,7 +216,7 @@ OBJECTS2=tbarbase.obj,srchcmn.obj,\
wrapsizer.obj,headerctrlcmn.obj,headercolcmn.obj,\
rearrangectrl.obj,spinctrlcmn.obj,datetimefmt.obj,xlocale.obj,\
regex.obj,any.obj,archive.obj,fs_arc.obj,arcall.obj,\
arcfind.obj,tarstrm.obj,datavcmn.obj
arcfind.obj,tarstrm.obj,datavcmn.obj,debugrpt.obj
OBJECTS_MOTIF=radiocmn.obj,combocmn.obj
@ -414,8 +414,8 @@ SOURCES = \
xti.cpp,\
xtistrm.cpp,\
xtixml.cpp,\
wrapsizer.cpp,archive.cpp,fs_arc.cpp,arcall.obj,arcfind.obj,\
tarstrm.cpp,datavcmn.cpp
wrapsizer.cpp,archive.cpp,fs_arc.cpp,arcall.cpp,arcfind.cpp,\
tarstrm.cpp,datavcmn.cpp,debugrpt.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
@ -662,3 +662,4 @@ arcall.obj : arcall.cpp
arcfind.obj : arcfind.cpp
tarstrm.obj : tarstrm.cpp
datavcmn.obj : datavcmn.cpp
debugrpt.obj : debugrpt.cpp

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 6 October 2009 *
# Date : 8 October 2009 *
# *
#*****************************************************************************
.first
@ -93,7 +93,7 @@ OBJECTS = \
bmpcboxg.obj,\
filectrlg.obj,srchctlg.obj,notifmsgg.obj,headerctrlg.obj,\
grideditors.obj,vlbox.obj,vscroll.obj,stattextg.obj,\
editlbox.obj,datavgen.obj
editlbox.obj,datavgen.obj,dbgrptg.obj
SOURCES = \
aboutdlgg.cpp,\
@ -164,7 +164,7 @@ SOURCES = \
vscroll.cpp,\
icon.cpp,bmpcboxg.cpp,filectrlg.cpp,srchctlg.cpp,notifmsgg.cpp\
,headerctrlg.cpp,grideditors.cpp,stattextg.cpp,editlbox.cpp,\
datavgen.cpp
datavgen.cpp,dbgrptg.cpp
.ifdef __WXMOTIF__
OBJECTS0=statusbr.obj,statline.obj,notebook.obj,spinctlg.obj,collpaneg.obj,\
@ -294,3 +294,4 @@ headerctrlg.obj : headerctrlg.cpp
grideditors.obj : grideditors.cpp
infobar.obj : infobar.cpp
datavgen.obj : datavgen.cpp
dbgrptg.obj : dbgrptg.cpp

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 24 August 2009 *
# Date : 7 October 2009 *
# *
#*****************************************************************************
.first
@ -101,6 +101,8 @@ all : $(SOURCES)
.endif
.endif
$(OBJECTS) : [--.include.wx]setup.h
appunix.obj : appunix.cpp
apptraits.obj : apptraits.cpp
dialup.obj : dialup.cpp