Makefile (2171B)
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 #MKPROG = purify -cache-dir=/u/mcgreer/pcache -best-effort \ 13 # -always-use-cache-dir $(CC) 14 15 ####################################################################### 16 # (2) Include "global" configuration information. (OPTIONAL) # 17 ####################################################################### 18 19 include $(CORE_DEPTH)/coreconf/config.mk 20 21 ####################################################################### 22 # (3) Include "component" configuration information. (OPTIONAL) # 23 ####################################################################### 24 25 26 ####################################################################### 27 # (4) Include "local" platform-dependent assignments (OPTIONAL). # 28 ####################################################################### 29 30 31 ####################################################################### 32 # (5) Execute "global" rules. (OPTIONAL) # 33 ####################################################################### 34 35 include $(CORE_DEPTH)/coreconf/rules.mk 36 37 ####################################################################### 38 # (6) Execute "component" rules. (OPTIONAL) # 39 ####################################################################### 40 41 # $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS) 42 EXTRA_LIBS += \ 43 $(DIST)/lib/$(LIB_PREFIX)sectool.$(LIB_SUFFIX) \ 44 $(NULL) 45 46 47 EXTRA_SHARED_LIBS += \ 48 -L$(DIST)/lib \ 49 -L$(NSSUTIL_LIB_DIR) \ 50 -lfreebl3 \ 51 $(NULL) 52 53 ####################################################################### 54 # (7) Execute "local" rules. (OPTIONAL). # 55 ####################################################################### 56 57 include ../platrules.mk