Makefile (672B)
1 #! gmake 2 # 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 include manifest.mn 8 9 include $(CORE_DEPTH)/coreconf/config.mk 10 11 # NSS_X86 means the target is a 32-bits x86 CPU architecture 12 # NSS_X64 means the target is a 64-bits x64 CPU architecture 13 # NSS_X86_OR_X64 means the target is either x86 or x64 14 ifeq (,$(filter-out i386 x386 x86 x86_64,$(CPU_ARCH))) 15 DEFINES += -DNSS_X86_OR_X64 16 ifdef USE_64 17 DEFINES += -DNSS_X64 18 else 19 DEFINES += -DNSS_X86 20 endif 21 endif 22 23 include $(CORE_DEPTH)/coreconf/rules.mk