From c1ef9cdb4673036e78b3be11a0e295559d8ca2c8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 8 Apr 2002 11:34:40 +0000 Subject: [PATCH] Added further keyboard sample makefiles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/keyboard/makefile.b32 | 16 +++++++++++++++ samples/keyboard/makefile.bcc | 19 ++++++++++++++++++ samples/keyboard/makefile.g95 | 16 +++++++++++++++ samples/keyboard/makefile.sc | 37 +++++++++++++++++++++++++++++++++++ samples/keyboard/makefile.vc | 18 +++++++++++++++++ samples/keyboard/makefile.wat | 15 ++++++++++++++ samples/makefile.b32 | 4 ++++ samples/makefile.g95 | 1 + samples/makefile.vc | 4 ++++ 9 files changed, 130 insertions(+) create mode 100644 samples/keyboard/makefile.b32 create mode 100644 samples/keyboard/makefile.bcc create mode 100644 samples/keyboard/makefile.g95 create mode 100644 samples/keyboard/makefile.sc create mode 100644 samples/keyboard/makefile.vc create mode 100644 samples/keyboard/makefile.wat diff --git a/samples/keyboard/makefile.b32 b/samples/keyboard/makefile.b32 new file mode 100644 index 0000000000..cdd081348d --- /dev/null +++ b/samples/keyboard/makefile.b32 @@ -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 index 0000000000..715d8254c3 --- /dev/null +++ b/samples/keyboard/makefile.bcc @@ -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 index 0000000000..91fc758295 --- /dev/null +++ b/samples/keyboard/makefile.g95 @@ -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 index 0000000000..b85f8d637c --- /dev/null +++ b/samples/keyboard/makefile.sc @@ -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 index 0000000000..a9e157151c --- /dev/null +++ b/samples/keyboard/makefile.vc @@ -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 index 0000000000..1ccb77e514 --- /dev/null +++ b/samples/keyboard/makefile.wat @@ -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 + + diff --git a/samples/makefile.b32 b/samples/makefile.b32 index 1ea9ea55d0..b73df109e5 100644 --- a/samples/makefile.b32 +++ b/samples/makefile.b32 @@ -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 diff --git a/samples/makefile.g95 b/samples/makefile.g95 index 53dfdabefd..55f17bb06d 100644 --- a/samples/makefile.g95 +++ b/samples/makefile.g95 @@ -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) $@ diff --git a/samples/makefile.vc b/samples/makefile.vc index 23e878a2e3..37954e285f 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -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