|
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/. |
|
5 |
|
6 include manifest.mn |
|
7 include $(CORE_DEPTH)/coreconf/config.mk |
|
8 include config.mk |
|
9 include $(CORE_DEPTH)/coreconf/rules.mk |
|
10 |
|
11 ifdef NOTDEF # was ifdef MOZILLA_CLIENT |
|
12 NSS_BUILD_CAPI = 1 |
|
13 endif |
|
14 |
|
15 # This'll need some help from a build person. |
|
16 |
|
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 |
|
27 |
|
28 export:: private_export |
|
29 |
|
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 |
|
36 |
|
37 #ifeq ($(OS_ARCH), Darwin) |
|
38 #DIRS += nssmkey |
|
39 #endif |