Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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/.
7 #######################################################################
8 # (1) Include initial platform-independent assignments (MANDATORY). #
9 #######################################################################
11 include manifest.mn
13 #######################################################################
14 # (2) Include "global" configuration information. (OPTIONAL) #
15 #######################################################################
17 include $(CORE_DEPTH)/coreconf/config.mk
19 #######################################################################
20 # (3) Include "component" configuration information. (OPTIONAL) #
21 #######################################################################
25 #######################################################################
26 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
27 #######################################################################
28 include config.mk
30 ifeq ($(OS_TARGET)$(OS_RELEASE), AIX4.2)
31 OS_LIBS += -lsvld
32 endif
34 ifeq ($(OS_TARGET)$(OS_RELEASE), SunOS5.6)
35 OS_LIBS += -ldl -lxnet -lposix4 -lsocket -lnsl
36 endif
38 EXTRA_LIBS += $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX)
40 include ../platlibs.mk
42 #######################################################################
43 # (5) Execute "global" rules. (OPTIONAL) #
44 #######################################################################
46 include $(CORE_DEPTH)/coreconf/rules.mk
48 #######################################################################
49 # (6) Execute "component" rules. (OPTIONAL) #
50 #######################################################################
54 #######################################################################
55 # (7) Execute "local" rules. (OPTIONAL). #
56 #######################################################################
58 LDDIST = $(DIST)/lib
60 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
61 EXTRA_LIBS += $(LDDIST)/sectool.lib
62 endif
64 include ../platrules.mk