From: Jouk Jansen Date: Fri, 12 Nov 1999 14:35:18 +0000 (+0000) Subject: Committing in . X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2b8e283d479cd75d6514d2b51e7f8cb8e8a329b0 Committing in . 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 --- diff --git a/descrip.mms b/descrip.mms index 3fbea0120f..30b97d2d7a 100644 --- a/descrip.mms +++ b/descrip.mms @@ -17,6 +17,8 @@ all : setup.h $(MMS)$(MMSQUALIFIERS) set default [--.samples.dialogs] $(MMS)$(MMSQUALIFIERS) + set default [-.samples.image] + $(MMS)$(MMSQUALIFIERS) set default [-.samples.menu] $(MMS)$(MMSQUALIFIERS) set default [-.samples.minimal] diff --git a/docs/readme_vms.txt b/docs/readme_vms.txt index d24776888b..b905751313 100644 --- a/docs/readme_vms.txt +++ b/docs/readme_vms.txt @@ -6,7 +6,7 @@ The compilation was tested with -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 @@ -14,13 +14,17 @@ To get every thing compiled you'll need to have installed 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 diff --git a/samples/image/descrip.mms b/samples/image/descrip.mms new file mode 100644 index 0000000000..bf899a0003 --- /dev/null +++ b/samples/image/descrip.mms @@ -0,0 +1,30 @@ +#***************************************************************************** +# * +# 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 diff --git a/samples/image/image.opt b/samples/image/image.opt new file mode 100644 index 0000000000..4e09c12016 --- /dev/null +++ b/samples/image/image.opt @@ -0,0 +1,9 @@ +[--.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