view auto/lib/sha1/makefile.bcc @ 2864:967ad993a4f8 stable-0.6

r2719 merge: fix building on platforms which have no atomic operations support, the bug was introduced in r2653 (r2564 in trunk)
author Igor Sysoev <igor@sysoev.ru>
date Mon, 18 May 2009 16:05:02 +0000
parents 7cbef16c71a1
children ecdc41bf2047
line wrap: on
line source


# Copyright (C) Igor Sysoev


CFLAGS = -q -O2 -tWM $(CPU_OPT) -DL_ENDIAN

!if "$(SHA1_ASM)" == "YES"

sha1.lib:
	bcc32 -c $(CFLAGS) -DSHA1_ASM sha1dgst.c
	tlib sha1.lib +sha1dgst.obj +"asm\s-win32.obj"

!else

sha1.lib:
	bcc32 -c $(CFLAGS) sha1dgst.c
	tlib sha1.lib +sha1dgst.obj

!endif