Left: | ||
Right: |
OLD | NEW |
---|---|
1 #---------------------------------- | 1 #---------------------------------- |
2 # Makefile for Microsoft NMAKE | 2 # Makefile for Microsoft NMAKE |
3 # | 3 # |
4 # Call with only the version parameter to set the default target to all installe rs. | 4 # Call with only the version parameter to set the default target to all installe rs. |
5 # nmake VERSION=1.2.3 | 5 # nmake VERSION=1.2.3 |
6 # Call with a definition of the NMAKE variable ARCH on the command line | 6 # Call with a definition of the NMAKE variable ARCH on the command line |
7 # nmake VERSION=1.2.3 ARCH=ia32 | 7 # nmake VERSION=1.2.3 ARCH=ia32 |
8 # nmake VERSION=1.2.3 ARCH=x64 | 8 # nmake VERSION=1.2.3 ARCH=x64 |
9 # If an architecture is specified, the default target is constrained to it. | 9 # If an architecture is specified, the default target is constrained to it. |
10 #---------------------------------- | 10 #---------------------------------- |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 #--------------------- | 56 #--------------------- |
57 | 57 |
58 Candle = candle -nologo -dNoDefault -dVersion=$(VERSION) "-dConfiguration=$(Conf iguration)" $(CANDLE_FLAGS) $(*F).wxs -out $@ | 58 Candle = candle -nologo -dNoDefault -dVersion=$(VERSION) "-dConfiguration=$(Conf iguration)" $(CANDLE_FLAGS) $(*F).wxs -out $@ |
59 .wxs{$(Build_Dir_common)}.wixobj: | 59 .wxs{$(Build_Dir_common)}.wixobj: |
60 $(Candle) | 60 $(Candle) |
61 .wxs{$(Build_Dir_ia32)}.wixobj: | 61 .wxs{$(Build_Dir_ia32)}.wixobj: |
62 $(Candle) -arch x86 | 62 $(Candle) -arch x86 |
63 .wxs{$(Build_Dir_x64)}.wixobj: | 63 .wxs{$(Build_Dir_x64)}.wixobj: |
64 $(Candle) -arch x64 | 64 $(Candle) -arch x64 |
65 | 65 |
66 objects_common = $(Build_Dir_common)custom_WixUI_InstallDir.wixobj | 66 objects_common = $(Build_Dir_common)custom_WixUI_InstallDir-$(VERSION).wixobj |
67 objects_ia32 = $(Build_Dir_ia32)adblockplusie.wixobj $(objects_common) | 67 objects_ia32 = $(Build_Dir_ia32)adblockplusie-$(VERSION).wixobj $(objects_common ) |
68 objects_x64 = $(Build_Dir_x64)adblockplusie.wixobj $(objects_common) | 68 objects_x64 = $(Build_Dir_x64)adblockplusie-$(VERSION).wixobj $(objects_common) |
Eric
2013/06/14 14:39:10
I don't think $(objects_ia32) and $(objects_x64) w
| |
69 | 69 |
70 object_setup = $(Build_Dir_common)setup.wixobj | 70 object_setup = $(Build_Dir_common)setup-$(VERSION).wixobj |
Eric
2013/06/14 14:39:10
This one will work because there's an explicit dep
| |
71 $(object_setup): setup.wxs | 71 $(object_setup): setup.wxs |
72 $(Candle) -ext WixBalExtension | 72 $(Candle) -ext WixBalExtension |
73 | 73 |
74 #--------------------- | 74 #--------------------- |
75 # light .wixobj --> .msi | 75 # light .wixobj --> .msi |
76 #--------------------- | 76 #--------------------- |
77 | 77 |
78 Light = light -notidy -nologo -cultures:en-us -loc en-us.wxl -ext WixUIExtension -out $@ | 78 Light = light -notidy -nologo -cultures:en-us -loc en-us.wxl -ext WixUIExtension -out $@ |
79 | 79 |
80 $(Installer_ia32): $(objects_ia32) "..\build\ia32\$(Configuration)\AdblockPlus.d ll" | 80 $(Installer_ia32): $(objects_ia32) "..\build\ia32\$(Configuration)\AdblockPlus.d ll" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 | 113 |
114 install-setup: $(Setup) | 114 install-setup: $(Setup) |
115 $(Setup) | 115 $(Setup) |
116 | 116 |
117 #--------------------- | 117 #--------------------- |
118 # Miscellaneous | 118 # Miscellaneous |
119 #--------------------- | 119 #--------------------- |
120 | 120 |
121 clean: | 121 clean: |
122 del $(objects_ia32) | 122 del $(objects_ia32) |
OLD | NEW |