Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 #
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 include manifest.mn
7 include $(CORE_DEPTH)/coreconf/config.mk
8 include config.mk
9 include $(CORE_DEPTH)/coreconf/rules.mk
11 ifdef NOTDEF # was ifdef MOZILLA_CLIENT
12 NSS_BUILD_CAPI = 1
13 endif
15 # This'll need some help from a build person.
17 # The generated files are checked in, and differ from what ckapi.perl
18 # will produce. ckapi.perl is currently newer than the targets, so
19 # these rules are invoked, causing the wrong files to be generated.
20 # Turning off to fix builds.
21 #
22 # nssckepv.h: ck.api ckapi.perl
23 # nssckft.h: ck.api ckapi.perl
24 # nssckg.h: ck.api ckapi.perl
25 # nssck.api: ck.api ckapi.perl
26 # $(PERL) ckapi.perl ck.api
28 export:: private_export
30 # can't do this in manifest.mn because OS_TARGET isn't defined there.
31 ifeq (,$(filter-out WINNT WIN95,$(OS_TARGET)))
32 ifdef NSS_BUILD_CAPI
33 DIRS += capi
34 endif
35 endif
37 #ifeq ($(OS_ARCH), Darwin)
38 #DIRS += nssmkey
39 #endif