summaryrefslogtreecommitdiff
path: root/lib/liboqs/config.mk.subdirs.template
blob: 355def29cb70da7ca0b84f2696246972fe29d17f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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