comparison libtomcrypt/testprof/makefile @ 435:337c45621e81

merge of 'a9b0496634cdd25647b65e585cc3240f3fa699ee' and 'c22be8b8f570b48e9662dac32c7b3e7148a42206'
author Matt Johnston <matt@ucc.asn.au>
date Thu, 22 Feb 2007 14:53:49 +0000
parents 0cbe8f6dbf9e
children
comparison
equal deleted inserted replaced
434:0aaaf68e97dc 435:337c45621e81
1 CFLAGS += -I../src/headers -I./ -Wall -W 1 CFLAGS += -I../src/headers -I./ -Wall -W
2 2
3 OBJECTS = base64_test.o cipher_hash_test.o der_tests.o dh_tests.o \ 3 # ranlib tools
4 ifndef RANLIB
5 RANLIB=ranlib
6 endif
7
8 OBJECTS = base64_test.o cipher_hash_test.o der_tests.o \
4 dsa_test.o ecc_test.o mac_test.o modes_test.o pkcs_1_test.o rsa_test.o \ 9 dsa_test.o ecc_test.o mac_test.o modes_test.o pkcs_1_test.o rsa_test.o \
5 store_test.o test.o x86_prof.o 10 store_test.o test_driver.o x86_prof.o katja_test.o
6 11
7 default: libtomcrypt_prof.a 12 ifndef LIBTEST_S
13 LIBTEST_S=libtomcrypt_prof.a
14 endif
8 15
9 libtomcrypt_prof.a: $(OBJECTS) 16 default: $(LIBTEST_S)
10 $(AR) $(ARFLAGS) libtomcrypt_prof.a $(OBJECTS) 17
11 ranlib libtomcrypt_prof.a 18 $(LIBTEST_S): $(OBJECTS)
19 $(AR) $(ARFLAGS) $@ $(OBJECTS)
20 $(RANLIB) $@
12 21
13 clean: 22 clean:
14 rm -f *.o *.a 23 rm -f *.o *.a
15 24