Makefile (2203B)
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/. 4 5 ####################################################################### 6 # (1) Include initial platform-independent assignments (MANDATORY). # 7 ####################################################################### 8 9 include manifest.mn 10 11 ####################################################################### 12 # (2) Include "global" configuration information. (OPTIONAL) # 13 ####################################################################### 14 15 include $(CORE_DEPTH)/coreconf/config.mk 16 17 ####################################################################### 18 # (3) Include "component" configuration information. (OPTIONAL) # 19 ####################################################################### 20 21 22 23 ####################################################################### 24 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 25 ####################################################################### 26 27 include ../platlibs.mk 28 29 ifeq ($(OS_ARCH), WINNT) 30 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) 36 37 else 38 39 EXTRA_SHARED_LIBS += \ 40 -L$(NSPR_LIB_DIR) \ 41 -lplc4 \ 42 -lplds4 \ 43 -lnspr4 \ 44 $(NULL) 45 46 endif 47 48 ####################################################################### 49 # (5) Execute "global" rules. (OPTIONAL) # 50 ####################################################################### 51 52 include $(CORE_DEPTH)/coreconf/rules.mk 53 54 ####################################################################### 55 # (6) Execute "component" rules. (OPTIONAL) # 56 ####################################################################### 57 58 59 60 ####################################################################### 61 # (7) Execute "local" rules. (OPTIONAL). # 62 ####################################################################### 63 64 include ../platrules.mk