tomcrypt/makefile.msvc

27 lines
938 B
Plaintext
Raw Normal View History

2003-03-12 21:12:16 -05:00
#MSVC Makefile [tested with MSVC 6.00 with SP5]
#
#Tom St Denis
2003-06-11 17:10:22 -04:00
# note optimizations are turned off because it causes a bug in aes.c that cannot be rectified [right away]
2003-06-15 18:37:45 -04:00
CFLAGS = /I. /Ox /DWIN32 /W3
2003-03-12 21:12:16 -05: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 17:10:22 -04:00
md5.obj md4.obj md2.obj sha256.obj sha512.obj xtea.obj aes.obj des.obj \
2003-03-12 21:12:16 -05:00
safer_tab.obj safer.obj safer+.obj rc4.obj rc2.obj rc6.obj rc5.obj cast5.obj noekeon.obj \
2003-06-11 17:10:22 -04:00
blowfish.obj crypt.obj mpi.obj prime.obj twofish.obj packet.obj hmac.obj strings.obj
2003-03-12 21:12:16 -05: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 18:37:45 -04:00
cl test.obj tomcrypt.lib advapi32.lib
x86_prof: demos/x86_prof.c library
2003-06-19 11:23:20 -04:00
cl $(CFLAGS) demos/x86_prof.c tomcrypt.lib advapi32.lib