4 # /OPT: REF and ICF are added by VS.NET by default
5 # NOWIN98 saves 7k of executable size, at the expense of some
7 msisupport.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
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.
13 msisupport.obj
: msisupport.c
14 cl
/O2
/D WIN32
/D NDEBUG
/D _WINDOWS
/MT
/W3
/c msisupport.c
17 # SDK environment: assume all options are already correct
19 msisupport.dll
: msisupport.obj
20 link.exe
/OUT
:msisupport.dll
/INCREMENTAL
:NO
/NOLOGO
/DLL msisupport.obj msi.lib kernel32.lib
22 msisupport.obj
: msisupport.c
23 cl
/O2
/D WIN32
/D NDEBUG
/D _WINDOWS
/MD
/W3
/GS-
/c msisupport.c