summaryrefslogtreecommitdiff
path: root/manifest.mn
blob: 4cd1ea5ee2ff9fdccaede08b8d964ae8954175e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
CORE_DEPTH = .
DEPTH      = .

IMPORTS =	nspr20/v4.8 \
		$(NULL)

RELEASE = nss

DIRS = coreconf lib cmd cpputil gtests

lib: coreconf
cmd: lib
cpputil: lib
gtests: cmd cpputil

HAVE_ALL_TARGET := 1

prepare_build:
	# no real way to encode these in any sensible way
	$(MAKE) -C coreconf/nsinstall program
	$(MAKE) export
	# pre-build child dir -> parent dir dependencies
	# ckfw/builtins -> ckfw
	IGNORE_DIRS=1 $(MAKE) -C lib/ckfw libs
	# ckfw/builtins/testlib -> ckfw/builtins + base
	$(MAKE) -C lib/base libs
	IGNORE_DIRS=1 $(MAKE) -C lib/ckfw/builtins libs

all: prepare_build
	$(MAKE) libs