Mercurial > dropbear
annotate Makefile.in @ 164:cd1143579f00 libtomcrypt LTC_DB_0.44
mpi.c isn't needed if we're using libtommath seperately
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 02 Jan 2005 17:19:46 +0000 |
parents | b4c6e7f276e9 |
children | 19e5d79b7190 |
rev | line source |
---|---|
138 | 1 # MAKEFILE for linux GCC |
2 # | |
3 # Tom St Denis | |
4 # Modified by Clay Culver | |
5 | |
6 # The version | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
7 VERSION=0.99 |
138 | 8 |
147
c2b93763dac9
Fixes for it to compile and work nicely with Dropbear.
Matt Johnston <matt@ucc.asn.au>
parents:
144
diff
changeset
|
9 VPATH=@srcdir@ |
c2b93763dac9
Fixes for it to compile and work nicely with Dropbear.
Matt Johnston <matt@ucc.asn.au>
parents:
144
diff
changeset
|
10 srcdir=@srcdir@ |
c2b93763dac9
Fixes for it to compile and work nicely with Dropbear.
Matt Johnston <matt@ucc.asn.au>
parents:
144
diff
changeset
|
11 |
138 | 12 # Compiler and Linker Names |
13 #CC=gcc | |
14 #LD=ld | |
15 | |
16 # Archiver [makes .a files] | |
17 #AR=ar | |
18 #ARFLAGS=r | |
19 | |
20 # Compilation flags. Note the += does not write over the user's CFLAGS! | |
21 # The rest of the flags come from the parent Dropbear makefile | |
22 CFLAGS += -c -I$(srcdir) | |
23 # -Werror | |
24 | |
25 # optimize for SPEED | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
26 #CFLAGS += -O3 -funroll-all-loops |
138 | 27 |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
28 #add -fomit-frame-pointer. hinders debugging! |
138 | 29 #CFLAGS += -fomit-frame-pointer |
30 | |
31 # optimize for SIZE | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
32 #CFLAGS += -Os -DSMALL_CODE |
138 | 33 |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
34 # compile for DEBUGING (required for ccmalloc checking!!!) |
138 | 35 #CFLAGS += -g3 |
36 | |
37 #These flags control how the library gets built. | |
38 | |
39 #Output filenames for various targets. | |
40 LIBNAME=libtomcrypt.a | |
41 HASH=hashsum | |
42 CRYPT=encrypt | |
43 SMALL=small | |
44 PROF=x86_prof | |
45 TV=tv_gen | |
46 | |
47 #LIBPATH-The directory for libtomcrypt to be installed to. | |
48 #INCPATH-The directory to install the header files for libtomcrypt. | |
49 #DATAPATH-The directory to install the pdf docs. | |
50 DESTDIR= | |
51 LIBPATH=/usr/lib | |
52 INCPATH=/usr/include | |
53 DATAPATH=/usr/share/doc/libtomcrypt/pdf | |
54 | |
55 #List of objects to compile. | |
56 | |
57 #Leave MPI built-in or force developer to link against libtommath? | |
58 #MPIOBJECT=mpi.o | |
59 #Dropbear uses libtommath | |
60 MPIOBJECT= | |
61 | |
62 OBJECTS=error_to_string.o mpi_to_ltc_error.o base64_encode.o base64_decode.o \ | |
63 \ | |
64 crypt.o crypt_find_cipher.o crypt_find_hash_any.o \ | |
65 crypt_hash_is_valid.o crypt_register_hash.o crypt_unregister_prng.o \ | |
66 crypt_argchk.o crypt_find_cipher_any.o crypt_find_hash_id.o \ | |
67 crypt_prng_descriptor.o crypt_register_prng.o crypt_cipher_descriptor.o \ | |
68 crypt_find_cipher_id.o crypt_find_prng.o crypt_prng_is_valid.o \ | |
69 crypt_unregister_cipher.o crypt_cipher_is_valid.o crypt_find_hash.o \ | |
70 crypt_hash_descriptor.o crypt_register_cipher.o crypt_unregister_hash.o \ | |
71 \ | |
72 rand_prime.o is_prime.o \ | |
73 \ | |
154
b4c6e7f276e9
Makefile.in: don't compile things we don't need
Matt Johnston <matt@ucc.asn.au>
parents:
147
diff
changeset
|
74 aes.o \ |
138 | 75 \ |
154
b4c6e7f276e9
Makefile.in: don't compile things we don't need
Matt Johnston <matt@ucc.asn.au>
parents:
147
diff
changeset
|
76 blowfish.o des.o \ |
b4c6e7f276e9
Makefile.in: don't compile things we don't need
Matt Johnston <matt@ucc.asn.au>
parents:
147
diff
changeset
|
77 twofish.o \ |
138 | 78 \ |
154
b4c6e7f276e9
Makefile.in: don't compile things we don't need
Matt Johnston <matt@ucc.asn.au>
parents:
147
diff
changeset
|
79 md5.o sha1.o sha512.o \ |
138 | 80 \ |
81 cbc_start.o cbc_encrypt.o cbc_decrypt.o cbc_getiv.o cbc_setiv.o \ | |
82 ecb_start.o ecb_encrypt.o ecb_decrypt.o \ | |
83 \ | |
154
b4c6e7f276e9
Makefile.in: don't compile things we don't need
Matt Johnston <matt@ucc.asn.au>
parents:
147
diff
changeset
|
84 hash_memory.o \ |
138 | 85 \ |
86 hmac_done.o hmac_file.o hmac_init.o hmac_memory.o hmac_process.o hmac_test.o \ | |
87 \ | |
88 burn_stack.o zeromem.o \ | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
89 \ |
138 | 90 $(MPIOBJECT) |
91 | |
92 TESTOBJECTS=demos/test.o | |
93 HASHOBJECTS=demos/hashsum.o | |
94 CRYPTOBJECTS=demos/encrypt.o | |
95 SMALLOBJECTS=demos/small.o | |
96 PROFS=demos/x86_prof.o | |
97 TVS=demos/tv_gen.o | |
98 | |
99 #Files left over from making the crypt.pdf. | |
100 LEFTOVERS=*.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out | |
101 | |
102 #Compressed filenames | |
103 COMPRESSED=crypt-$(VERSION).tar.bz2 crypt-$(VERSION).zip | |
104 | |
105 #Header files used by libtomcrypt. | |
106 HEADERS=ltc_tommath.h mycrypt_cfg.h \ | |
107 mycrypt_misc.h mycrypt_prng.h mycrypt_cipher.h mycrypt_hash.h \ | |
108 mycrypt_macros.h mycrypt_pk.h mycrypt.h mycrypt_argchk.h \ | |
109 mycrypt_custom.h mycrypt_pkcs.h | |
110 | |
111 #The default rule for make builds the libtomcrypt library. | |
112 default:library | |
113 | |
114 #ciphers come in two flavours... enc+dec and enc | |
115 aes_enc.o: aes.c aes_tab.c | |
116 $(CC) $(CFLAGS) -DENCRYPT_ONLY -c $(srcdir)/aes.c -o aes_enc.o | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
117 |
138 | 118 #These are the rules to make certain object files. |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
119 aes.o: aes.c aes_tab.c |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
120 twofish.o: twofish.c twofish_tab.c |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
121 whirl.o: whirl.c whirltab.c |
138 | 122 ecc.o: ecc.c ecc_sys.c |
123 dh.o: dh.c dh_sys.c | |
124 sha512.o: sha512.c sha384.c | |
125 sha256.o: sha256.c sha224.c | |
126 | |
127 #This rule makes the libtomcrypt library. | |
128 library: $(LIBNAME) | |
129 | |
130 $(LIBNAME): $(OBJECTS) | |
131 $(AR) $(ARFLAGS) $@ $(OBJECTS) | |
132 $(RANLIB) $@ | |
133 | |
134 #This rule makes the hash program included with libtomcrypt | |
135 hashsum: library $(HASHOBJECTS) | |
136 $(CC) $(HASHOBJECTS) $(LIBNAME) -o $(HASH) $(WARN) | |
137 | |
138 #makes the crypt program | |
139 crypt: library $(CRYPTOBJECTS) | |
140 $(CC) $(CRYPTOBJECTS) $(LIBNAME) -o $(CRYPT) $(WARN) | |
141 | |
142 #makes the small program | |
143 small: library $(SMALLOBJECTS) | |
144 $(CC) $(SMALLOBJECTS) $(LIBNAME) -o $(SMALL) $(WARN) | |
145 | |
146 x86_prof: library $(PROFS) | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
147 $(CC) $(PROFS) $(LIBNAME) $(EXTRALIBS) -o $(PROF) |
138 | 148 |
149 tv_gen: library $(TVS) | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
150 $(CC) $(TVS) $(LIBNAME) $(EXTRALIBS) -o $(TV) |
138 | 151 |
152 #This rule installs the library and the header files. This must be run | |
153 #as root in order to have a high enough permission to write to the correct | |
154 #directories and to set the owner and group to root. | |
155 install: library docs | |
156 install -d -g root -o root $(DESTDIR)$(LIBPATH) | |
157 install -d -g root -o root $(DESTDIR)$(INCPATH) | |
158 install -d -g root -o root $(DESTDIR)$(DATAPATH) | |
159 install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) | |
160 install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH) | |
161 install -g root -o root doc/crypt.pdf $(DESTDIR)$(DATAPATH) | |
162 | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
163 install_lib: library |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
164 install -d -g root -o root $(DESTDIR)$(LIBPATH) |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
165 install -d -g root -o root $(DESTDIR)$(INCPATH) |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
166 install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH) |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
167 install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH) |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
168 |
138 | 169 #This rule cleans the source tree of all compiled code, not including the pdf |
170 #documentation. | |
171 clean: | |
172 -rm -f $(OBJECTS) $(TESTOBJECTS) $(HASHOBJECTS) $(CRYPTOBJECTS) $(SMALLOBJECTS) $(LEFTOVERS) $(LIBNAME) | |
173 -rm -f $(TEST) $(HASH) $(COMPRESSED) $(PROFS) $(PROF) $(TVS) $(TV) | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
174 -rm -f *.la *.lo *.o *.a *.dll *stackdump *.lib *.exe *.obj demos/*.obj demos/*.o *.bat *.txt *.il *.da demos/*.il demos/*.da *.dyn *.dpi \ |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
175 *.gcda *.gcno demos/*.gcno demos/*.gcda *~ doc/* |
138 | 176 -cd demos/test && make clean |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
177 -rm -rf .libs demos/.libs demos/test/.libs |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
178 |
138 | 179 #This builds the crypt.pdf file. Note that the rm -f *.pdf has been removed |
180 #from the clean command! This is because most people would like to keep the | |
181 #nice pre-compiled crypt.pdf that comes with libtomcrypt! We only need to | |
182 #delete it if we are rebuilding it. | |
183 docs: crypt.tex | |
184 -rm -f doc/crypt.pdf $(LEFTOVERS) | |
185 echo "hello" > crypt.ind | |
186 latex crypt > /dev/null | |
187 latex crypt > /dev/null | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
188 makeindex crypt.idx > /dev/null |
138 | 189 latex crypt > /dev/null |
190 dvipdf crypt | |
191 mv -ivf crypt.pdf doc/crypt.pdf | |
192 -rm -f $(LEFTOVERS) | |
193 | |
194 docdvi: crypt.tex | |
195 echo hello > crypt.ind | |
196 latex crypt > /dev/null | |
197 latex crypt > /dev/null | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
198 makeindex crypt.idx |
138 | 199 latex crypt > /dev/null |
200 | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
201 #pretty build |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
202 pretty: |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
203 perl pretty.build |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
204 |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
205 #for GCC 3.4+ |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
206 profiled: |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
207 make clean |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
208 make CFLAGS="$(CFLAGS) -fprofile-generate" EXTRALIBS=-lgcov x86_prof |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
209 ./x86_prof |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
210 rm *.o *.a x86_prof |
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
211 make CFLAGS="$(CFLAGS) -fprofile-use" EXTRALIBS=-lgcov x86_prof |
138 | 212 |
213 #zipup the project (take that!) | |
214 zipup: clean docs | |
215 cd .. ; rm -rf crypt* libtomcrypt-$(VERSION) ; mkdir libtomcrypt-$(VERSION) ; \ | |
216 cp -R ./libtomcrypt/* ./libtomcrypt-$(VERSION)/ ; tar -c libtomcrypt-$(VERSION)/* > crypt-$(VERSION).tar ; \ | |
217 bzip2 -9vv crypt-$(VERSION).tar ; zip -9 -r crypt-$(VERSION).zip libtomcrypt-$(VERSION)/* ; \ | |
144
7ed585a2c53b
propagate of 3f8f752126017cbe7d93c4086c27a91550df745f and 747ebf284d40a15b338e5a5c7730ecec6eade3d7 from branch 'au.asn.ucc.matt.ltc-orig' to 'au.asn.ucc.matt.ltc-db'
Matt Johnston <matt@ucc.asn.au>
parents:
138
diff
changeset
|
218 gpg -b -a crypt-$(VERSION).tar.bz2 ; gpg -b -a crypt-$(VERSION).zip |