MySQL的ODBC接口程序源代码
源代码在线查看: lib.mak
# Microsoft Developer Studio Generated NMAKE File, Based on lib.dsp
!IF "$(CFG)" == ""
CFG=lib - Win32 Debug
!MESSAGE No configuration specified. Defaulting to lib - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "lib - Win32 Release" && "$(CFG)" != "lib - 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 "lib.mak" CFG="lib - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "lib - Win32 Release" (based on "Win32 (x86) Static Library")
!MESSAGE "lib - Win32 Debug" (based on "Win32 (x86) Static Library")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "lib - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\.\Release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\lib.lib"
!ELSE
ALL : "$(OUTDIR)\lib.lib"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\errmsg.obj"
-@erase "$(INTDIR)\libmysql.obj"
-@erase "$(INTDIR)\net.obj"
-@erase "$(INTDIR)\password.obj"
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(OUTDIR)\lib.lib"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /G5 /MT /W3 /GX /O2 /I "..\include" /D "DBUG_OFF" /D "WIN32"\
/D "NDEBUG" /D "_WINDOWS" /D "ENGLISH" /Fp"$(INTDIR)\lib.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) $<
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\lib.bsc"
BSC32_SBRS= \
LIB32=link.exe -lib
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\lib.lib"
LIB32_OBJS= \
"$(INTDIR)\errmsg.obj" \
"$(INTDIR)\libmysql.obj" \
"$(INTDIR)\net.obj" \
"$(INTDIR)\password.obj"
"$(OUTDIR)\lib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
$(LIB32) @ $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
!ELSEIF "$(CFG)" == "lib - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\.\Debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\lib.lib"
!ELSE
ALL : "$(OUTDIR)\lib.lib"
!ENDIF
CLEAN :
-@erase "$(INTDIR)\errmsg.obj"
-@erase "$(INTDIR)\libmysql.obj"
-@erase "$(INTDIR)\net.obj"
-@erase "$(INTDIR)\password.obj"
-@erase "$(INTDIR)\vc50.idb"
-@erase "$(OUTDIR)\lib.lib"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /G5 /MTd /W3 /GX /Z7 /Od /I "..\include" /D "WIN32" /D\
"_DEBUG" /D "_WINDOWS" /D "ENGLISH" /D "SAFEMALLOC" /Fp"$(INTDIR)\lib.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) $<
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\lib.bsc"
BSC32_SBRS= \
LIB32=link.exe -lib
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\lib.lib"
LIB32_OBJS= \
"$(INTDIR)\errmsg.obj" \
"$(INTDIR)\libmysql.obj" \
"$(INTDIR)\net.obj" \
"$(INTDIR)\password.obj"
"$(OUTDIR)\lib.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
$(LIB32) @ $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
!ENDIF
!IF "$(CFG)" == "lib - Win32 Release" || "$(CFG)" == "lib - Win32 Debug"
SOURCE=.\errmsg.c
DEP_CPP_ERRMS=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\my_sys.h"\
"..\include\s-msdos.h"\
".\errmsg.h"\
"$(INTDIR)\errmsg.obj" : $(SOURCE) $(DEP_CPP_ERRMS) "$(INTDIR)"
SOURCE=.\libmysql.c
!IF "$(CFG)" == "lib - Win32 Release"
DEP_CPP_LIBMY=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_ctype.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
".\errmsg.h"\
"$(INTDIR)\libmysql.obj" : $(SOURCE) $(DEP_CPP_LIBMY) "$(INTDIR)"
!ELSEIF "$(CFG)" == "lib - Win32 Debug"
DEP_CPP_LIBMY=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_ctype.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
".\errmsg.h"\
"$(INTDIR)\libmysql.obj" : $(SOURCE) $(DEP_CPP_LIBMY) "$(INTDIR)"
!ENDIF
SOURCE=.\net.c
!IF "$(CFG)" == "lib - Win32 Release"
DEP_CPP_NET_C=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
"$(INTDIR)\net.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)"
!ELSEIF "$(CFG)" == "lib - Win32 Debug"
DEP_CPP_NET_C=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
"$(INTDIR)\net.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)"
!ENDIF
SOURCE=.\password.c
!IF "$(CFG)" == "lib - Win32 Release"
DEP_CPP_PASSW=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
"$(INTDIR)\password.obj" : $(SOURCE) $(DEP_CPP_PASSW) "$(INTDIR)"
!ELSEIF "$(CFG)" == "lib - Win32 Debug"
DEP_CPP_PASSW=\
"..\include\dbug.h"\
"..\include\global.h"\
"..\include\m-pc.h"\
"..\include\m_string.h"\
"..\include\my_sys.h"\
"..\include\mysql.h"\
"..\include\mysql_com.h"\
"..\include\mysql_version.h"\
"..\include\s-msdos.h"\
"$(INTDIR)\password.obj" : $(SOURCE) $(DEP_CPP_PASSW) "$(INTDIR)"
!ENDIF
!ENDIF