source: trunk/essentials/dev-lang/python/Tools/msi/msisupport.mak

Last change on this file was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 913 bytes
Line 
1!IF "$(CPU)" == ""
2# VS environment
3
4# /OPT: REF and ICF are added by VS.NET by default
5# NOWIN98 saves 7k of executable size, at the expense of some
6# slowdown on Win98
7msisupport.dll: msisupport.obj
8 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
9
10# We request a static CRT, so that there will be no CRT dependencies
11# for the target system. We cannot do without a CRT, since it provides
12# the DLL entry point.
13msisupport.obj: msisupport.c
14 cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MT /W3 /c msisupport.c
15
16!ELSE
17# SDK environment: assume all options are already correct
18
19msisupport.dll: msisupport.obj
20 link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL msisupport.obj msi.lib kernel32.lib
21
22msisupport.obj: msisupport.c
23 cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MD /W3 /GS- /c msisupport.c
24!ENDIF
25
Note: See TracBrowser for help on using the repository browser.