summaryrefslogtreecommitdiffstats
path: root/extensions/build.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--extensions/build.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/extensions/build.mk b/extensions/build.mk
new file mode 100644
index 0000000000..e3b0db93d4
--- /dev/null
+++ b/extensions/build.mk
@@ -0,0 +1,18 @@
+# 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/.
+
+ifneq (extensions,$(MOZ_BUILD_APP))
+$(error This file shouldn't be included without --enable-application=extensions)
+endif
+
+ifndef MOZ_EXTENSIONS
+$(error You forgot to set --enable-extensions)
+endif
+
+TIERS += app
+tier_app_dirs += extensions
+
+installer:
+ @echo Check each extension for an installer.
+ @exit 1