Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 #######################################################################
6 # (1) Include initial platform-independent assignments (MANDATORY). #
7 #######################################################################
9 include manifest.mn
11 #######################################################################
12 # (2) Include "global" configuration information. (OPTIONAL) #
13 #######################################################################
15 include $(CORE_DEPTH)/coreconf/config.mk
17 #######################################################################
18 # (3) Include "component" configuration information. (OPTIONAL) #
19 #######################################################################
23 #######################################################################
24 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
25 #######################################################################
27 include ../platlibs.mk
29 ifeq ($(OS_ARCH), WINNT)
31 EXTRA_LIBS += \
32 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.$(LIB_SUFFIX) \
33 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.$(LIB_SUFFIX) \
34 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.$(LIB_SUFFIX) \
35 $(NULL)
37 else
39 EXTRA_SHARED_LIBS += \
40 -L$(NSPR_LIB_DIR) \
41 -lplc4 \
42 -lplds4 \
43 -lnspr4 \
44 $(NULL)
46 endif
48 #######################################################################
49 # (5) Execute "global" rules. (OPTIONAL) #
50 #######################################################################
52 include $(CORE_DEPTH)/coreconf/rules.mk
54 #######################################################################
55 # (6) Execute "component" rules. (OPTIONAL) #
56 #######################################################################
60 #######################################################################
61 # (7) Execute "local" rules. (OPTIONAL). #
62 #######################################################################
64 include ../platrules.mk