polygon.mak

来自「几个关于网络编程的程序」· MAK 代码 · 共 940 行 · 第 1/2 页

MAK
940
字号
# Microsoft Developer Studio Generated NMAKE File, Based on Polygon.dsp
!IF "$(CFG)" == ""
CFG=Polygon - Win32 Debug
!MESSAGE No configuration specified. Defaulting to Polygon - Win32 Debug.
!ENDIF 

!IF "$(CFG)" != "Polygon - Win32 Debug" && "$(CFG)" != "Polygon - Win32 Unicode Debug" && "$(CFG)" != "Polygon - Win32 Release MinSize" && "$(CFG)" != "Polygon - Win32 Release MinDependency" && "$(CFG)" != "Polygon - Win32 Unicode Release MinSize" && "$(CFG)" != "Polygon - Win32 Unicode Release MinDependency"
!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 "Polygon.mak" CFG="Polygon - Win32 Debug"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
!MESSAGE "Polygon - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Polygon - Win32 Unicode Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Polygon - Win32 Release MinSize" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Polygon - Win32 Release MinDependency" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Polygon - Win32 Unicode Release MinSize" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "Polygon - Win32 Unicode Release MinDependency" (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)" == "Polygon - Win32 Debug"

OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros

ALL : "$(OUTDIR)\Polygon.dll" ".\Polygon.tlb" ".\Polygon.h" ".\Polygon_i.c" "$(OUTDIR)\Polygon.bsc" ".\Debug\regsvr32.trg"


CLEAN :
	-@erase "$(INTDIR)\PolyCtl.obj"
	-@erase "$(INTDIR)\PolyCtl.sbr"
	-@erase "$(INTDIR)\Polygon.obj"
	-@erase "$(INTDIR)\Polygon.pch"
	-@erase "$(INTDIR)\Polygon.res"
	-@erase "$(INTDIR)\Polygon.sbr"
	-@erase "$(INTDIR)\PolyProp.obj"
	-@erase "$(INTDIR)\PolyProp.sbr"
	-@erase "$(INTDIR)\StdAfx.obj"
	-@erase "$(INTDIR)\StdAfx.sbr"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(INTDIR)\vc60.pdb"
	-@erase "$(OUTDIR)\Polygon.bsc"
	-@erase "$(OUTDIR)\Polygon.dll"
	-@erase "$(OUTDIR)\Polygon.exp"
	-@erase "$(OUTDIR)\Polygon.ilk"
	-@erase "$(OUTDIR)\Polygon.lib"
	-@erase "$(OUTDIR)\Polygon.pdb"
	-@erase ".\Polygon.h"
	-@erase ".\Polygon.tlb"
	-@erase ".\Polygon_i.c"
	-@erase ".\Debug\regsvr32.trg"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MTd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\Polygon.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 

.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) $< 
<<

MTL=midl.exe
MTL_PROJ=
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\Polygon.res" /d "_DEBUG" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Polygon.bsc" 
BSC32_SBRS= \
	"$(INTDIR)\PolyCtl.sbr" \
	"$(INTDIR)\Polygon.sbr" \
	"$(INTDIR)\PolyProp.sbr" \
	"$(INTDIR)\StdAfx.sbr"

"$(OUTDIR)\Polygon.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
    $(BSC32) @<<
  $(BSC32_FLAGS) $(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:windows /dll /incremental:yes /pdb:"$(OUTDIR)\Polygon.pdb" /debug /machine:I386 /def:".\Polygon.def" /out:"$(OUTDIR)\Polygon.dll" /implib:"$(OUTDIR)\Polygon.lib" /pdbtype:sept 
DEF_FILE= \
	".\Polygon.def"
LINK32_OBJS= \
	"$(INTDIR)\PolyCtl.obj" \
	"$(INTDIR)\Polygon.obj" \
	"$(INTDIR)\PolyProp.obj" \
	"$(INTDIR)\StdAfx.obj" \
	"$(INTDIR)\Polygon.res"

"$(OUTDIR)\Polygon.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

OutDir=.\Debug
TargetPath=.\Debug\Polygon.dll
InputPath=.\Debug\Polygon.dll
SOURCE="$(InputPath)"

"$(OUTDIR)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
	<<tempfile.bat 
	@echo off 
	regsvr32 /s /c "$(TargetPath)" 
	echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" 
<< 
	

!ELSEIF  "$(CFG)" == "Polygon - Win32 Unicode Debug"

OUTDIR=.\DebugU
INTDIR=.\DebugU
# Begin Custom Macros
OutDir=.\DebugU
# End Custom Macros

ALL : "$(OUTDIR)\Polygon.dll" ".\Polygon.tlb" ".\Polygon.h" ".\Polygon_i.c" ".\DebugU\regsvr32.trg"


CLEAN :
	-@erase "$(INTDIR)\PolyCtl.obj"
	-@erase "$(INTDIR)\Polygon.obj"
	-@erase "$(INTDIR)\Polygon.pch"
	-@erase "$(INTDIR)\Polygon.res"
	-@erase "$(INTDIR)\PolyProp.obj"
	-@erase "$(INTDIR)\StdAfx.obj"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(INTDIR)\vc60.pdb"
	-@erase "$(OUTDIR)\Polygon.dll"
	-@erase "$(OUTDIR)\Polygon.exp"
	-@erase "$(OUTDIR)\Polygon.ilk"
	-@erase "$(OUTDIR)\Polygon.lib"
	-@erase "$(OUTDIR)\Polygon.pdb"
	-@erase ".\Polygon.h"
	-@erase ".\Polygon.tlb"
	-@erase ".\Polygon_i.c"
	-@erase ".\DebugU\regsvr32.trg"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MTd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_UNICODE" /Fp"$(INTDIR)\Polygon.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 

.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) $< 
<<

MTL=midl.exe
MTL_PROJ=
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\Polygon.res" /d "_DEBUG" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Polygon.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:windows /dll /incremental:yes /pdb:"$(OUTDIR)\Polygon.pdb" /debug /machine:I386 /def:".\Polygon.def" /out:"$(OUTDIR)\Polygon.dll" /implib:"$(OUTDIR)\Polygon.lib" /pdbtype:sept 
DEF_FILE= \
	".\Polygon.def"
LINK32_OBJS= \
	"$(INTDIR)\PolyCtl.obj" \
	"$(INTDIR)\Polygon.obj" \
	"$(INTDIR)\PolyProp.obj" \
	"$(INTDIR)\StdAfx.obj" \
	"$(INTDIR)\Polygon.res"

"$(OUTDIR)\Polygon.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

OutDir=.\DebugU
TargetPath=.\DebugU\Polygon.dll
InputPath=.\DebugU\Polygon.dll
SOURCE="$(InputPath)"

"$(OUTDIR)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
	<<tempfile.bat 
	@echo off 
	if "%OS%"=="" goto NOTNT 
	if not "%OS%"=="Windows_NT" goto NOTNT 
	regsvr32 /s /c "$(TargetPath)" 
	echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" 
	goto end 
	:NOTNT 
	Warning : Cannot register Unicode DLL on Windows 95 
	:end 
<< 
	

!ELSEIF  "$(CFG)" == "Polygon - Win32 Release MinSize"

OUTDIR=.\ReleaseMinSize
INTDIR=.\ReleaseMinSize
# Begin Custom Macros
OutDir=.\ReleaseMinSize
# End Custom Macros

ALL : "$(OUTDIR)\Polygon.dll" ".\Polygon.tlb" ".\Polygon.h" ".\Polygon_i.c" ".\ReleaseMinSize\regsvr32.trg"


CLEAN :
	-@erase "$(INTDIR)\PolyCtl.obj"
	-@erase "$(INTDIR)\Polygon.obj"
	-@erase "$(INTDIR)\Polygon.pch"
	-@erase "$(INTDIR)\Polygon.res"
	-@erase "$(INTDIR)\PolyProp.obj"
	-@erase "$(INTDIR)\StdAfx.obj"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(OUTDIR)\Polygon.dll"
	-@erase "$(OUTDIR)\Polygon.exp"
	-@erase "$(OUTDIR)\Polygon.lib"
	-@erase ".\Polygon.h"
	-@erase ".\Polygon.tlb"
	-@erase ".\Polygon_i.c"
	-@erase ".\ReleaseMinSize\regsvr32.trg"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MT /W3 /O1 /D "_MBCS" /D "_ATL_DLL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /Fp"$(INTDIR)\Polygon.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 

.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) $< 
<<

MTL=midl.exe
MTL_PROJ=
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\Polygon.res" /d "NDEBUG" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Polygon.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:windows /dll /incremental:no /pdb:"$(OUTDIR)\Polygon.pdb" /machine:I386 /def:".\Polygon.def" /out:"$(OUTDIR)\Polygon.dll" /implib:"$(OUTDIR)\Polygon.lib" 
DEF_FILE= \
	".\Polygon.def"
LINK32_OBJS= \
	"$(INTDIR)\PolyCtl.obj" \
	"$(INTDIR)\Polygon.obj" \
	"$(INTDIR)\PolyProp.obj" \
	"$(INTDIR)\StdAfx.obj" \
	"$(INTDIR)\Polygon.res"

"$(OUTDIR)\Polygon.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

OutDir=.\ReleaseMinSize
TargetPath=.\ReleaseMinSize\Polygon.dll
InputPath=.\ReleaseMinSize\Polygon.dll
SOURCE="$(InputPath)"

"$(OUTDIR)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
	<<tempfile.bat 
	@echo off 
	regsvr32 /s /c "$(TargetPath)" 
	echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" 
<< 
	

!ELSEIF  "$(CFG)" == "Polygon - Win32 Release MinDependency"

OUTDIR=.\ReleaseMinDependency
INTDIR=.\ReleaseMinDependency
# Begin Custom Macros
OutDir=.\ReleaseMinDependency
# End Custom Macros

ALL : "$(OUTDIR)\Polygon.dll" ".\Polygon.tlb" ".\Polygon.h" ".\Polygon_i.c" ".\ReleaseMinDependency\regsvr32.trg"


CLEAN :
	-@erase "$(INTDIR)\PolyCtl.obj"
	-@erase "$(INTDIR)\Polygon.obj"
	-@erase "$(INTDIR)\Polygon.pch"
	-@erase "$(INTDIR)\Polygon.res"
	-@erase "$(INTDIR)\PolyProp.obj"
	-@erase "$(INTDIR)\StdAfx.obj"
	-@erase "$(INTDIR)\vc60.idb"
	-@erase "$(OUTDIR)\Polygon.dll"
	-@erase "$(OUTDIR)\Polygon.exp"
	-@erase "$(OUTDIR)\Polygon.lib"
	-@erase ".\Polygon.h"
	-@erase ".\Polygon.tlb"
	-@erase ".\Polygon_i.c"
	-@erase ".\ReleaseMinDependency\regsvr32.trg"

"$(OUTDIR)" :
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

CPP=cl.exe
CPP_PROJ=/nologo /MT /W3 /O1 /D "_MBCS" /D "_ATL_STATIC_REGISTRY" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /Fp"$(INTDIR)\Polygon.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 

.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) $< 
<<

MTL=midl.exe
MTL_PROJ=
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\Polygon.res" /d "NDEBUG" 
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\Polygon.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:windows /dll /incremental:no /pdb:"$(OUTDIR)\Polygon.pdb" /machine:I386 /def:".\Polygon.def" /out:"$(OUTDIR)\Polygon.dll" /implib:"$(OUTDIR)\Polygon.lib" 
DEF_FILE= \
	".\Polygon.def"
LINK32_OBJS= \
	"$(INTDIR)\PolyCtl.obj" \
	"$(INTDIR)\Polygon.obj" \
	"$(INTDIR)\PolyProp.obj" \
	"$(INTDIR)\StdAfx.obj" \
	"$(INTDIR)\Polygon.res"

"$(OUTDIR)\Polygon.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
    $(LINK32) @<<
  $(LINK32_FLAGS) $(LINK32_OBJS)
<<

OutDir=.\ReleaseMinDependency
TargetPath=.\ReleaseMinDependency\Polygon.dll
InputPath=.\ReleaseMinDependency\Polygon.dll
SOURCE="$(InputPath)"

"$(OUTDIR)\regsvr32.trg" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
	<<tempfile.bat 
	@echo off 
	regsvr32 /s /c "$(TargetPath)" 
	echo regsvr32 exec. time > "$(OutDir)\regsvr32.trg" 
<< 
	

!ELSEIF  "$(CFG)" == "Polygon - Win32 Unicode Release MinSize"

OUTDIR=.\ReleaseUMinSize
INTDIR=.\ReleaseUMinSize
# Begin Custom Macros
OutDir=.\ReleaseUMinSize
# End Custom Macros

ALL : "$(OUTDIR)\Polygon.dll" ".\Polygon.tlb" ".\Polygon.h" ".\Polygon_i.c" ".\ReleaseUMinSize\regsvr32.trg"


CLEAN :
	-@erase "$(INTDIR)\PolyCtl.obj"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?