Support to compile the image sample on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/docs/readme_vms.txt
Added Files:
wxWindows/samples/image/descrip.mms
wxWindows/samples/image/image.opt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4513
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
$(MMS)$(MMSQUALIFIERS)
set default [--.samples.dialogs]
$(MMS)$(MMSQUALIFIERS)
+ set default [-.samples.image]
+ $(MMS)$(MMSQUALIFIERS)
set default [-.samples.menu]
$(MMS)$(MMSQUALIFIERS)
set default [-.samples.minimal]
-DECC 6.0
-Compac C++ 6.2
-To get every thing compiled you'll need to have installed
+To get everything compiled you'll need to have installed:
-Bison
-Flex
-Sed
http://www.openvms.digital.com/freeware/
At the moment you'll have to hack the descrip.mms files to include the right
locations of the packages, but i intend to make this better in future.
-
+ -sys$library:libjpeg.olb (from ftp://ftp.uu.net/graphics/jpeg/ )
+ -sys$library:libpng.olb & sys$library:libz.olb (from
+ http://www.cdrom.com/pub/png/pngcode.html )
+
Currently only the MOTIF GUI vcan be build by typing
- MMS/MACRO=(__MOTIF__=1)
+ MMS/MACRO=(__WXMOTIF__=1)
in the main directory of the distribution.
It automatically makes the library in [.lib] and links the following samples
[.samples.menu]dialogs.exe
+ [.samples.menu]image.exe
[.samples.menu]menu.exe
[.samples.menu]minimal.exe
--- /dev/null
+#*****************************************************************************
+# *
+# Make file for VMS *
+# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
+# Date : 10 November 1999 *
+# *
+#*****************************************************************************
+.first
+ define wx [--.include.wx]
+
+.ifdef __WXMOTIF__
+CXX_DEFINE = /define=(__WXMOTIF__=1)
+.else
+CXX_DEFINE =
+.endif
+
+.suffixes : .cpp
+
+.cpp.obj :
+ cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
+
+all :
+ $(MMS)$(MMSQUALIFIERS) image.exe
+
+image.exe : image.obj
+.ifdef __WXMOTIF__
+ cxxlink image,image/opt
+.endif
+
+image.obj : image.cpp
--- /dev/null
+[--.lib]libwx_motif.olb/lib
+sys$library:libjpeg.olb/lib
+sys$library:libpng.olb/lib
+sys$library:libz.olb/lib
+X11:libxpm.olb/lib
+sys$library:decw$xlibshr.exe/share
+sys$library:decw$xtlibshrr5.exe/share
+sys$library:decw$xmlibshr12.exe/share
+sys$library:decw$xmulibshrr5.exe/share