security/build/nss.mk

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:4d1121779940
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 include $(DEPTH)/config/autoconf.mk
6
7 include $(topsrcdir)/config/config.mk
8
9 dirs :=
10
11 define add_dirs
12 SHARED_LIBRARY_DIRS :=
13 include $(topsrcdir)/security/$(1)/config.mk
14 dirs += $$(addprefix $(1)/,$$(SHARED_LIBRARY_DIRS)) $(1)
15 endef
16 $(foreach dir,util nss ssl smime,$(eval $(call add_dirs,nss/lib/$(dir))))
17
18 libs :=
19 define add_lib
20 LIBRARY_NAME :=
21 include $(topsrcdir)/security/$(1)/manifest.mn
22 libs += $$(addprefix $(1)/,$(LIB_PREFIX)$$(LIBRARY_NAME).$(LIB_SUFFIX))
23 endef
24 $(foreach dir,$(dirs),$(eval $(call add_lib,$(dir))))
25
26 echo-variable-%:
27 @echo $($*)

mercurial