#! make -f

LINCLUDES += $(NITROSDK_ROOT)/include/netcard/ds
LINCLUDES += $(NITROSDK_ROOT)/include/netcard

#----------------------------------------------------------------------------
# Project:  NitroSDK - libraries - EXT
# File:     Makefile
#
#----------------------------------------------------------------------------

MACRO_FLAGS   += -DNITRO -DNITRO_SDK

SUBDIRS			=

#----------------------------------------------------------------------------

# build ARM & THUMB libraries
NITRO_CODEGEN_ALL 	?= True

SRCS = 	ds_algorithms.c \
	ds_cslecc.c \
	ds_cslrsa.c \
	ds_aes_api.c \
	ds_cslaes.c \
	ds_cslsha.c \
	ds_cslhmac.c \
	integer_math.c \
	poly_math.c \
	elliptic_math.c \
	convecc.c \
	convrsa.c \
	aes_imp.c \

TARGET_LIB		= libcsl$(NITRO_LIBSUFFIX).a


include	$(NITROSDK_ROOT)/build/buildtools/commondefs

INSTALL_TARGETS		= $(TARGETS)
INSTALL_DIR		= $(NITRO_INSTALL_LIBDIR)

#----------------------------------------------------------------------------

do-build:		$(TARGETS)

include	$(NITROSDK_ROOT)/build/buildtools/modulerules

#===== End of Makefile =====
