Makefile (2193B)
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 ####################################################################### 24 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 25 ####################################################################### 26 27 ifeq ($(OS_ARCH), WINNT) 28 29 EXTRA_LIBS += \ 30 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plc4.$(LIB_SUFFIX) \ 31 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)plds4.$(LIB_SUFFIX) \ 32 $(NSPR_LIB_DIR)/$(NSPR31_LIB_PREFIX)nspr4.$(LIB_SUFFIX) \ 33 $(NULL) 34 35 else 36 37 EXTRA_SHARED_LIBS += \ 38 -L$(NSPR_LIB_DIR) \ 39 -lplc4 \ 40 -lplds4 \ 41 -lnspr4 \ 42 $(NULL) 43 44 endif 45 46 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 # (7) Execute "local" rules. (OPTIONAL). # 61 ####################################################################### 62 63 64 include ../../platrules.mk