diff options
Diffstat (limited to 'src/microhttpd/Makefile.am')
-rw-r--r-- | src/microhttpd/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am index fbc545eb..b400d8e6 100644 --- a/src/microhttpd/Makefile.am +++ b/src/microhttpd/Makefile.am | |||
@@ -171,6 +171,10 @@ libmicrohttpd_la_SOURCES += \ | |||
171 | mhd_bithelpers.h mhd_byteorder.h mhd_align.h \ | 171 | mhd_bithelpers.h mhd_byteorder.h mhd_align.h \ |
172 | md5.c md5.h \ | 172 | md5.c md5.h \ |
173 | sha256.c sha256.h | 173 | sha256.c sha256.h |
174 | if ENABLE_SHA512_256 | ||
175 | libmicrohttpd_la_SOURCES += \ | ||
176 | sha512_256.c sha512_256.h | ||
177 | endif | ||
174 | endif | 178 | endif |
175 | 179 | ||
176 | if ENABLE_BAUTH | 180 | if ENABLE_BAUTH |
@@ -215,6 +219,11 @@ check_PROGRAMS = \ | |||
215 | test_options \ | 219 | test_options \ |
216 | test_set_panic | 220 | test_set_panic |
217 | 221 | ||
222 | if ENABLE_SHA512_256 | ||
223 | check_PROGRAMS += \ | ||
224 | test_sha512_256 | ||
225 | endif | ||
226 | |||
218 | if HAVE_POSIX_THREADS | 227 | if HAVE_POSIX_THREADS |
219 | if ENABLE_UPGRADE | 228 | if ENABLE_UPGRADE |
220 | if USE_POSIX_THREADS | 229 | if USE_POSIX_THREADS |
@@ -448,6 +457,10 @@ test_sha256_SOURCES = \ | |||
448 | test_sha256.c test_helpers.h \ | 457 | test_sha256.c test_helpers.h \ |
449 | sha256.c sha256.h mhd_bithelpers.h mhd_byteorder.h mhd_align.h | 458 | sha256.c sha256.h mhd_bithelpers.h mhd_byteorder.h mhd_align.h |
450 | 459 | ||
460 | test_sha512_256_SOURCES = \ | ||
461 | test_sha512_256.c test_helpers.h \ | ||
462 | sha512_256.c sha512_256.h mhd_bithelpers.h mhd_byteorder.h mhd_align.h | ||
463 | |||
451 | test_sha1_SOURCES = \ | 464 | test_sha1_SOURCES = \ |
452 | test_sha1.c test_helpers.h \ | 465 | test_sha1.c test_helpers.h \ |
453 | sha1.c sha1.h mhd_bithelpers.h mhd_byteorder.h mhd_align.h | 466 | sha1.c sha1.h mhd_bithelpers.h mhd_byteorder.h mhd_align.h |