This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

View File

@@ -0,0 +1,81 @@
------------------------------- readme.txt -------------------------------
Wintab(tm) Programmer's Kit V. 1.25 for 16- and 32-bit Windows APIs.
This file contains programmer's kit installation instructions and
programming notes for the WTHOOK project.
Please direct your programming questions and comments to the author:
LCS/Telegraphics
150 Rogers St.
Cambridge, MA 02142
voice: (617) 225-7970
fax: (617) 225-7969
email: wintab@pointing.com
web site: http://www.pointing.com
ftp site: ftp://ftp.pointing.com/pointing/Wintab/
Questions or problems regarding specific devices or device drivers
should be directed to the device manufacturer.
--------------------------------------------------------------------------
MSVC Notes for WTHOOK Project
--------------------------------------------------------------------------
MSVC 4.2 will not be able to compile MFC_DEMO and WTHOOK projects.
MSVC 5.0 will be able to compile all the projects.
Also, please note that the linker warning LNK4098 (to recompile
with the /Nodefaultlib:LIBC option) during the compilationq of Debug
WTHOOK project will not affect the operation of the resulting
executable. This bug concerns all projects linking the WNTAB32X.LIB
and will be fixed in the next version of the Wintab Programmer's Kit.
--------------------------------------------------------------------------
Project Settings for WTKIT
--------------------------------------------------------------------------
All projects require that the LIB and INCLUDE variables point to
the appropriate Windows SDK directories. Also, the WINTAB variable
must point to a tree containing the LIB and INCLUDE subtrees from the
Wintab Programmer's Kit.
For example, in MSVC5.0, under the Tools menu, Options setting,
the WINTAB\INCLUDE directory must be listed as a directory for
Include files, and the WINTAB\LIB\I386 must be listed as a directory
for library files.
Please cleanup intermediate files between builds to different
targets. If you have built the programs from source for one target
environment, and wish to switch to another target, first run the
command NMAKE CLEANALL in the source subdirectories.
--------------------------------------------------------------------------
Keeping in Touch
--------------------------------------------------------------------------
Here are three ways to show your support for the Wintab standard, and
allow us to let people know that your product has Wintab support.
1. When you complete Wintab support in your product, let us know. Be
sure to include the product name, a description, and contact
information for your company.
2. If possible, send us an evaluation copy of your product, or the
portions of it that contain Wintab support. LCS/Telegraphics is
building a library of Wintab-compliant applications for ongoing
compatibility testing.
3. Join the Committee for Advanced Pointing Standards (CAPS). CAPS
formed in August of 1993 to promote and support future development of
the specification. The more than 40 corporate members of CAPS
include most major pointing device manufacturers, and many leading
CAD and graphics arts software developers. To join CAPS, contact:
LCS/Telegraphics
150 Rogers St.
Cambridge, MA 02142
voice: (617) 225-7970
fax: (617) 225-7969
email: caps@pointing.com
web site: http://www.pointing.com

View File

@@ -0,0 +1,14 @@
;;wthkdll.def
LIBRARY "WTHKDLL"
DESCRIPTION 'wintab hook dll'
EXPORTS
RecordHook @100
PlayHook @101
Record @200
Playback @201
get_num_pkts_recorded @202
get_num_pkts_played @203
display_record @204
reset @205

View File

@@ -0,0 +1,121 @@
# Microsoft Developer Studio Project File - Name="wthkdll" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=wthkdll - Win32 Release
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "wthkdll.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wthkdll.mak" CFG="wthkdll - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wthkdll - Win32 Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "wthkdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "wthkdll - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir ".\Release"
# PROP BASE Intermediate_Dir ".\Release"
# PROP BASE Target_Dir "."
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir ".\Release"
# PROP Intermediate_Dir ".\Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir "."
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386
# ADD LINK32 ..\..\..\lib\i386\wintab32.lib ..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386
!ELSEIF "$(CFG)" == "wthkdll - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir ".\Debug"
# PROP BASE Intermediate_Dir ".\Debug"
# PROP BASE Target_Dir "."
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir ".\Debug"
# PROP Intermediate_Dir ".\Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir "."
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386
# ADD LINK32 ..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:I386
# Begin Custom Build
OutDir=.\.\Debug
TargetName=wthkdll
InputPath=.\Debug\wthkdll.dll
SOURCE=$(InputPath)
"debug\$(TargetName).dll" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy $(OutDir)\$(TargetName).dll debug
# End Custom Build
!ENDIF
# Begin Target
# Name "wthkdll - Win32 Release"
# Name "wthkdll - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
# Begin Source File
SOURCE=..\wthkdll.c
# End Source File
# Begin Source File
SOURCE=.\wthkdll.def
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,232 @@
# Microsoft Developer Studio Generated NMAKE File, Based on wthkdll.dsp
!IF "$(CFG)" == ""
CFG=wthkdll - Win32 Release
!MESSAGE No configuration specified. Defaulting to wthkdll - Win32 Release.
!ENDIF
!IF "$(CFG)" != "wthkdll - Win32 Release" && "$(CFG)" !=\
"wthkdll - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "wthkdll.mak" CFG="wthkdll - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wthkdll - Win32 Release" (based on\
"Win32 (x86) Dynamic-Link Library")
!MESSAGE "wthkdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "wthkdll - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\wthkdll.dll"
!ELSE
ALL : "$(OUTDIR)\wthkdll.dll"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(INTDIR)\wthkdll.obj"
-@erase "$(OUTDIR)\wthkdll.dll"
-@erase "$(OUTDIR)\wthkdll.exp"
-@erase "$(OUTDIR)\wthkdll.lib"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
/Fp"$(INTDIR)\wthkdll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Release/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\wthkdll.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=wintab32.lib ..\..\..\lib\i386\wntab32x.lib kernel32.lib\
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\
ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /incremental:no\
/pdb:"$(OUTDIR)\wthkdll.pdb" /machine:I386 /def:".\wthkdll.def"\
/out:"$(OUTDIR)\wthkdll.dll" /implib:"$(OUTDIR)\wthkdll.lib"
DEF_FILE= \
".\wthkdll.def"
LINK32_OBJS= \
"$(INTDIR)\wthkdll.obj"
"$(OUTDIR)\wthkdll.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "wthkdll - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\wthkdll.dll"
!ELSE
ALL : "$(OUTDIR)\wthkdll.dll"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(INTDIR)\vc50.pdb"
-@erase "$(INTDIR)\wthkdll.obj"
-@erase "$(OUTDIR)\wthkdll.dll"
-@erase "$(OUTDIR)\wthkdll.exp"
-@erase "$(OUTDIR)\wthkdll.ilk"
-@erase "$(OUTDIR)\wthkdll.lib"
-@erase "$(OUTDIR)\wthkdll.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
/Fp"$(INTDIR)\wthkdll.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Debug/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\wthkdll.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib\
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib\
uuid.lib /nologo /subsystem:windows /dll /incremental:yes\
/pdb:"$(OUTDIR)\wthkdll.pdb" /debug /machine:I386 /def:".\wthkdll.def"\
/out:"$(OUTDIR)\wthkdll.dll" /implib:"$(OUTDIR)\wthkdll.lib"
DEF_FILE= \
".\wthkdll.def"
LINK32_OBJS= \
"$(INTDIR)\wthkdll.obj"
"$(OUTDIR)\wthkdll.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
OutDir=.\.\Debug
TargetName=wthkdll
InputPath=.\Debug\wthkdll.dll
SOURCE=$(InputPath)
"debug\$(TargetName).dll" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy $(OutDir)\$(TargetName).dll debug
!ENDIF
!IF "$(CFG)" == "wthkdll - Win32 Release" || "$(CFG)" ==\
"wthkdll - Win32 Debug"
SOURCE=..\wthkdll.c
DEP_CPP_WTHKD=\
{$(INCLUDE)}"pktdef.h"\
{$(INCLUDE)}"wintab.h"\
"$(INTDIR)\wthkdll.obj" : $(SOURCE) $(DEP_CPP_WTHKD) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF

View File

@@ -0,0 +1,106 @@
# Microsoft Developer Studio Project File - Name="wthook" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 5.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=wthook - Win32 Release
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "Wthook.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "Wthook.mak" CFG="wthook - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wthook - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "wthook - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "wthook - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir ".\Release"
# PROP BASE Intermediate_Dir ".\Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir ".\Release"
# PROP Intermediate_Dir ".\Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /W3 /GX /O2 /I "..\..\..\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 ..\..\..\lib\i386\wintab32.lib ..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib /nologo /subsystem:windows /machine:I386
!ELSEIF "$(CFG)" == "wthook - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir ".\Debug"
# PROP BASE Intermediate_Dir ".\Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir ".\Debug"
# PROP Intermediate_Dir ".\Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:I386
# ADD LINK32 ..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386
!ENDIF
# Begin Target
# Name "wthook - Win32 Release"
# Name "wthook - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
# Begin Source File
SOURCE=..\wthook.c
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -0,0 +1,44 @@
Microsoft Developer Studio Workspace File, Format Version 5.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "wthkdll"=.\wthkdll.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "wthook"=.\Wthook.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
Begin Project Dependency
Project_Dep_Name wthkdll
End Project Dependency
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -0,0 +1,248 @@
# Microsoft Developer Studio Generated NMAKE File, Based on Wthook.dsp
!IF "$(CFG)" == ""
CFG=wthook - Win32 Release
!MESSAGE No configuration specified. Defaulting to wthook - Win32 Release.
!ENDIF
!IF "$(CFG)" != "wthook - Win32 Release" && "$(CFG)" != "wthook - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "Wthook.mak" CFG="wthook - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "wthook - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "wthook - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "wthook - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\Wthook.exe"
!ELSE
ALL : "wthkdll - Win32 Release" "$(OUTDIR)\Wthook.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"wthkdll - Win32 ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(INTDIR)\wthook.obj"
-@erase "$(OUTDIR)\Wthook.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
/Fp"$(INTDIR)\Wthook.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Release/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Wthook.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=wintab32.lib ..\..\..\lib\i386\wntab32x.lib kernel32.lib\
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\
ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /incremental:no\
/pdb:"$(OUTDIR)\Wthook.pdb" /machine:I386 /out:"$(OUTDIR)\Wthook.exe"
LINK32_OBJS= \
"$(INTDIR)\wthook.obj" \
"$(OUTDIR)\wthkdll.lib"
"$(OUTDIR)\Wthook.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "wthook - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\Wthook.exe"
!ELSE
ALL : "wthkdll - Win32 Debug" "$(OUTDIR)\Wthook.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"wthkdll - Win32 DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(INTDIR)\vc50.pdb"
-@erase "$(INTDIR)\wthook.obj"
-@erase "$(OUTDIR)\Wthook.exe"
-@erase "$(OUTDIR)\Wthook.ilk"
-@erase "$(OUTDIR)\Wthook.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
/Fp"$(INTDIR)\Wthook.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_OBJS=.\Debug/
CPP_SBRS=.
.c{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_OBJS)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(CPP_SBRS)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Wthook.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=..\..\..\lib\i386\wntab32x.lib kernel32.lib user32.lib gdi32.lib\
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib\
uuid.lib /nologo /subsystem:windows /incremental:yes\
/pdb:"$(OUTDIR)\Wthook.pdb" /debug /machine:I386 /out:"$(OUTDIR)\Wthook.exe"
LINK32_OBJS= \
"$(INTDIR)\wthook.obj" \
"$(OUTDIR)\wthkdll.lib"
"$(OUTDIR)\Wthook.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
!IF "$(CFG)" == "wthook - Win32 Release" || "$(CFG)" == "wthook - Win32 Debug"
SOURCE=..\wthook.c
DEP_CPP_WTHOO=\
{$(INCLUDE)}"wintab.h"\
"$(INTDIR)\wthook.obj" : $(SOURCE) $(DEP_CPP_WTHOO) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!IF "$(CFG)" == "wthook - Win32 Release"
"wthkdll - Win32 Release" :
cd "."
$(MAKE) /$(MAKEFLAGS) /F .\wthkdll.mak CFG="wthkdll - Win32 Release"
cd "."
"wthkdll - Win32 ReleaseCLEAN" :
cd "."
$(MAKE) /$(MAKEFLAGS) CLEAN /F .\wthkdll.mak CFG="wthkdll - Win32 Release"\
RECURSE=1
cd "."
!ELSEIF "$(CFG)" == "wthook - Win32 Debug"
"wthkdll - Win32 Debug" :
cd "."
$(MAKE) /$(MAKEFLAGS) /F .\wthkdll.mak CFG="wthkdll - Win32 Debug"
cd "."
"wthkdll - Win32 DebugCLEAN" :
cd "."
$(MAKE) /$(MAKEFLAGS) CLEAN /F .\wthkdll.mak CFG="wthkdll - Win32 Debug"\
RECURSE=1
cd "."
!ENDIF
!ENDIF