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