# Makefile - makefile for hash layer
#
# Copyright (c) 2014-2015, 2021, 2024 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.
#
# DESCRIPTION
# Makefile for hash layer
#

LIB_BASE_NAME   = ip_crypto
LIB_FORMAT = both


ifeq ($(SPACE),user)
include $(WIND_USR_MK)/defs.library.mk
else
include $(WIND_KRNL_MK)/defs.library.mk
endif

ifeq ($(_WRS_CONFIG_SEC_HASH),y)
ifneq ($(SPACE),user)
OBJS = secHashMd5Openssl.o
OBJS += secHashRmdOpenssl.o
OBJS += secHashSha1Openssl.o
OBJS += secHashSha256Openssl.o
OBJS += secHashSha384Openssl.o
OBJS += secHashSha512Openssl.o
OBJS += secHashWhirlpoolOpenssl.o
endif
endif

ifeq ($(SPACE),user)
include $(WIND_USR_MK)/rules.library.mk
else
include $(WIND_KRNL_MK)/rules.library.mk
endif




