2003-03-13 02:12:16 +00:00
|
|
|
#MSVC Makefile [tested with MSVC 6.00 with SP5]
|
|
|
|
#
|
|
|
|
#Tom St Denis
|
2003-06-15 22:37:45 +00:00
|
|
|
CFLAGS = /I. /Ox /DWIN32 /W3
|
2003-03-13 02:12:16 +00:00
|
|
|
|
|
|
|
default: library
|
|
|
|
|
|
|
|
#List of objects to compile.
|
|
|
|
OBJECTS=keyring.obj gf.obj mem.obj sprng.obj ecc.obj base64.obj dh.obj rsa.obj \
|
|
|
|
bits.obj yarrow.obj cfb.obj ofb.obj ecb.obj ctr.obj cbc.obj hash.obj tiger.obj sha1.obj \
|
2003-06-11 21:10:22 +00:00
|
|
|
md5.obj md4.obj md2.obj sha256.obj sha512.obj xtea.obj aes.obj des.obj \
|
2003-03-13 02:12:16 +00:00
|
|
|
safer_tab.obj safer.obj safer+.obj rc4.obj rc2.obj rc6.obj rc5.obj cast5.obj noekeon.obj \
|
2003-09-08 01:06:11 +00:00
|
|
|
blowfish.obj crypt.obj mpi.obj prime.obj twofish.obj packet.obj hmac.obj strings.obj rmd128.obj rmd160.obj
|
2003-03-13 02:12:16 +00:00
|
|
|
|
|
|
|
library: $(OBJECTS)
|
|
|
|
lib /out:tomcrypt.lib $(OBJECTS)
|
|
|
|
|
|
|
|
test.obj: demos/test.c
|
|
|
|
cl $(CFLAGS) /c demos/test.c
|
|
|
|
|
|
|
|
test: library test.obj
|
2003-06-15 22:37:45 +00:00
|
|
|
cl test.obj tomcrypt.lib advapi32.lib
|
|
|
|
|
|
|
|
x86_prof: demos/x86_prof.c library
|
2003-07-11 02:09:41 +00:00
|
|
|
cl $(CFLAGS) demos/x86_prof.c tomcrypt.lib advapi32.lib
|
|
|
|
|
|
|
|
tv_gen: demos/tv_gen.c library
|
|
|
|
cl $(CFLAGS) demos/tv_gen.c tomcrypt.lib advapi32.lib
|
2003-09-26 01:16:18 +00:00
|
|
|
|
|
|
|
hashsum: demos/hashsum.c library
|
|
|
|
cl $(CFLAGS) demos/hashsum.c tomcrypt.lib advapi32.lib
|