]> git.saurik.com Git - wxWidgets.git/commitdiff
OpenVMS : add compile support for debugrpt sample
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 8 Oct 2009 10:59:33 +0000 (10:59 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 8 Oct 2009 10:59:33 +0000 (10:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

descrip.mms
samples/debugrpt/descrip.mms [new file with mode: 0644]
setup.h_vms
src/common/descrip.mms
src/generic/descrip.mms
src/unix/descrip.mms

index 93cc4a923d57ac8454d340d797b5540a05e8a209..f10828c15ccb002fe3e86e86186776d223ed3e4a 100644 (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]
diff --git a/samples/debugrpt/descrip.mms b/samples/debugrpt/descrip.mms
new file mode 100644 (file)
index 0000000..05bd831
--- /dev/null
@@ -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
index 02e070a70037de1193da953cbf5d63fee250915f..f97172fdec06e52678254628b56e8854471db282 100644 (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 */
index b1a8baf2dea77c3bc204a08b13576910d8a383bd..2724503a9598fbfcae6813d4e2e6779d3ef9be87 100644 (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
index 74e4c28f103532b6c6f9dde5690796e5d8558b28..eebdae6ef34498c4ff7acc35191cd915d01f0e1c 100644 (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
index c25d280e9039ce88d5f35b31ff8648de383f1c18..b480024594992e35d6aa77924a37fe8b23ab0ecb 100644 (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