comparison makefile @ 0:d7da3b1e1540 libtomcrypt

put back the 0.95 makefile which was inadvertently merged over
author Matt Johnston <matt@ucc.asn.au>
date Mon, 31 May 2004 18:21:40 +0000
parents
children 059ec00f32a1
comparison
equal deleted inserted replaced
-1:000000000000 0:d7da3b1e1540
1 # MAKEFILE for linux GCC
2 #
3 # Tom St Denis
4 # Modified by Clay Culver
5 #
6 # NOTE: This should later be replaced by autoconf/automake scripts, but for
7 # the time being this is actually pretty clean. The only ugly part is
8 # handling CFLAGS so that the x86 specific optimizations don't break
9 # a build. This is easy to remedy though, for those that have problems.
10
11 # The version
12 VERSION=0.95
13
14 #ch1-01-1
15 # Compiler and Linker Names
16 #CC=gcc
17 #LD=ld
18
19 # Archiver [makes .a files]
20 #AR=ar
21 #ARFLAGS=r
22 #ch1-01-1
23
24 #ch1-01-3
25 # Compilation flags. Note the += does not write over the user's CFLAGS!
26 # The rest of the flags come from the parent Dropbear makefile
27 CFLAGS += -c -I./
28 # -Werror
29
30 # optimize for SPEED
31 #CFLAGS += -O3 -funroll-loops
32
33 #add -fomit-frame-pointer. v3.2 is buggy for certain platforms!
34 #CFLAGS += -fomit-frame-pointer
35
36 # optimize for SIZE
37 #CFLAGS += -Os
38
39 # compile for DEBUGING
40 #CFLAGS += -g3
41 #ch1-01-3
42
43 #These flags control how the library gets built.
44
45 #Output filenames for various targets.
46 LIBNAME=libtomcrypt.a
47 TEST=test
48 HASH=hashsum
49 CRYPT=encrypt
50 SMALL=small
51 PROF=x86_prof
52 TV=tv_gen
53
54 #LIBPATH-The directory for libtomcrypt to be installed to.
55 #INCPATH-The directory to install the header files for libtomcrypt.
56 #DATAPATH-The directory to install the pdf docs.
57 DESTDIR=
58 LIBPATH=/usr/lib
59 INCPATH=/usr/include
60 DATAPATH=/usr/share/doc/libtomcrypt/pdf
61
62 #List of objects to compile.
63
64 #Leave MPI built-in or force developer to link against libtommath?
65 MPIOBJECT=mpi.o
66
67 OBJECTS=keyring.o gf.o base64.o \
68 \
69 crypt.o crypt_find_cipher.o crypt_find_hash_any.o \
70 crypt_hash_is_valid.o crypt_register_hash.o crypt_unregister_prng.o \
71 crypt_argchk.o crypt_find_cipher_any.o crypt_find_hash_id.o \
72 crypt_prng_descriptor.o crypt_register_prng.o crypt_cipher_descriptor.o \
73 crypt_find_cipher_id.o crypt_find_prng.o crypt_prng_is_valid.o \
74 crypt_unregister_cipher.o crypt_cipher_is_valid.o crypt_find_hash.o \
75 crypt_hash_descriptor.o crypt_register_cipher.o crypt_unregister_hash.o \