view auto/lib/sha1/makefile.bcc @ 4130:04751572f900

Fixing Linux AIO initiatialization: AIO operations are disabled if kernel does not support them. Previously worker just exited.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Sep 2011 13:41:52 +0000
parents ecdc41bf2047
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


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

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

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

!else

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

!endif