]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 14:35:18 +0000 (14:35 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 12 Nov 1999 14:35:18 +0000 (14:35 +0000)
 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

descrip.mms
docs/readme_vms.txt
samples/image/descrip.mms [new file with mode: 0644]
samples/image/image.opt [new file with mode: 0644]

index 3fbea0120f43908aa9d74748150dbe4fa1877dc1..30b97d2d7a48f2b8c1950ae63990a7b92d14ee2d 100644 (file)
@@ -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]
index d24776888b0bbedaaa2d2d153c041ca7d41b0139..b905751313f37aa1ece4bd9942a17ec215086581 100644 (file)
@@ -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 (file)
index 0000000..bf899a0
--- /dev/null
@@ -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 (file)
index 0000000..4e09c12
--- /dev/null
@@ -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