Mercurial > dropbear
comparison Makefile.in @ 196:704bb050935f libtomcrypt
makefile fixup for Dropbear
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 09 May 2005 12:00:08 +0000 |
parents | 19e5d79b7190 |
children | 7adce1fbdbff |
comparison
equal
deleted
inserted
replaced
195:19e5d79b7190 | 196:704bb050935f |
---|---|
17 #AR=ar | 17 #AR=ar |
18 #ARFLAGS=r | 18 #ARFLAGS=r |
19 | 19 |
20 # Compilation flags. Note the += does not write over the user's CFLAGS! | 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 | 21 # The rest of the flags come from the parent Dropbear makefile |
22 CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir) | 22 CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir)/../ |
23 | 23 |
24 # additional warnings (newer GCC 3.4 and higher) | 24 # additional warnings (newer GCC 3.4 and higher) |
25 #CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \ | 25 #CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \ |
26 # -Wmissing-declarations -Wpointer-arith | 26 # -Wmissing-declarations -Wpointer-arith |
27 | 27 |
141 src/pk/dh/dh.o: src/pk/dh/dh.c src/pk/dh/dh_sys.c | 141 src/pk/dh/dh.o: src/pk/dh/dh.c src/pk/dh/dh_sys.c |
142 src/hashes/sha2/sha512.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha384.c | 142 src/hashes/sha2/sha512.o: src/hashes/sha2/sha512.c src/hashes/sha2/sha384.c |
143 src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c | 143 src/hashes/sha2/sha256.o: src/hashes/sha2/sha256.c src/hashes/sha2/sha224.c |
144 | 144 |
145 #This rule makes the libtomcrypt library. | 145 #This rule makes the libtomcrypt library. |
146 library: $(LIBTEST) $(LIBNAME) | 146 #library: $(LIBTEST) $(LIBNAME) |
147 # Dropbear doesn't want test programs, since it relies on yarrow etc. | |
148 library: $(LIBNAME) | |
147 | 149 |
148 $(LIBTEST): | 150 $(LIBTEST): |
149 cd testprof ; CFLAGS="$(CFLAGS)" make | 151 cd testprof ; CFLAGS="$(CFLAGS)" make |
150 | 152 |
151 $(LIBNAME): $(OBJECTS) | 153 $(LIBNAME): $(OBJECTS) |