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 11include manifest.mn 12 13####################################################################### 14# (2) Include "global" configuration information. (OPTIONAL) # 15####################################################################### 16 17include $(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 29include config.mk 30 31ifeq (,$(filter-out WIN%,$(OS_TARGET))) 32CSRCS += win32err.c 33DEFINES += -DIN_LIBSSL 34else 35ifeq ($(OS_TARGET),OS2) 36CSRCS += os2_err.c 37else 38CSRCS += unix_err.c 39endif 40endif 41 42####################################################################### 43# (5) Execute "global" rules. (OPTIONAL) # 44####################################################################### 45 46include $(CORE_DEPTH)/coreconf/rules.mk 47 48####################################################################### 49# (6) Execute "component" rules. (OPTIONAL) # 50####################################################################### 51 52 53 54####################################################################### 55# (7) Execute "local" rules. (OPTIONAL). # 56####################################################################### 57 58export:: private_export 59 60ifndef NSS_NO_PKCS11_BYPASS 61# indicates dependency on freebl static lib 62$(SHARED_LIBRARY): $(CRYPTOLIB) 63endif 64