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 #---------------------------------- |
11 | 11 |
12 .SUFFIXES: .msi .wixobj .wxs | 12 .SUFFIXES: .msi .wixobj .wxs |
13 | 13 |
14 Build_Dir_common = ..\build\ # | 14 Build_Dir_common = ..\build\ # |
15 Build_Dir_ia32 = ..\build\ia32\ # comment prevents newline | 15 Build_Dir_ia32 = ..\build\ia32\ # comment prevents newline |
16 Build_Dir_x64 = ..\build\x64\ # | 16 Build_Dir_x64 = ..\build\x64\ # |
17 Configuration = Release Test | 17 Configuration = Release Test |
18 | 18 VERSION = 99.9 |
19 !ifndef VERSION | |
20 !error VERSION parameter is required | |
21 !endif | |
22 | 19 |
23 #--------------------- | 20 #--------------------- |
24 # Default Targets | 21 # Default Targets |
25 # | 22 # |
26 # We change the default rule depending upon the ARCH (architecture) definition. | 23 # We change the default rule depending upon the ARCH (architecture) definition. |
27 #--------------------- | 24 #--------------------- |
28 | 25 |
29 Installer_ia32 = $(Build_Dir_ia32)adblockplusie-$(VERSION)-en-us-ia32.msi | 26 Installer_ia32 = $(Build_Dir_ia32)adblockplusie-$(VERSION)-en-us-ia32.msi |
30 Installer_x64 = $(Build_Dir_x64)adblockplusie-$(VERSION)-en-us-x64.msi | 27 Installer_x64 = $(Build_Dir_x64)adblockplusie-$(VERSION)-en-us-x64.msi |
31 Setup = $(Build_Dir_common)setup-$(VERSION).exe | 28 Setup = $(Build_Dir_common)setup-$(VERSION).exe |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 107 |
111 install-setup: $(Setup) | 108 install-setup: $(Setup) |
112 $(Setup) | 109 $(Setup) |
113 | 110 |
114 #--------------------- | 111 #--------------------- |
115 # Miscellaneous | 112 # Miscellaneous |
116 #--------------------- | 113 #--------------------- |
117 | 114 |
118 clean: | 115 clean: |
119 del $(objects_ia32) | 116 del $(objects_ia32) |
OLD | NEW |