File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / nginx / auto / lib / sha1 / makefile.bcc
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 09:20:38 2013 UTC (10 years, 9 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision


# Copyright (C) Igor Sysoev
# Copyright (C) Nginx, Inc.


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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>