summaryrefslogtreecommitdiff
path: root/mfbt/sources.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/sources.mk')
-rw-r--r--mfbt/sources.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/mfbt/sources.mk b/mfbt/sources.mk
new file mode 100644
index 0000000..eec2a2a
--- /dev/null
+++ b/mfbt/sources.mk
@@ -0,0 +1,28 @@
+# 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/.
+
+ifndef MFBT_ROOT
+$(error Before including this file, you must define MFBT_ROOT to point to \
+the MFBT source directory)
+endif
+
+CPPSRCS += \
+ HashFunctions.cpp \
+ SHA1.cpp \
+ $(NULL)
+
+# Imported double-conversion sources.
+VPATH += $(MFBT_ROOT)/double-conversion \
+ $(NULL)
+
+CPPSRCS += \
+ bignum-dtoa.cc \
+ bignum.cc \
+ cached-powers.cc \
+ diy-fp.cc \
+ double-conversion.cc \
+ fast-dtoa.cc \
+ fixed-dtoa.cc \
+ strtod.cc \
+ $(NULL)