security/nss/lib/Makefile

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:aadea82dd3bc
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
25 #######################################################################
26 # (4) Include "local" platform-dependent assignments (OPTIONAL). #
27 #######################################################################
28
29 ifndef USE_SYSTEM_ZLIB
30 ZLIB_SRCDIR = zlib # Add the zlib directory to DIRS.
31 endif
32
33 ifndef MOZILLA_CLIENT
34 ifndef NSS_USE_SYSTEM_SQLITE
35 SQLITE_SRCDIR = sqlite # Add the sqlite directory to DIRS.
36 endif
37 endif
38
39 ifndef MOZILLA_CLIENT
40 ifeq ($(OS_ARCH),Linux)
41 SYSINIT_SRCDIR = sysinit # Add the sysinit directory to DIRS.
42 endif
43 endif
44
45 ifndef NSS_DISABLE_DBM
46 DBM_SRCDIR = dbm # Add the dbm directory to DIRS.
47 endif
48
49 #######################################################################
50 # (5) Execute "global" rules. (OPTIONAL) #
51 #######################################################################
52
53 include $(CORE_DEPTH)/coreconf/rules.mk
54
55 #######################################################################
56 # (6) Execute "component" rules. (OPTIONAL) #
57 #######################################################################
58
59
60
61 #######################################################################
62 # (7) Execute "local" rules. (OPTIONAL). #
63 #######################################################################
64
65 ifeq ($(NSS_BUILD_WITHOUT_SOFTOKEN),1)
66 # Not included when building nss without softoken
67 UTIL_SRCDIR =
68 FREEBL_SRCDIR =
69 SOFTOKEN_SRCDIR =
70 else
71 # default is to include all
72 UTIL_SRCDIR = util
73 FREEBL_SRCDIR = freebl
74 SOFTOKEN_SRCDIR = softoken
75 endif

mercurial