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

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

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

version 48, Thu Aug 4 20:07:05 2005 UTC version 60, Mon Aug 15 21:48:48 2005 UTC
Line 1 
Line 1 
 all: build  all: build
   
   ifdef conf
     include $(root)/config/configs/$(conf).mk
   endif
   
 include $(root)/test/compiler.mk  include $(root)/test/compiler.mk
   
 check: .dummy$(obj)  name:
         $(RM) .dummy*          @echo $(name)
   
 build: ecrypt-test$(id)$(exe)  build: ecrypt-test$(id)$(exe)
   
Line 16 
Line 20 
 api = ecrypt-$(type).h  api = ecrypt-$(type).h
   
 ifdef var  ifdef var
   defvar = $(D)ECRYPT_VARIANT=$(var)    defvar = -DECRYPT_VARIANT=$(var)
 endif  endif
   
 CFLAGS = $(opt)  CFLAGS = $(opt)
 LDFLAGS = $(CFLAGS)  LDFLAGS = $(CFLAGS)
 TARGET_ARCH = $(arch)  TARGET_ARCH = $(arch)
 CPPFLAGS = $(D)ECRYPT_API=$(api) $(defvar) $(I) $(root)/include $(I) .  CPPFLAGS = -DECRYPT_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 31 
Line 35 
 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) .dummy*          $(RM) ecrypt-test$(id)$(exe) *$(obj)
   
 .PHONY: all build hash command clean  .PHONY: all name build hash command clean


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

eSTREAM Project

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help