summaryrefslogtreecommitdiff
path: root/cpputil/Makefile
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2017-06-08 16:57:35 +0200
committerTim Taubert <ttaubert@mozilla.com>2017-06-08 16:57:35 +0200
commit3adde469bf542407a9f9a42593500af8bad76738 (patch)
tree75187b44bd7f9dcbd00a96d323166ffc35fffe36 /cpputil/Makefile
parent810f0862e4edbb89af04bebb6738b9757a9d4ae1 (diff)
downloadnss-hg-3adde469bf542407a9f9a42593500af8bad76738.tar.gz
Bug 1357319 - Add proper Makefile for cpputil r=mt
Differential Revision: https://nss-review.dev.mozaws.net/D349
Diffstat (limited to 'cpputil/Makefile')
-rw-r--r--cpputil/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/cpputil/Makefile b/cpputil/Makefile
new file mode 100644
index 000000000..7adfc6117
--- /dev/null
+++ b/cpputil/Makefile
@@ -0,0 +1,49 @@
+#! gmake
+#
+# 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/.
+
+#######################################################################
+# (1) Include initial platform-independent assignments (MANDATORY). #
+#######################################################################
+
+include manifest.mn
+
+#######################################################################
+# (2) Include "global" configuration information. (OPTIONAL) #
+#######################################################################
+
+include $(CORE_DEPTH)/coreconf/config.mk
+
+#######################################################################
+# (3) Include "component" configuration information. (OPTIONAL) #
+#######################################################################
+
+ifeq (WINNT,$(OS_ARCH))
+OS_CFLAGS += -EHsc
+else
+CXXFLAGS += -std=c++0x
+endif
+
+#######################################################################
+# (4) Include "local" platform-dependent assignments (OPTIONAL). #
+#######################################################################
+
+include config.mk
+
+#######################################################################
+# (5) Execute "global" rules. (OPTIONAL) #
+#######################################################################
+
+include $(CORE_DEPTH)/coreconf/rules.mk
+
+#######################################################################
+# (6) Execute "component" rules. (OPTIONAL) #
+#######################################################################
+
+
+
+#######################################################################
+# (7) Execute "local" rules. (OPTIONAL). #
+#######################################################################