summaryrefslogtreecommitdiff
path: root/lib/base
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:31:30 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:31:30 +0000
commitf129a789c105c7ff2e51db559b51672fd36e511a (patch)
treeb5130deb320dfa807c4c7ae5f9b0695cf9d85276 /lib/base
parent8d55ac83ed57c82b2784e074751a33fe5e2dc21c (diff)
downloadnss-hg-f129a789c105c7ff2e51db559b51672fd36e511a.tar.gz
Bug 1629553 Merge simple config.mk files r=rrelyea
There is really no good reason to explicitly change the TARGET variable. And the empty SHARED_LIBRARY variable should also be in the manifest.mn to begin with. All the other empty variables start empty or undefined, so there is also no need to explicitly set them empty. Differential Revision: https://phabricator.services.mozilla.com/D70691
Diffstat (limited to 'lib/base')
-rw-r--r--lib/base/Makefile8
-rw-r--r--lib/base/config.mk19
-rw-r--r--lib/base/manifest.mn1
3 files changed, 7 insertions, 21 deletions
diff --git a/lib/base/Makefile b/lib/base/Makefile
index ca709f6c0..3f49eaa45 100644
--- a/lib/base/Makefile
+++ b/lib/base/Makefile
@@ -4,7 +4,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include manifest.mn
+
include $(CORE_DEPTH)/coreconf/config.mk
-include config.mk
-include $(CORE_DEPTH)/coreconf/rules.mk
+ifdef BUILD_IDG
+DEFINES += -DNSSDEBUG
+endif
+
+include $(CORE_DEPTH)/coreconf/rules.mk
diff --git a/lib/base/config.mk b/lib/base/config.mk
deleted file mode 100644
index 2676cd537..000000000
--- a/lib/base/config.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# 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/.
-
-ifdef BUILD_IDG
-DEFINES += -DNSSDEBUG
-endif
-
-#
-# Override TARGETS variable so that only static libraries
-# are specifed as dependencies within rules.mk.
-#
-
-TARGETS = $(LIBRARY)
-SHARED_LIBRARY =
-IMPORT_LIBRARY =
-PROGRAM =
-
diff --git a/lib/base/manifest.mn b/lib/base/manifest.mn
index da3a0f336..6c4b2db98 100644
--- a/lib/base/manifest.mn
+++ b/lib/base/manifest.mn
@@ -33,6 +33,7 @@ CSRCS = \
REQUIRES = nspr
LIBRARY_NAME = nssb
+SHARED_LIBRARY = $(NULL)
# This part of the code, including all sub-dirs, can be optimized for size
export ALLOW_OPT_CODE_SIZE = 1