Makefile (2022B)
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 ifeq (,$(filter-out WIN%,$(OS_TARGET))) 24 EXTRA_LIBS += $(DIST)/lib/crmf.lib 25 else 26 EXTRA_LIBS += $(DIST)/lib/libcrmf.$(LIB_SUFFIX) 27 endif 28 29 ####################################################################### 30 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 31 ####################################################################### 32 33 include ../platlibs.mk 34 35 36 ####################################################################### 37 # (5) Execute "global" rules. (OPTIONAL) # 38 ####################################################################### 39 40 include $(CORE_DEPTH)/coreconf/rules.mk 41 42 ####################################################################### 43 # (6) Execute "component" rules. (OPTIONAL) # 44 ####################################################################### 45 46 47 48 ####################################################################### 49 # (7) Execute "local" rules. (OPTIONAL). # 50 ####################################################################### 51 52 include ../platrules.mk