michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # michael@0: # Override TARGETS variable so that only static libraries michael@0: # are specifed as dependencies within rules.mk. michael@0: # michael@0: michael@0: TARGETS = $(LIBRARY) michael@0: SHARED_LIBRARY = michael@0: IMPORT_LIBRARY = michael@0: PROGRAM = michael@0: michael@0: # NSS_X86 means the target is a 32-bits x86 CPU architecture michael@0: # NSS_X64 means the target is a 64-bits x64 CPU architecture michael@0: # NSS_X86_OR_X64 means the target is either x86 or x64 michael@0: ifeq (,$(filter-out i386 x386 x86 x86_64,$(CPU_ARCH))) michael@0: DEFINES += -DNSS_X86_OR_X64 michael@0: ifdef USE_64 michael@0: DEFINES += -DNSS_X64 michael@0: else michael@0: DEFINES += -DNSS_X86 michael@0: endif michael@0: endif