Staging
v0.5.1
https://github.com/python/cpython
Revision 4251481ed9ff0abb20c7e709d1b13385d3a7ce68 authored by Georg Brandl on 05 May 2008, 21:05:32 UTC, committed by Georg Brandl on 05 May 2008, 21:05:32 UTC
1 parent de2b00e
Raw File
Tip revision: 4251481ed9ff0abb20c7e709d1b13385d3a7ce68 authored by Georg Brandl on 05 May 2008, 21:05:32 UTC
#2761: Some are types too.
Tip revision: 4251481
msisupport.mak
!IF "$(CPU)" == ""
# VS environment

# /OPT: REF and ICF are added by VS.NET by default
# NOWIN98 saves 7k of executable size, at the expense of some
# slowdown on Win98
msisupport.dll:	msisupport.obj
	link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL /MACHINE:X86 /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /OPT:NOWIN98 msisupport.obj msi.lib kernel32.lib

# We request a static CRT, so that there will be no CRT dependencies
# for the target system. We cannot do without a CRT, since it provides
# the DLL entry point.
msisupport.obj:	msisupport.c
	cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MT /W3 /c msisupport.c

!ELSE
# SDK environment: assume all options are already correct

msisupport.dll:	msisupport.obj
	link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL msisupport.obj msi.lib kernel32.lib

msisupport.obj:	msisupport.c
	cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MD /W3 /GS- /c msisupport.c
!ENDIF

back to top