NMAKE file and .vcxproj file for the installers.
[shibboleth/cpp-sp.git] / msi / WiX / Installer.make
1 all: all32 all64\r
2 \r
3 all32: shibboleth-sp-$(ShibbolethVersion)-win32.msi\r
4 \r
5 all64: shibboleth-sp-$(ShibbolethVersion)-win64.msi\r
6 \r
7 clean32: \r
8         del *-x86.msi *-x86.wixobj *-x86.wixpdb *schemas.wixobj Shibboleth.wixlib\r
9 \r
10 clean64: \r
11         del *-x64.wixobj *-x64.msi *-x64.wixpdb *schemas.wixobj Shibboleth.wixlib\r
12 \r
13 clean: clean32 clean64\r
14 \r
15 rebuild32: clean32 all32\r
16 \r
17 rebuild64: clean64 all64\r
18 \r
19 #\r
20 # MSI\r
21 #\r
22 shibboleth-sp-$(ShibbolethVersion)-win32.msi: ShibbolethSP-main-x86.wixobj Shibboleth.wixlib\r
23         light -sw1055 -sice:ICE82 -o shibboleth-sp-$(ShibbolethVersion)-win32.msi ShibbolethSP-main-x86.wixobj Shibboleth.wixlib -ext WixUtilExtension.dll -ext WixUIExtension  -ext WixIISExtension\r
24         del shibboleth-sp-$(ShibbolethVersion)-win64.msi\r
25 \r
26 shibboleth-sp-$(ShibbolethVersion)-win64.msi: ShibbolethSP-main-x64.wixobj ShibbolethSP-exe-x64.wixobj ShibbolethSP-registry-x64.wixobj  Shibboleth.wixlib\r
27         light -sw1055 -sice:ICE82 -o shibboleth-sp-$(ShibbolethVersion)-win64.msi ShibbolethSP-main-x64.wixobj ShibbolethSP-exe-x64.wixobj ShibbolethSP-registry-x64.wixobj  Shibboleth.wixlib -ext WixUtilExtension.dll -ext WixUIExtension -ext WixIISExtension\r
28 \r
29 #\r
30 # Library\r
31 #\r
32 Shibboleth.wixlib: ShibbolethSP-noarch.wixobj ShibbolethSP-exe-x86.wixobj ShibbolethSP-registry-x86.wixobj  ShibbolethSP-gui.wixobj ShibbolethSP-update-dlg.wixobj ShibbolethSP-install-dlg.wixobj\r
33         lit -pedantic -out  Shibboleth.wixlib ShibbolethSP-noarch.wixobj ShibbolethSP-exe-x86.wixobj ShibbolethSP-registry-x86.wixobj  ShibbolethSP-gui.wixobj ShibbolethSP-update-dlg.wixobj ShibbolethSP-install-dlg.wixobj\r
34 \r
35 #\r
36 # Individual files\r
37 #\r
38 ShibbolethSP-exe-x64.wixobj: ShibbolethSP-exe-x64.wxs ..\..\x64\Release\shibd.exe ..\..\x64\Release\resolvertest.exe ..\..\x64\Release\mdquery.exe ..\..\x64\Release\adfs.so ..\..\x64\Release\adfs-lite.so ..\..\x64\Release\isapi_shib.dll ..\..\x64\Release\mod_shib_22.so ..\..\x64\Release\mod_shib_24.so ..\..\x64\Release\odbc-store.so ..\..\x64\Release\plugins.so ..\..\x64\Release\plugins-lite.so ..\..\x64\Release\shibauthorizer.exe ..\..\x64\Release\shibresponder.exe ..\..\x64\Debug\shibd.exe ..\..\x64\Debug\resolvertest.exe ..\..\x64\Debug\mdquery.exe ..\..\x64\Debug\adfs.so ..\..\x64\Debug\adfs-lite.so ..\..\x64\Debug\isapi_shib.dll ..\..\x64\Debug\mod_shib_22.so ..\..\x64\Debug\mod_shib_24.so ..\..\x64\Debug\odbc-store.so ..\..\x64\Debug\plugins.so ..\..\x64\Debug\plugins-lite.so ..\..\x64\Debug\shibauthorizer.exe ..\..\x64\Debug\shibresponder.exe\r
39         wixcop -indent:2 ShibbolethSP-exe-x64.wxs\r
40         candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-exe-x64.wxs\r
41 \r
42 ShibbolethSP-registry-x64.wixobj: ShibbolethSP-registry-x64.wxs\r
43         wixcop -indent:2 ShibbolethSP-registry-x64.wxs\r
44         candle ShibbolethSP-registry-x64.wxs\r
45 \r
46 ShibbolethSP-noarch.wixobj: ShibbolethSP-noarch.wxs\r
47         wixcop -indent:2 ShibbolethSP-noarch.wxs\r
48         candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-noarch.wxs\r
49 \r
50 ShibbolethSP-exe-x86.wixobj: ShibbolethSP-exe-x86.wxs  ..\..\Release\shibd.exe ..\..\Release\resolvertest.exe ..\..\Release\mdquery.exe ..\..\Release\adfs.so ..\..\Release\adfs-lite.so ..\..\Release\isapi_shib.dll ..\..\Release\mod_shib_20.so ..\..\Release\mod_shib_22.so ..\..\Release\mod_shib_13.so ..\..\Release\mod_shib_24.so  ..\..\Release\nsapi_shib.dll ..\..\Release\odbc-store.so ..\..\Release\plugins.so ..\..\Release\plugins-lite.so ..\..\Release\shibauthorizer.exe ..\..\Release\shibresponder.exe ..\..\Debug\shibd.exe ..\..\Debug\resolvertest.exe ..\..\Debug\mdquery.exe ..\..\Debug\adfs.so ..\..\Debug\adfs-lite.so ..\..\Debug\isapi_shib.dll ..\..\Debug\mod_shib_13.so ..\..\Debug\mod_shib_20.so ..\..\Debug\mod_shib_22.so ..\..\Debug\mod_shib_24.so ..\..\Debug\nsapi_shib.dll ..\..\Debug\odbc-store.so ..\..\Debug\plugins.so ..\..\Debug\plugins-lite.so ..\..\Debug\shibauthorizer.exe ..\..\Debug\shibresponder.exe\r
51         wixcop -indent:2 ShibbolethSP-exe-x86.wxs\r
52         candle -dSPBuildDirectory=$(SolutionDir).. ShibbolethSP-exe-x86.wxs\r
53 \r
54 ShibbolethSP-registry-x86.wixobj: ShibbolethSP-registry-x86.wxs\r
55         wixcop -indent:2 ShibbolethSP-registry-x86.wxs\r
56         candle ShibbolethSP-registry-x86.wxs\r
57 \r
58 ShibbolethSP-gui.wixobj: ShibbolethSP-gui.wxs\r
59         wixcop -indent:2 ShibbolethSP-gui.wxs\r
60         candle ShibbolethSP-gui.wxs\r
61 \r
62 ShibbolethSP-update-dlg.wixobj: ShibbolethSP-update-dlg.wxs\r
63         wixcop -indent:2 ShibbolethSP-update-dlg.wxs\r
64         candle ShibbolethSP-update-dlg.wxs\r
65 \r
66 ShibbolethSP-install-dlg.wixobj: ShibbolethSP-install-dlg.wxs\r
67         wixcop -indent:2 ShibbolethSP-install-dlg.wxs\r
68         candle ShibbolethSP-install-dlg.wxs\r
69 \r
70 ShibbolethSP-main-x64.wixobj: ShibbolethSP-main-x64.wxs MergeModules\Curl-x86.msm MergeModules\FastCGI-x86.msm MergeModules\Log4Shib-x86.msm MergeModules\OpenSAML-x86.msm MergeModules\OpenSAML-schemas.msm MergeModules\OpenSSL-x86.msm MergeModules\Shibboleth-x86.msm MergeModules\Shibboleth-schemas.msm MergeModules\Xerces-x86.msm MergeModules\XmlSec-x86.msm MergeModules\Zlib-x86.msm MergeModules\Curl-x64.msm MergeModules\FastCGI-x64.msm MergeModules\Log4Shib-x64.msm MergeModules\OpenSAML-x64.msm MergeModules\OpenSSL-x64.msm MergeModules\Shibboleth-x64.msm MergeModules\Xerces-x64.msm MergeModules\XmlSec-x64.msm MergeModules\Zlib-x64.msm\r
71 #       wixcop -indent:2 ShibbolethSP-main-x64.wxs\r
72         candle -dSPBuildDirectory=$(SolutionDir)..-dShibbolethVersion=$(ShibbolethVersion) -dShibbolethId64=$(ShibbolethId64) -dShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethSP-main-x64.wxs\r
73 \r
74 ShibbolethSP-main-x86.wixobj: ShibbolethSP-main-x86.wxs MergeModules\Curl-x86.msm MergeModules\FastCGI-x86.msm MergeModules\Log4Shib-x86.msm MergeModules\OpenSAML-x86.msm MergeModules\OpenSAML-schemas.msm MergeModules\OpenSSL-x86.msm MergeModules\Shibboleth-x86.msm MergeModules\Shibboleth-schemas.msm MergeModules\Xerces-x86.msm MergeModules\XmlSec-x86.msm MergeModules\Zlib-x86.msm\r
75 #       wixcop -indent:2 ShibbolethSP-main-x86.wxs\r
76         candle -dSPBuildDirectory=$(SolutionDir).. -dShibbolethVersion=$(ShibbolethVersion) -dShibbolethId32=$(ShibbolethId32) -dShibbolethUpgradeCode=$(ShibbolethUpgradeCode) ShibbolethSP-main-x86.wxs\r