summaryrefslogtreecommitdiff
path: root/lib/liboqs/manifest.mn.subdirs.template
diff options
context:
space:
mode:
Diffstat (limited to 'lib/liboqs/manifest.mn.subdirs.template')
-rw-r--r--lib/liboqs/manifest.mn.subdirs.template21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/liboqs/manifest.mn.subdirs.template b/lib/liboqs/manifest.mn.subdirs.template
new file mode 100644
index 000000000..2676dd4e0
--- /dev/null
+++ b/lib/liboqs/manifest.mn.subdirs.template
@@ -0,0 +1,21 @@
+#
+# 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/.
+CORE_DEPTH = <DEPTH>
+
+MODULE = oqs
+
+LIBRARY_NAME = <LIB_NAME>
+SHARED_LIBRARY = $(NULL)
+
+CSRCS = \<SOURCE_FILES>
+ $(NULL)
+
+# only add module debugging in opt builds if DEBUG_PKCS11 is set
+ifdef DEBUG_PKCS11
+ DEFINES += -DDEBUG_MODULE
+endif
+
+# This part of the code, including all sub-dirs, can be optimized for size
+export ALLOW_OPT_CODE_SIZE = 1