fips_algvs.mak 510 B

1234567891011121314
  1. CC=cl6x
  2. CFLAGS=-mv$${C6XSILICON:-6400+} -o2 -I. -Ic6x/inc -Ifips -DNO_SYS_TYPES_H
  3. OBJ_D=c6x/tmp
  4. OUT_D=c6x
  5. all: $(OUT_D)/fips_algvs.out
  6. $(OBJ_D)/fips_algvs.obj: test/fips_algvs.c
  7. $(CC) --obj_directory=$(OBJ_D) $(CFLAGS) -c $<
  8. $(OUT_D)/fips_algvs.out: $(OBJ_D)/fips_algvs.obj $(OUT_D)/fipscanister.obj c6x/fips_algvs.cmd
  9. $(OUT_D)/fips_standalone_sha1 -verify $(OUT_D)/fipscanister.obj
  10. $(CC) -z -o $@ -m $(OUT_D)/fips_algvs.map $< $(OUT_D)/fipscanister.obj c6x/fips_algvs.cmd
  11. $(OUT_D)/incore6x $@ || rm $@