michael@0: #! gmake michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: ####################################################################### michael@0: # (1) Include initial platform-independent assignments (MANDATORY). # michael@0: ####################################################################### michael@0: michael@0: include manifest.mn michael@0: michael@0: ####################################################################### michael@0: # (2) Include "global" configuration information. (OPTIONAL) # michael@0: ####################################################################### michael@0: michael@0: include $(CORE_DEPTH)/coreconf/config.mk michael@0: michael@0: ####################################################################### michael@0: # (3) Include "component" configuration information. (OPTIONAL) # michael@0: ####################################################################### michael@0: michael@0: michael@0: michael@0: ####################################################################### michael@0: # (4) Include "local" platform-dependent assignments (OPTIONAL). # michael@0: ####################################################################### michael@0: include config.mk michael@0: michael@0: ifeq ($(OS_TARGET)$(OS_RELEASE), AIX4.2) michael@0: OS_LIBS += -lsvld michael@0: endif michael@0: michael@0: ifeq ($(OS_TARGET)$(OS_RELEASE), SunOS5.6) michael@0: OS_LIBS += -ldl -lxnet -lposix4 -lsocket -lnsl michael@0: endif michael@0: michael@0: EXTRA_LIBS += $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) michael@0: michael@0: include ../platlibs.mk michael@0: michael@0: ####################################################################### michael@0: # (5) Execute "global" rules. (OPTIONAL) # michael@0: ####################################################################### michael@0: michael@0: include $(CORE_DEPTH)/coreconf/rules.mk michael@0: michael@0: ####################################################################### michael@0: # (6) Execute "component" rules. (OPTIONAL) # michael@0: ####################################################################### michael@0: michael@0: michael@0: michael@0: ####################################################################### michael@0: # (7) Execute "local" rules. (OPTIONAL). # michael@0: ####################################################################### michael@0: michael@0: LDDIST = $(DIST)/lib michael@0: michael@0: ifeq (,$(filter-out WIN%,$(OS_TARGET))) michael@0: EXTRA_LIBS += $(LDDIST)/sectool.lib michael@0: endif michael@0: michael@0: include ../platrules.mk