]> git.saurik.com Git - wxWidgets.git/commitdiff
For OS/2
authorDavid Webster <Dave.Webster@bhmi.com>
Wed, 4 Sep 2002 13:39:02 +0000 (13:39 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Wed, 4 Sep 2002 13:39:02 +0000 (13:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 files changed:
samples/checklst/checklst.rcO [new file with mode: 0644]
samples/checklst/makefile.va [new file with mode: 0644]
samples/checklst/mondros2.ico [new file with mode: 0644]
samples/dialogs/dialogs.rcO [new file with mode: 0644]
samples/dialogs/makefile.va [new file with mode: 0644]
samples/image/image.rco [new file with mode: 0644]
samples/image/makefile.va [new file with mode: 0644]
samples/menu/makefile.va
samples/minimal/makefile.va
samples/minimal/minimal.rcO
samples/notebook/makefile.va [new file with mode: 0644]
samples/notebook/mondros2.ico [new file with mode: 0644]
samples/notebook/notebook.rcO [new file with mode: 0644]
samples/scroll/makefile.va
samples/toolbar/makefile.va [new file with mode: 0644]
samples/toolbar/mondros2.ico [new file with mode: 0644]
samples/toolbar/toolbar.rco [new file with mode: 0644]

diff --git a/samples/checklst/checklst.rcO b/samples/checklst/checklst.rcO
new file mode 100644 (file)
index 0000000..62b693c
--- /dev/null
@@ -0,0 +1,4 @@
+ICON     1   PRELOAD "mondros2.ico"
+
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
+
diff --git a/samples/checklst/makefile.va b/samples/checklst/makefile.va
new file mode 100644 (file)
index 0000000..8b31fce
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# File:     makefile.va
+# Author:   David Webster
+# Created:  1999
+# Updated:
+# Copyright:    (c) David Webster
+#
+# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR=$(WXWIN)
+
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
+PROGRAM=checklst
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
+
+!include $(WXDIR)\src\makeprog.va
+
diff --git a/samples/checklst/mondros2.ico b/samples/checklst/mondros2.ico
new file mode 100644 (file)
index 0000000..8b0e58c
Binary files /dev/null and b/samples/checklst/mondros2.ico differ
diff --git a/samples/dialogs/dialogs.rcO b/samples/dialogs/dialogs.rcO
new file mode 100644 (file)
index 0000000..87a8a25
--- /dev/null
@@ -0,0 +1,4 @@
+ICON     1   PRELOAD "dialogs.ico"
+
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
+
diff --git a/samples/dialogs/makefile.va b/samples/dialogs/makefile.va
new file mode 100644 (file)
index 0000000..b0d90dd
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# File:     makefile.va
+# Author:   David Webster
+# Created:  1999
+# Updated:
+# Copyright:    (c) David Webster
+#
+# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR=$(WXWIN)
+
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
+PROGRAM=dialogs
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
+
+!include $(WXDIR)\src\makeprog.va
+
diff --git a/samples/image/image.rco b/samples/image/image.rco
new file mode 100644 (file)
index 0000000..87a8a25
--- /dev/null
@@ -0,0 +1,4 @@
+ICON     1   PRELOAD "dialogs.ico"
+
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
+
diff --git a/samples/image/makefile.va b/samples/image/makefile.va
new file mode 100644 (file)
index 0000000..2a12566
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# File:     makefile.va
+# Author:   David Webster
+# Created:  1999
+# Updated:
+# Copyright:    (c) David Webster
+#
+# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR=$(WXWIN)
+
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
+PROGRAM=image
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
+
+!include $(WXDIR)\src\makeprog.va
+
index 3081148205e866fbf7ad74d5f04bab8864e19ef1..2096135b7ab0999cab0f6567169229cd5ac9a766 100644 (file)
@@ -32,7 +32,7 @@ OPATH=$(THISDIR)\$D
 PROGRC=$(THISDIR)\$(PROGRAM).rcO
 OBJECTS=$(OPATH)\$(PROGRAM).obj
 PROGRES=$(OPATH)\$(PROGRAM).res
-PROGTARGET=$(OPATH)\$(PROGRAM).exe
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
 
 .cpp{$OPATH}.obj:
     @echo $<
index adffb27a1074a1a6f927f7c4256b2381926f66b1..fd3e75401749ff7d886ed3871522c0d38eb914dc 100644 (file)
@@ -32,7 +32,7 @@ OPATH=$(THISDIR)\$D
 PROGRC=$(THISDIR)\$(PROGRAM).rcO
 OBJECTS=$(OPATH)\$(PROGRAM).obj
 PROGRES=$(OPATH)\$(PROGRAM).res
-PROGTARGET=$(OPATH)\$(PROGRAM).exe
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
 
 .cpp{$OPATH}.obj:
     @echo $<
index 3d546d491698f56948cc93c9b73f66603438e301..412a762880e7ede121dec7bd0c28c0c567d5ee0f 100644 (file)
@@ -1,5 +1,5 @@
 ICON     1   PRELOAD   "mondros2.ico"
-#include "wx/os2/wx.rc"
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
 
 #define MINIMAL_QUIT    1
 #define MINIMAL_ABOUT   102
diff --git a/samples/notebook/makefile.va b/samples/notebook/makefile.va
new file mode 100644 (file)
index 0000000..7d6e405
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# File:     makefile.va
+# Author:   David Webster
+# Created:  1999
+# Updated:
+# Copyright:    (c) David Webster
+#
+# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR=$(WXWIN)
+
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
+PROGRAM=notebook
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
+
+!include $(WXDIR)\src\makeprog.va
+
diff --git a/samples/notebook/mondros2.ico b/samples/notebook/mondros2.ico
new file mode 100644 (file)
index 0000000..8b0e58c
Binary files /dev/null and b/samples/notebook/mondros2.ico differ
diff --git a/samples/notebook/notebook.rcO b/samples/notebook/notebook.rcO
new file mode 100644 (file)
index 0000000..62b693c
--- /dev/null
@@ -0,0 +1,4 @@
+ICON     1   PRELOAD "mondros2.ico"
+
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
+
index 4a05a83f979b3911a7491bf300356ab7199dc89a..fb654a5ca1e821c6c676626686f076cf038f0a78 100644 (file)
@@ -32,7 +32,7 @@ OPATH=$(THISDIR)\$D
 PROGRC=$(THISDIR)\$(PROGRAM).rcO
 OBJECTS=$(OPATH)\$(PROGRAM).obj
 PROGRES=$(OPATH)\$(PROGRAM).res
-PROGTARGET=$(OPATH)\$(PROGRAM).exe
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
 
 .cpp{$OPATH}.obj:
     @echo $<
diff --git a/samples/toolbar/makefile.va b/samples/toolbar/makefile.va
new file mode 100644 (file)
index 0000000..88a8786
--- /dev/null
@@ -0,0 +1,44 @@
+#
+# File:     makefile.va
+# Author:   David Webster
+# Created:  1999
+# Updated:
+# Copyright:    (c) David Webster
+#
+# Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR=$(WXWIN)
+
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
+PROGRAM=tbar
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
+
+!include $(WXDIR)\src\makeprog.va
+
diff --git a/samples/toolbar/mondros2.ico b/samples/toolbar/mondros2.ico
new file mode 100644 (file)
index 0000000..8b0e58c
Binary files /dev/null and b/samples/toolbar/mondros2.ico differ
diff --git a/samples/toolbar/toolbar.rco b/samples/toolbar/toolbar.rco
new file mode 100644 (file)
index 0000000..21e4973
--- /dev/null
@@ -0,0 +1,13 @@
+ICON     1   PRELOAD   "mondros2.ico"
+
+BITMAP  2000        LOADONCALL  "bitmaps\\new.bmp"
+BITMAP  2001        LOADONCALL  "bitmaps\\open.bmp"
+BITMAP  2002        LOADONCALL  "bitmaps\\save.bmp"
+BITMAP  2003        LOADONCALL  "bitmaps\\copy.bmp"
+BITMAP  2004        LOADONCALL  "bitmaps\\cut.bmp"
+BITMAP  2005        LOADONCALL  "bitmaps\\paste.bmp"
+BITMAP  2006        LOADONCALL  "bitmaps\\print.bmp"
+BITMAP  2007        LOADONCALL  "bitmaps\\help.bmp"
+
+RCINCLUDE \dev\wx2\WxWindows\include\wx\os2\wx.rc
+