summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msisupport.mak
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-12-12 15:29:21 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-12-12 15:29:21 (GMT)
commiteb68be465fcce88f39505ddc1c9e583c3c8f8125 (patch)
tree207b45fb4c8874a41de5ee5277b8f7fed906ac93 /Tools/msi/msisupport.mak
parenta4a8afb4e1fe9a2a314f57d82310c28ac8e31132 (diff)
downloadcpython-eb68be465fcce88f39505ddc1c9e583c3c8f8125.zip
cpython-eb68be465fcce88f39505ddc1c9e583c3c8f8125.tar.gz
cpython-eb68be465fcce88f39505ddc1c9e583c3c8f8125.tar.bz2
Replace VB with VC.
Diffstat (limited to 'Tools/msi/msisupport.mak')
-rw-r--r--Tools/msi/msisupport.mak12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tools/msi/msisupport.mak b/Tools/msi/msisupport.mak
new file mode 100644
index 0000000..1047510
--- /dev/null
+++ b/Tools/msi/msisupport.mak
@@ -0,0 +1,12 @@
+# /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
+