diff --git a/descrip.mms b/descrip.mms index 5a781e5f4a..93cc4a923d 100644 --- a/descrip.mms +++ b/descrip.mms @@ -96,6 +96,8 @@ gtk : [.include.wx]setup.h $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.controls] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) + set default [-.dataview] + $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.dialogs] $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1) set default [-.dialup] diff --git a/samples/dataview/descrip.mms b/samples/dataview/descrip.mms new file mode 100644 index 0000000000..b25161bd46 --- /dev/null +++ b/samples/dataview/descrip.mms @@ -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) dataview.exe +.else +.ifdef __WXGTK__ + $(MMS)$(MMSQUALIFIERS) dataview_gtk.exe +.else +.ifdef __WXGTK2__ + $(MMS)$(MMSQUALIFIERS) dataview_gtk2.exe +.else +.ifdef __WXX11__ + $(MMS)$(MMSQUALIFIERS) dataview_x11.exe +.endif +.endif +.endif +.endif + +OBJS=dataview.obj,mymodels.obj + +.ifdef __WXMOTIF__ +dataview.exe : $(OBJS) + cxxlink $(OBJS),[--.lib]vms/opt +.else +.ifdef __WXGTK__ +dataview_gtk.exe : $(OBJS) + cxxlink/exec=dataview_gtk.exe $(OBJS),[--.lib]vms_gtk/opt +.else +.ifdef __WXGTK2__ +dataview_gtk2.exe : $(OBJS) + cxxlink/exec=dataview_gtk2.exe $(OBJS),[--.lib]vms_gtk2/opt +.else +.ifdef __WXX11__ +dataview_x11.exe : $(OBJS) + cxxlink/exec=dataview_x11.exe $(OBJS),[--.lib]vms_x11_univ/opt +.endif +.endif +.endif +.endif + +dataview.obj : dataview.cpp +mymodels.obj : mymodels.cpp diff --git a/src/common/descrip.mms b/src/common/descrip.mms index 6891910a61..b1a8baf2de 100644 --- a/src/common/descrip.mms +++ b/src/common/descrip.mms @@ -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 + arcfind.obj,tarstrm.obj,datavcmn.obj OBJECTS_MOTIF=radiocmn.obj,combocmn.obj @@ -415,7 +415,7 @@ SOURCES = \ xtistrm.cpp,\ xtixml.cpp,\ wrapsizer.cpp,archive.cpp,fs_arc.cpp,arcall.obj,arcfind.obj,\ - tarstrm.cpp + tarstrm.cpp,datavcmn.cpp all : $(SOURCES) $(MMS)$(MMSQUALIFIERS) $(OBJECTS) @@ -661,3 +661,4 @@ fs_arc.obj : fs_arc.cpp arcall.obj : arcall.cpp arcfind.obj : arcfind.cpp tarstrm.obj : tarstrm.cpp +datavcmn.obj : datavcmn.cpp diff --git a/src/generic/descrip.mms b/src/generic/descrip.mms index 99f1786028..74e4c28f10 100644 --- a/src/generic/descrip.mms +++ b/src/generic/descrip.mms @@ -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 + editlbox.obj,datavgen.obj SOURCES = \ aboutdlgg.cpp,\ @@ -163,7 +163,8 @@ SOURCES = \ filepickerg.cpp,\ vscroll.cpp,\ icon.cpp,bmpcboxg.cpp,filectrlg.cpp,srchctlg.cpp,notifmsgg.cpp\ - ,headerctrlg.cpp,grideditors.cpp,stattextg.cpp,editlbox.cpp + ,headerctrlg.cpp,grideditors.cpp,stattextg.cpp,editlbox.cpp,\ + datavgen.cpp .ifdef __WXMOTIF__ OBJECTS0=statusbr.obj,statline.obj,notebook.obj,spinctlg.obj,collpaneg.obj,\ @@ -291,4 +292,5 @@ 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 +infobar.obj : infobar.cpp +datavgen.obj : datavgen.cpp