home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 January
/
Chip_2001-01_cd1.bin
/
tema
/
mysql
/
mysql-3.23.28g-win-source.exe
/
test1
/
test1.mak
< prev
Wrap
Text File
|
2000-10-16
|
6KB
|
223 lines
# Microsoft Developer Studio Generated NMAKE File, Based on test1.dsp
!IF "$(CFG)" == ""
CFG=test1 - Win32 Debug
!MESSAGE No configuration specified. Defaulting to test1 - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "test1 - Win32 Release" && "$(CFG)" != "test1 - 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 "test1.mak" CFG="test1 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "test1 - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "test1 - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "test1 - Win32 Release"
OUTDIR=.\release
INTDIR=.\release
# Begin Custom Macros
OutDir=.\release
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\test1.exe"
!ELSE
ALL : "libmySQL - Win32 Release" "$(OUTDIR)\test1.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libmySQL - Win32 ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\mysql_thr.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\test1.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /G6 /ML /W3 /O2 /I "../include" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\test1.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\test1.pdb" /machine:I386 /out:"$(OUTDIR)\test1.exe"
LINK32_OBJS= \
"$(INTDIR)\mysql_thr.obj" \
"..\libmysql\release\libmySQL.lib"
"$(OUTDIR)\test1.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "test1 - Win32 Debug"
OUTDIR=.\debug
INTDIR=.\debug
# Begin Custom Macros
OutDir=.\debug
# End Custom Macros
!IF "$(RECURSE)" == "0"
ALL : "$(OUTDIR)\test1.exe"
!ELSE
ALL : "libmySQL - Win32 Debug" "$(OUTDIR)\test1.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libmySQL - Win32 DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
-@erase "$(INTDIR)\mysql_thr.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\test1.exe"
-@erase "$(OUTDIR)\test1.ilk"
-@erase "$(OUTDIR)\test1.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /G6 /MTd /W3 /Gm /ZI /Od /I "../include" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\test1.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=libmysql.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\test1.pdb" /debug /machine:I386 /out:"$(OUTDIR)\test1.exe" /pdbtype:sept /libpath:"..\lib_debug"
LINK32_OBJS= \
"$(INTDIR)\mysql_thr.obj" \
"..\libmysql\debug\libmySQL.lib"
"$(OUTDIR)\test1.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("test1.dep")
!INCLUDE "test1.dep"
!ELSE
!MESSAGE Warning: cannot find "test1.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "test1 - Win32 Release" || "$(CFG)" == "test1 - Win32 Debug"
!IF "$(CFG)" == "test1 - Win32 Release"
"libmySQL - Win32 Release" :
cd "\MYSQL-3.23\libmysql"
$(MAKE) /$(MAKEFLAGS) /F ".\libmySQL.mak" CFG="libmySQL - Win32 Release"
cd "..\test1"
"libmySQL - Win32 ReleaseCLEAN" :
cd "\MYSQL-3.23\libmysql"
$(MAKE) /$(MAKEFLAGS) /F ".\libmySQL.mak" CFG="libmySQL - Win32 Release" RECURSE=1 CLEAN
cd "..\test1"
!ELSEIF "$(CFG)" == "test1 - Win32 Debug"
"libmySQL - Win32 Debug" :
cd "\MYSQL-3.23\libmysql"
$(MAKE) /$(MAKEFLAGS) /F ".\libmySQL.mak" CFG="libmySQL - Win32 Debug"
cd "..\test1"
"libmySQL - Win32 DebugCLEAN" :
cd "\MYSQL-3.23\libmysql"
$(MAKE) /$(MAKEFLAGS) /F ".\libmySQL.mak" CFG="libmySQL - Win32 Debug" RECURSE=1 CLEAN
cd "..\test1"
!ENDIF
SOURCE=.\mysql_thr.c
!IF "$(CFG)" == "test1 - Win32 Release"
CPP_SWITCHES=/nologo /G6 /MT /W3 /O2 /I "../include" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\mysql_thr.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ELSEIF "$(CFG)" == "test1 - Win32 Debug"
CPP_SWITCHES=/nologo /G6 /MTd /W3 /Gm /ZI /Od /I "../include" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_WINDOWS" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
"$(INTDIR)\mysql_thr.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) @<<
$(CPP_SWITCHES) $(SOURCE)
<<
!ENDIF
!ENDIF