Makefile (2214B)
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 ($(OS_TARGET)$(OS_RELEASE), AIX4.2) 24 OS_LIBS += -lsvld 25 endif 26 27 ifeq ($(OS_TARGET)$(OS_RELEASE), SunOS5.6) 28 OS_LIBS += -ldl -lxnet -lposix4 -lsocket -lnsl 29 endif 30 31 EXTRA_LIBS += $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) 32 33 ####################################################################### 34 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 35 ####################################################################### 36 37 include ../platlibs.mk 38 39 ####################################################################### 40 # (5) Execute "global" rules. (OPTIONAL) # 41 ####################################################################### 42 43 include $(CORE_DEPTH)/coreconf/rules.mk 44 45 ####################################################################### 46 # (6) Execute "component" rules. (OPTIONAL) # 47 ####################################################################### 48 49 50 51 ####################################################################### 52 # (7) Execute "local" rules. (OPTIONAL). # 53 ####################################################################### 54 55 LDDIST = $(DIST)/lib 56 57 ifeq (,$(filter-out WIN%,$(OS_TARGET))) 58 EXTRA_LIBS += $(LDDIST)/sectool.lib 59 endif 60 61 include ../platrules.mk