blob: 1047510cdd1c71046b11f685e8dad806f281ede8 [file] [log] [blame]
Martin v. Löwiseb68be42004-12-12 15:29:21 +00001# /OPT: REF and ICF are added by VS.NET by default
2# NOWIN98 saves 7k of executable size, at the expense of some
3# slowdown on Win98
4msisupport.dll: msisupport.obj
5 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
6
7# We request a static CRT, so that there will be no CRT dependencies
8# for the target system. We cannot do without a CRT, since it provides
9# the DLL entry point.
10msisupport.obj: msisupport.c
11 cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MT /W3 /c msisupport.c
12