2006-05-30 01:28:12 +08:00
|
|
|
|
|
|
|
# Copyright (C) Igor Sysoev
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) -D L_ENDIAN
|
|
|
|
|
2006-08-16 21:09:33 +08:00
|
|
|
!IF "$(SHA1_ASM)" == "YES"
|
2006-05-30 01:28:12 +08:00
|
|
|
|
|
|
|
sha1.lib:
|
2009-05-12 21:15:43 +08:00
|
|
|
cd $(SHA1)
|
2006-05-30 01:28:12 +08:00
|
|
|
cl -c $(CFLAGS) -D SHA1_ASM sha1dgst.c
|
|
|
|
link -lib -out:sha1.lib sha1dgst.obj asm/s-win32.obj
|
|
|
|
|
2006-08-16 21:09:33 +08:00
|
|
|
!ELSE
|
2006-05-30 01:28:12 +08:00
|
|
|
|
|
|
|
sha1.lib:
|
2009-05-12 21:15:43 +08:00
|
|
|
cd $(SHA1)
|
2006-05-30 01:28:12 +08:00
|
|
|
cl -c $(CFLAGS) sha1dgst.c
|
|
|
|
link -lib -out:sha1.lib sha1dgst.obj
|
|
|
|
|
2006-08-16 21:09:33 +08:00
|
|
|
!ENDIF
|