Update OpenVMS compile support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2010-11-03 08:54:52 +00:00
parent 530646ca27
commit 0de66257d9
4 changed files with 61 additions and 8 deletions

47
samples/exec/descrip.mms Normal file
View File

@@ -0,0 +1,47 @@
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 2 November 2010 *
# *
#*****************************************************************************
.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
CXX_DEFINE =
.endif
.endif
.suffixes : .cpp
.cpp.obj :
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
all :
.ifdef __WXMOTIF__
$(MMS)$(MMSQUALIFIERS) exec.exe
.else
.ifdef __WXGTK__
$(MMS)$(MMSQUALIFIERS) exec_gtk.exe
.endif
.endif
.ifdef __WXMOTIF__
exec.exe : exec.obj
cxxlink exec,[--.lib]vms/opt
.else
.ifdef __WXGTK__
exec_gtk.exe : exec.obj
cxxlink/exec=exec_gtk.exe exec,[--.lib]vms_gtk/opt
.endif
.endif
exec.obj : exec.cpp