]> git.saurik.com Git - wxWidgets.git/commitdiff
OpenVMS compile support : adding more samples for wxGTK
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 6 Oct 2009 14:47:53 +0000 (14:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 6 Oct 2009 14:47:53 +0000 (14:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

descrip.mms
samples/animate/descrip.mms [new file with mode: 0644]
samples/artprov/descrip.mms [new file with mode: 0644]
samples/clipboard/descrip.mms [new file with mode: 0644]
samples/collpane/descrip.mms [new file with mode: 0644]
samples/console/descrip.mms [new file with mode: 0644]
src/common/descrip.mms
src/generic/descrip.mms
src/gtk/descrip.mms

index 25016bc273f4e1c6cf46a3fc2d73c66bdd60bac4..5a781e5f4ae5a0d491708d1f06e878782b54f994 100644 (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]
diff --git a/samples/animate/descrip.mms b/samples/animate/descrip.mms
new file mode 100644 (file)
index 0000000..c24fa1e
--- /dev/null
@@ -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
diff --git a/samples/artprov/descrip.mms b/samples/artprov/descrip.mms
new file mode 100644 (file)
index 0000000..86470cf
--- /dev/null
@@ -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
diff --git a/samples/clipboard/descrip.mms b/samples/clipboard/descrip.mms
new file mode 100644 (file)
index 0000000..b3c16f7
--- /dev/null
@@ -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
diff --git a/samples/collpane/descrip.mms b/samples/collpane/descrip.mms
new file mode 100644 (file)
index 0000000..86a026a
--- /dev/null
@@ -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
diff --git a/samples/console/descrip.mms b/samples/console/descrip.mms
new file mode 100644 (file)
index 0000000..7f3dd9e
--- /dev/null
@@ -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
index b5827559bdd2b79085cfd6fa5e55d6d5eff771e1..6891910a61864b92ca332a66e310ed551cb37330 100644 (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
index a1f1ea2eca9e1b0a7ef387518fbdf8bf0c40378d..99f1786028cc952baa030bced6031cee8138903d 100644 (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
\ No newline at end of file
index ceb83ad5bae3354d5e4bec754d67effc3a5ee2fc..0fa2bb23a9d496c62029ef23d5a089564cd8a4ba 100644 (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
\ No newline at end of file
+assertdlg_gtk.obj : assertdlg_gtk.c
+infobar.obj : infobar.cpp