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

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

Diff for /ecrypt/trunk/test/ecrypt-test.mk between version 40 and 48

version 40, Mon Aug 1 17:05:32 2005 UTC version 48, Thu Aug 4 20:07:05 2005 UTC
Line 2 
Line 2 
   
 include $(root)/test/compiler.mk  include $(root)/test/compiler.mk
   
   check: .dummy$(obj)
           $(RM) .dummy*
   
 build: ecrypt-test$(id)$(exe)  build: ecrypt-test$(id)$(exe)
   
 hash: ecrypt-test$(id)$(exe)  hash: ecrypt-test$(id)$(exe)
Line 12 
Line 15 
   
 api = ecrypt-$(type).h  api = ecrypt-$(type).h
   
   ifdef var
     defvar = $(D)ECRYPT_VARIANT=$(var)
   endif
   
 CFLAGS = $(opt)  CFLAGS = $(opt)
 LDFLAGS = $(CFLAGS)  LDFLAGS = $(CFLAGS)
 TARGET_ARCH = $(arch)  TARGET_ARCH = $(arch)
 CPPFLAGS = $(D)ECRYPT_API=$(api) $(I) $(root)/include $(I) .  CPPFLAGS = $(D)ECRYPT_API=$(api) $(defvar) $(I) $(root)/include $(I) .
 VPATH = $(root)/test:$(root)/api:$(root)/include  VPATH = $(root)/test:$(root)/api:$(root)/include
   
 ecrypt-test$(id)$(exe): ecrypt-test$(obj) ecrypt-$(type)$(obj) $(name)$(obj)  ecrypt-test$(id)$(exe): ecrypt-test$(obj) ecrypt-$(type)$(obj) $(name)$(obj)
Line 24 
Line 31 
 ecrypt-$(type)$(obj): $(api)  ecrypt-$(type)$(obj): $(api)
 $(name)$(obj): $(api)  $(name)$(obj): $(api)
   
   .dummy$(obj): .dummy.c $(api)
   .dummy.c:
           echo "#include \"$(api)\"" > .dummy.c;
   
 clean:  clean:
         $(RM) ecrypt-test$(id)$(exe) *$(obj)          $(RM) ecrypt-test$(id)$(exe) *$(obj) .dummy*
   
 .PHONY: all build hash command clean  .PHONY: all build hash command clean


Generate output suitable for use with a patch program
Legend:
Removed from v.40  
changed lines
  Added in v.48

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help