|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 # |
|
7 # Override TARGETS variable so that only static libraries |
|
8 # are specifed as dependencies within rules.mk. |
|
9 # |
|
10 |
|
11 TARGETS = $(LIBRARY) |
|
12 SHARED_LIBRARY = |
|
13 IMPORT_LIBRARY = |
|
14 PROGRAM = |
|
15 |
|
16 # NSS_X86 means the target is a 32-bits x86 CPU architecture |
|
17 # NSS_X64 means the target is a 64-bits x64 CPU architecture |
|
18 # NSS_X86_OR_X64 means the target is either x86 or x64 |
|
19 ifeq (,$(filter-out i386 x386 x86 x86_64,$(CPU_ARCH))) |
|
20 DEFINES += -DNSS_X86_OR_X64 |
|
21 ifdef USE_64 |
|
22 DEFINES += -DNSS_X64 |
|
23 else |
|
24 DEFINES += -DNSS_X86 |
|
25 endif |
|
26 endif |