summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msisupport.mak
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-14 20:42:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-14 20:42:55 (GMT)
commit856bf9a4e962ec118bcbfc5150825b256f2b8e2e (patch)
tree6ccc4386886b82a558e7ace3d47a9ab3ff4749e3 /Tools/msi/msisupport.mak
parentcffcfed1263a255386c0da50709d6abc18accaab (diff)
downloadcpython-856bf9a4e962ec118bcbfc5150825b256f2b8e2e.zip
cpython-856bf9a4e962ec118bcbfc5150825b256f2b8e2e.tar.gz
cpython-856bf9a4e962ec118bcbfc5150825b256f2b8e2e.tar.bz2
Add build support for AMD64.
Diffstat (limited to 'Tools/msi/msisupport.mak')
-rw-r--r--Tools/msi/msisupport.mak13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tools/msi/msisupport.mak b/Tools/msi/msisupport.mak
index 1047510..fb960c2 100644
--- a/Tools/msi/msisupport.mak
+++ b/Tools/msi/msisupport.mak
@@ -1,3 +1,6 @@
+!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
@@ -10,3 +13,13 @@ msisupport.dll: msisupport.obj
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
+