Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | #! gmake |
michael@0 | 2 | # |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | ####################################################################### |
michael@0 | 8 | # (1) Include initial platform-independent assignments (MANDATORY). # |
michael@0 | 9 | ####################################################################### |
michael@0 | 10 | |
michael@0 | 11 | include manifest.mn |
michael@0 | 12 | #MKPROG = purify -cache-dir=/u/mcgreer/pcache -best-effort \ |
michael@0 | 13 | # -always-use-cache-dir $(CC) |
michael@0 | 14 | |
michael@0 | 15 | ####################################################################### |
michael@0 | 16 | # (2) Include "global" configuration information. (OPTIONAL) # |
michael@0 | 17 | ####################################################################### |
michael@0 | 18 | |
michael@0 | 19 | include $(CORE_DEPTH)/coreconf/config.mk |
michael@0 | 20 | |
michael@0 | 21 | ####################################################################### |
michael@0 | 22 | # (3) Include "component" configuration information. (OPTIONAL) # |
michael@0 | 23 | ####################################################################### |
michael@0 | 24 | |
michael@0 | 25 | |
michael@0 | 26 | ####################################################################### |
michael@0 | 27 | # (4) Include "local" platform-dependent assignments (OPTIONAL). # |
michael@0 | 28 | ####################################################################### |
michael@0 | 29 | |
michael@0 | 30 | |
michael@0 | 31 | include ../platlibs.mk |
michael@0 | 32 | |
michael@0 | 33 | |
michael@0 | 34 | ####################################################################### |
michael@0 | 35 | # (5) Execute "global" rules. (OPTIONAL) # |
michael@0 | 36 | ####################################################################### |
michael@0 | 37 | |
michael@0 | 38 | include $(CORE_DEPTH)/coreconf/rules.mk |
michael@0 | 39 | |
michael@0 | 40 | ####################################################################### |
michael@0 | 41 | # (6) Execute "component" rules. (OPTIONAL) # |
michael@0 | 42 | ####################################################################### |
michael@0 | 43 | |
michael@0 | 44 | # $(PROGRAM) has explicit dependencies on $(EXTRA_LIBS) |
michael@0 | 45 | EXTRA_LIBS += \ |
michael@0 | 46 | $(DIST)/lib/$(LIB_PREFIX)sectool.$(LIB_SUFFIX) \ |
michael@0 | 47 | $(NULL) |
michael@0 | 48 | |
michael@0 | 49 | |
michael@0 | 50 | EXTRA_SHARED_LIBS += \ |
michael@0 | 51 | -L$(DIST)/lib \ |
michael@0 | 52 | -L$(NSSUTIL_LIB_DIR) \ |
michael@0 | 53 | -lnssutil3 \ |
michael@0 | 54 | -lfreebl3 \ |
michael@0 | 55 | -L$(NSPR_LIB_DIR) \ |
michael@0 | 56 | -lplc4 \ |
michael@0 | 57 | -lplds4 \ |
michael@0 | 58 | -lnspr4 \ |
michael@0 | 59 | $(NULL) |
michael@0 | 60 | |
michael@0 | 61 | ####################################################################### |
michael@0 | 62 | # (7) Execute "local" rules. (OPTIONAL). # |
michael@0 | 63 | ####################################################################### |
michael@0 | 64 | |
michael@0 | 65 | include ../platrules.mk |