Makefile (2084B)
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 ####################################################################### 8 # (1) Include initial platform-independent assignments (MANDATORY). # 9 ####################################################################### 10 11 include manifest.mn 12 13 ####################################################################### 14 # (2) Include "global" configuration information. (OPTIONAL) # 15 ####################################################################### 16 17 include $(CORE_DEPTH)/coreconf/config.mk 18 19 ####################################################################### 20 # (3) Include "component" configuration information. (OPTIONAL) # 21 ####################################################################### 22 23 24 25 ####################################################################### 26 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 27 ####################################################################### 28 29 # Don't build sysinit gtests unless we are also building libnsssysinit. 30 # See lib/Makefile for the corresponding rules. 31 ifndef MOZILLA_CLIENT 32 ifeq ($(OS_ARCH),Linux) 33 ifneq ($(NSS_BUILD_UTIL_ONLY),1) 34 SYSINIT_GTEST=sysinit_gtest 35 endif 36 endif 37 endif 38 39 40 ####################################################################### 41 # (5) Execute "global" rules. (OPTIONAL) # 42 ####################################################################### 43 44 include $(CORE_DEPTH)/coreconf/rules.mk 45 46 ####################################################################### 47 # (6) Execute "component" rules. (OPTIONAL) # 48 ####################################################################### 49 50 51 52 ####################################################################### 53 # (7) Execute "local" rules. (OPTIONAL). # 54 #######################################################################