| OLD | NEW |
| (Empty) |
| 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 include config.mk | |
| 30 | |
| 31 ifeq (,$(filter-out WIN%,$(OS_TARGET))) | |
| 32 CSRCS += win32err.c | |
| 33 DEFINES += -DIN_LIBSSL | |
| 34 else | |
| 35 ifeq ($(OS_TARGET),OS2) | |
| 36 CSRCS += os2_err.c | |
| 37 else | |
| 38 CSRCS += unix_err.c | |
| 39 endif | |
| 40 endif | |
| 41 | |
| 42 ####################################################################### | |
| 43 # (5) Execute "global" rules. (OPTIONAL) # | |
| 44 ####################################################################### | |
| 45 | |
| 46 include $(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 | |
| 58 export:: private_export | |
| 59 | |
| 60 ifndef NSS_NO_PKCS11_BYPASS | |
| 61 # indicates dependency on freebl static lib | |
| 62 $(SHARED_LIBRARY): $(CRYPTOLIB) | |
| 63 endif | |
| OLD | NEW |