[svn] / ecrypt / trunk / test / ecrypt-test.mk  

svn: ecrypt/trunk/test/ecrypt-test.mk

File: [svn] / ecrypt / trunk / test / ecrypt-test.mk (download)
Revision: 40, Mon Aug 1 17:05:32 2005 UTC (7 years, 10 months ago) by cdecanni
File size: 702 byte(s)
* added new makefiles.
* slightly modified test vectors.
* did some cleanup in scripts and test code.
all: build

include $(root)/test/compiler.mk

build: ecrypt-test$(id)$(exe)

hash: ecrypt-test$(id)$(exe)
	@md5sum ecrypt-test$(id)$(exe)

command: ecrypt-test$(id)$(exe)
	@echo $(run) ./ecrypt-test$(id)$(exe)

api = ecrypt-$(type).h

CFLAGS = $(opt)
LDFLAGS = $(CFLAGS)
TARGET_ARCH = $(arch)
CPPFLAGS = $(D)ECRYPT_API=$(api) $(I) $(root)/include $(I) .
VPATH = $(root)/test:$(root)/api:$(root)/include

ecrypt-test$(id)$(exe): ecrypt-test$(obj) ecrypt-$(type)$(obj) $(name)$(obj)
$(api): ecrypt-config.h ecrypt-machine.h ecrypt-portable.h 
ecrypt-test$(obj): $(api)
ecrypt-$(type)$(obj): $(api)
$(name)$(obj): $(api)

clean:
	$(RM) ecrypt-test$(id)$(exe) *$(obj)

.PHONY: all build hash command clean

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help