]> git.saurik.com Git - wxWidgets.git/commitdiff
Added further keyboard sample makefiles
authorJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 11:34:40 +0000 (11:34 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 8 Apr 2002 11:34:40 +0000 (11:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/keyboard/makefile.b32 [new file with mode: 0644]
samples/keyboard/makefile.bcc [new file with mode: 0644]
samples/keyboard/makefile.g95 [new file with mode: 0644]
samples/keyboard/makefile.sc [new file with mode: 0644]
samples/keyboard/makefile.vc [new file with mode: 0644]
samples/keyboard/makefile.wat [new file with mode: 0644]
samples/makefile.b32
samples/makefile.g95
samples/makefile.vc

diff --git a/samples/keyboard/makefile.b32 b/samples/keyboard/makefile.b32
new file mode 100644 (file)
index 0000000..cdd0813
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:                makefile.b32
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:
+#
+# Makefile : Builds sample for 32-bit BC++
+
+WXDIR = $(WXWIN)
+
+TARGET=keyboard
+OBJECTS = $(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.b32
+
diff --git a/samples/keyboard/makefile.bcc b/samples/keyboard/makefile.bcc
new file mode 100644 (file)
index 0000000..715d825
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# File:                makefile.bcc
+# Author:      Julian Smart
+# Created:     1998
+# Updated:     
+#
+# Builds a BC++ 16-bit sample
+
+!if "$(WXWIN)" == ""
+!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
+!endif
+
+WXDIR = $(WXWIN)
+
+TARGET=keyboard
+OBJECTS=$(TARGET).obj
+
+!include $(WXDIR)\src\makeprog.bcc
+
diff --git a/samples/keyboard/makefile.g95 b/samples/keyboard/makefile.g95
new file mode 100644 (file)
index 0000000..91fc758
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# File:         makefile.g95
+# Author:       Julian Smart
+# Created:      1999
+# Updated:
+# Copyright:    (c) Julian Smart, 1999
+#
+# Makefile for wxWindows sample (Cygwin/Mingw32).
+
+WXDIR = ../..
+
+TARGET=keyboard
+OBJECTS = $(TARGET).o
+
+include $(WXDIR)/src/makeprog.g95
+
diff --git a/samples/keyboard/makefile.sc b/samples/keyboard/makefile.sc
new file mode 100644 (file)
index 0000000..b85f8d6
--- /dev/null
@@ -0,0 +1,37 @@
+;    Last change:  JS    8 Apr 102   12:33 pm
+# Symantec C++ makefile
+
+WXDIR = $(WXWIN)
+WXLIB = $(WXDIR)\lib\wx.lib
+INCDIR = $(WXDIR)\include
+INCLUDE=$(INCDIR)
+TARGET=keyboard
+
+include $(WXDIR)\src\makesc.env
+
+keyboard.exe: keyboard.obj $(DEFFILE) keyboard.res
+       *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
+    *$(RC) -k keyboard.res
+
+sc32.def:
+     echo EXETYPE NT > sc32.def
+     echo SUBSYSTEM WINDOWS >> sc32.def
+
+sc16.def:
+     echo NAME $(TARGET) > sc16.def
+     echo EXETYPE WINDOWS >> sc16.def
+     echo STUB         'WINSTUB.EXE' >> sc16.def
+     echo CODE         PRELOAD MOVEABLE DISCARDABLE >> sc16.def
+     echo DATA         PRELOAD MOVEABLE MULTIPLE >> sc16.def
+     echo HEAPSIZE     1024 >> sc16.def
+     echo STACKSIZE    8192 >> sc16.def
+
+clean:
+    -del *.obj
+       -del *.exe
+       -del *.res
+       -del *.map
+       -del *.rws
+    -del sc32.def
+    -del sc16.def
+
diff --git a/samples/keyboard/makefile.vc b/samples/keyboard/makefile.vc
new file mode 100644 (file)
index 0000000..a9e1571
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# File:                makefile.vc
+# Author:      Julian Smart
+# Created:     1999
+# Updated:     
+# Copyright:   (c) Julian Smart
+#
+# Makefile : Builds sample (VC++, WIN32)
+# Use FINAL=1 argument to nmake to build final version with no debug info.
+
+# Set WXDIR for your system
+WXDIR = $(WXWIN)
+
+PROGRAM=keyboard
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.vc
+
diff --git a/samples/keyboard/makefile.wat b/samples/keyboard/makefile.wat
new file mode 100644 (file)
index 0000000..1ccb77e
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# Makefile for WATCOM
+#
+# Created by Julian Smart, January 1999
+# 
+#
+
+WXDIR = $(%WXWIN)
+
+PROGRAM = keyboard
+OBJECTS = $(PROGRAM).obj
+
+!include $(WXDIR)\src\makeprog.wat
+
+
index 1ea9ea55d08b02c8123baa5050408dc59195f69d..b73df109e5a3681d735d6d2ae871491b3d1a82da 100644 (file)
@@ -79,6 +79,8 @@ all:
         cd $(WXDIR)\samples\html
         make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
 !endif
+        cd $(WXDIR)\samples\keyboard
+        make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
         cd $(WXDIR)\samples\image
         make -f makefile.b32 FINAL=$(FINAL) WXUSINGDLL=$(WXUSINGDLL)
         cd $(WXDIR)\samples\internat
@@ -225,6 +227,8 @@ clean:
         make -f makefile.b32 clean
         cd $(WXDIR)\samples\internat
         make -f makefile.b32 clean
+        cd $(WXDIR)\samples\keyboard
+        make -f makefile.b32 clean
         cd $(WXDIR)\samples\joytest
         make -f makefile.b32 clean
         cd $(WXDIR)\samples\layout
index 53dfdabefdcf50cfadf58d251c54cc5bb33f58cc..55f17bb06d74aa565f124cda1d756a6efb2d7687 100644 (file)
@@ -50,6 +50,7 @@ all clean:
        -$(MAKE) -C internat $(CMDLINE) $@
        -$(MAKE) -C ipc $(CMDLINE) $@
        -$(MAKE) -C joytest $(CMDLINE) $@
+       -$(MAKE) -C keyboard $(CMDLINE) $@
        -$(MAKE) -C layout $(CMDLINE) $@
        -$(MAKE) -C listbox $(CMDLINE) $@
        -$(MAKE) -C listctrl $(CMDLINE) $@
index 23e878a2e38791c60d6bd12c83688a8c7ac22a71..37954e285f390af35564ed2a5a571cb63e666db4 100644 (file)
@@ -84,6 +84,8 @@ all:
         nmake -f makefile.vc $(MAKEFLAGS)
         cd $(WXDIR)\samples\joytest
         nmake -f makefile.vc $(MAKEFLAGS)
+        cd $(WXDIR)\samples\keyboard
+        nmake -f makefile.vc $(MAKEFLAGS)
         cd $(WXDIR)\samples\layout
         nmake -f makefile.vc $(MAKEFLAGS)
         cd $(WXDIR)\samples\listctrl
@@ -206,6 +208,8 @@ clean:
         nmake -f makefile.vc clean
         cd $(WXDIR)\samples\joytest
         nmake -f makefile.vc clean
+        cd $(WXDIR)\samples\keyboard
+        nmake -f makefile.vc clean
         cd $(WXDIR)\samples\layout
         nmake -f makefile.vc clean
         cd $(WXDIR)\samples\listctrl