# Makefile - SECURITY_MISC SEC_CRYPTO layer Makefile
#
# Copyright (c) 2019, 2021 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#


# When using the SEC_CRYPTO encryption API, you must include OPENSSL
# or provide your own set of encryption algorithm implementations.
# If you provide your own set of encryption algorithm implementations,
# you can disable the WR implementation by setting the WR_OPENSSL_DISABLED=y
# in a common.vxconfig file in the new layer

# if CRYPTO_SUPPORTED is not set then fail with an error

#ifdef _WRS_CONFIG_SEC_CRYPTO
#KERNEL_PUBLIC_H_DIRS += h
#KERNEL_PROTECTED_H_DIRS += protectedh
#BUILD_DIRS += src
#POST_NOBUILD_CDFDIRS += cdf
#POST_NOBUILD_CFGDIRS += cfg
#endif

#ifneq ("$(wildcard vxTest/src/Makefile)","")
#ifdef _WRS_CONFIG_SEC_CRYPTO_VXTEST
#BUILD_DIRS += vxTest/src
#POST_NOBUILD_CDFDIRS += vxTest/cdf
#endif
#endif

#CC_WARNINGS_BUILD_DIRS = CC_WARNINGS_HIGH_SYS
#CC_WARNINGS_BUILD_USER_DIRS = CC_WARNINGS_HIGH_SYS

TGT_DIR=$(WIND_BASE)/target

include $(TGT_DIR)/h/make/rules.library