| 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
|
|---|
| 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
|
|---|
| 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.
|
|---|
| 13 | msisupport.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 |
|
|---|
| 19 | msisupport.dll: msisupport.obj
|
|---|
| 20 | link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL msisupport.obj msi.lib kernel32.lib
|
|---|
| 21 |
|
|---|
| 22 | msisupport.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.