diff options
Diffstat (limited to 'lib/liboqs/config.mk.subdirs.template')
-rw-r--r-- | lib/liboqs/config.mk.subdirs.template | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/liboqs/config.mk.subdirs.template b/lib/liboqs/config.mk.subdirs.template new file mode 100644 index 000000000..355def29c --- /dev/null +++ b/lib/liboqs/config.mk.subdirs.template @@ -0,0 +1,16 @@ +# +# 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/. + +# add fixes for platform integration issues here. +# +# liboqs programs expect the public include files to be in oqs/xxxx, +# So we put liboqs in it's own module, oqs, and point to the dist files +INCLUDES += -I$(CORE_DEPTH)/lib/liboqs/src/common/pqclean_shims -I$(CORE_DEPTH)/lib/liboqs/src/common/sha3/xkcp_low/KeccakP-1600/plain-64bits +DEFINES += <DEFINES> + +ifeq ($(OS_ARCH), Darwin) +DEFINES += -DOQS_HAVE_ALIGNED_ALLOC -DOQS_HAVE_MEMALIGN -DOQS_HAVE_POSIX_MEMALIGN +endif + |