michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(DEPTH)/config/autoconf.mk michael@0: michael@0: include $(topsrcdir)/config/config.mk michael@0: michael@0: dirs := michael@0: michael@0: define add_dirs michael@0: SHARED_LIBRARY_DIRS := michael@0: include $(topsrcdir)/security/$(1)/config.mk michael@0: dirs += $$(addprefix $(1)/,$$(SHARED_LIBRARY_DIRS)) $(1) michael@0: endef michael@0: $(foreach dir,util nss ssl smime,$(eval $(call add_dirs,nss/lib/$(dir)))) michael@0: michael@0: libs := michael@0: define add_lib michael@0: LIBRARY_NAME := michael@0: include $(topsrcdir)/security/$(1)/manifest.mn michael@0: libs += $$(addprefix $(1)/,$(LIB_PREFIX)$$(LIBRARY_NAME).$(LIB_SUFFIX)) michael@0: endef michael@0: $(foreach dir,$(dirs),$(eval $(call add_lib,$(dir)))) michael@0: michael@0: echo-variable-%: michael@0: @echo $($*)