# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
-# Date : 15 December 2010 *
+# Date : 7 January 2011 *
# *
#*****************************************************************************
.first
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.mdi]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
+ set default [-.mediaplayer]
+ $(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.menu]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [-.minimal]
--- /dev/null
+#*****************************************************************************
+# *
+# Make file for VMS *
+# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
+# Date : 5 January 2011 *
+# *
+#*****************************************************************************
+.first
+ define wx [--.include.wx]
+
+.ifdef __WXMOTIF__
+CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
+ /assume=(nostdnew,noglobal_array_new)
+.else
+.ifdef __WXGTK__
+CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+ /assume=(nostdnew,noglobal_array_new)
+.else
+.ifdef __WXGTK2__
+CXX_DEFINE = /define=(__WXGTK__=1,VMS_GTK2=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+ /assume=(nostdnew,noglobal_array_new)
+.else
+.ifdef __WXX11__
+CXX_DEFINE = /define=(__WXX11__=1,__WXUNIVERSAL__==1)/float=ieee\
+ /name=(as_is,short)/assume=(nostdnew,noglobal_array_new)
+.else
+CXX_DEFINE =
+.endif
+.endif
+.endif
+.endif
+
+.suffixes : .cpp
+
+.cpp.obj :
+ cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
+
+all :
+.ifdef __WXMOTIF__
+ $(MMS)$(MMSQUALIFIERS) mediaplayer.exe
+.else
+.ifdef __WXGTK__
+ $(MMS)$(MMSQUALIFIERS) mediaplayer_gtk.exe
+.else
+.ifdef __WXGTK2__
+ $(MMS)$(MMSQUALIFIERS) mediaplayer_gtk2.exe
+.else
+.ifdef __WXX11__
+ $(MMS)$(MMSQUALIFIERS) mediaplayer_x11.exe
+.endif
+.endif
+.endif
+.endif
+
+.ifdef __WXMOTIF__
+mediaplayer.exe : mediaplayer.obj
+ cxxlink mediaplayer,[--.lib]vms/opt
+.else
+.ifdef __WXGTK__
+mediaplayer_gtk.exe : mediaplayer.obj
+ cxxlink/exec=mediaplayer_gtk.exe mediaplayer,[--.lib]vms_gtk/opt
+.else
+.ifdef __WXGTK2__
+mediaplayer_gtk2.exe : mediaplayer.obj
+ cxxlink/exec=mediaplayer_gtk2.exe mediaplayer,[--.lib]vms_gtk2/opt
+.else
+.ifdef __WXX11__
+mediaplayer_x11.exe : mediaplayer.obj
+ cxxlink/exec=mediaplayer_x11.exe mediaplayer,[--.lib]vms_x11_univ/opt
+.endif
+.endif
+.endif
+.endif
+
+mediaplayer.obj : mediaplayer.cpp
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
-# Date : 6 January 2011 *
+# Date : 7 January 2011 *
# *
#*****************************************************************************
.first
cshelp.obj,\
ctrlcmn.obj,\
ctrlsub.obj,\
- datacmn.obj,\
datetime.obj,\
datstrm.obj,\
dcbase.obj,\
translation.obj,languageinfo.obj,filehistorycmn.obj,\
stdstream.obj,uiactioncmn.obj,arttango.obj,mediactrlcmn.obj,\
panelcmn.obj,checkboxcmn.obj,statboxcmn.obj,slidercmn.obj,\
- statlinecmn.obj,radiobtncmn.obj,bmpbtncmn.obj,checklstcmn.obj
+ statlinecmn.obj,radiobtncmn.obj,bmpbtncmn.obj,checklstcmn.obj,\
+ statbmpcmn.obj,dirctrlcmn.obj,gridcmn.obj,odcombocmn.obj,\
+ spinbtncmn.obj,scrolbarcmn.obj
OBJECTS_MOTIF=radiocmn.obj,combocmn.obj
cshelp.cpp,\
ctrlcmn.cpp,\
ctrlsub.cpp,\
- datacmn.cpp,\
datetime.cpp,\
datstrm.cpp,\
dcbase.cpp,\
tarstrm.cpp,datavcmn.cpp,debugrpt.cpp,uiactioncmn.cpp,\
arttango.cpp,mediactrlcmn.cpp,panelcmn.cpp,checkboxcmn.cpp,\
statboxcmn.cpp,slidercmn.cpp,statlinecmn.cpp,radiobtncmn.cpp,\
- bmpbtncmn.cpp,checklstcmn.cpp
+ bmpbtncmn.cpp,checklstcmn.cpp,statbmpcmn.cpp,dirctrlcmn.cpp,\
+ gridcmn.cpp,odcombocmn.cpp,spinbtncmn.cpp,scrolbarcmn.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
cshelp.obj : cshelp.cpp
ctrlcmn.obj : ctrlcmn.cpp
ctrlsub.obj : ctrlsub.cpp
-datacmn.obj : datacmn.cpp
datetime.obj : datetime.cpp
datstrm.obj : datstrm.cpp
dcbase.obj : dcbase.cpp
radiobtncmn.obj : radiobtncmn.cpp
bmpbtncmn.obj : bmpbtncmn.cpp
checklstcmn.obj : checklstcmn.cpp
+statbmpcmn.obj : statbmpcmn.cpp
+dirctrlcmn.obj : dirctrlcmn.cpp
+gridcmn.obj : gridcmn.cpp
+odcombocmn.obj : odcombocmn.cpp
+spinbtncmn.obj : spinbtncmn.cpp
+scrolbarcmn.obj : scrolbarcmn.cpp
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
-# Date : 17 December 2010 *
+# Date : 7 January 2011 *
# *
#*****************************************************************************
.first
sound_sdl.obj,\
stdpaths.obj,\
taskbarx11.obj,\
- timerunx.obj,evtloopunix.obj,fdiounix.obj,uiactionx11.obj
+ timerunx.obj,evtloopunix.obj,fdiounix.obj,uiactionx11.obj,\
+ mediactrl.obj
SOURCES = appunix.cpp,apptraits.cpp,\
dialup.cpp,\
sound_sdl.cpp,\
stdpaths.cpp,\
taskbarx11.cpp,\
- timerunx.cpp,evtloopunix.cpp,fdiounix.cpp,uiactionx11.cpp
+ timerunx.cpp,evtloopunix.cpp,fdiounix.cpp,uiactionx11.cpp,\
+ mediactrl.cpp
all : $(SOURCES)
$(MMS)$(MMSQUALIFIERS) $(OBJECTS)
cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn evtloopunix.cpp
fdiounix.obj : fdiounix.cpp
uiactionx11.obj : uiactionx11.cpp
+mediactrl.obj : mediactrl.cpp