# Makefile for camellia
ALGO_NAME := CAMELLIA
-# comment out the following line for removement of serpent from the build process
+# comment out the following line for removement of Camellia from the build process
BLOCK_CIPHERS += $(ALGO_NAME)
-# main-camellia-test.o debug.o uart.o serial-tools.o camellia.o camellia-asm.o
-$(ALGO_NAME)_OBJ := camellia.o camellia-asm.o
-$(ALGO_NAME)_TEST_BIN := main-camellia-test.o debug.o uart.o serial-tools.o \
- camellia.o camellia-asm.o nessie_bc_test.o \
- nessie_common.o cli.o performance_test.o
+$(ALGO_NAME)_DIR := camellia/
+$(ALGO_NAME)_INCDIR := bcal/
+$(ALGO_NAME)_OBJ := camellia128-stub.o camellia-asm.o
+$(ALGO_NAME)_TESTBIN := main-camellia-test.o $(CLI_STD) $(BCAL_STD) \
+ bcal_camellia128.o
$(ALGO_NAME)_NESSIE_TEST := "nessie"
-$(ALGO_NAME)_PEROFRMANCE_TEST := "performance"
+$(ALGO_NAME)_PERFORMANCE_TEST := "performance"