aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-06 11:05:16 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-06 11:05:16 -0400
commitad1e8b45df3933e6f01098a5f9ba6238adafc9c2 (patch)
tree1e5faa0bb69a8fbbcc74ed175e3a92e504c58bed /src/common
parente9684405acf5d3bbfa3c2d4f70332cef3c66d553 (diff)
parent30fe9080e70aa2ebdf1c2bf86e98fe46b1ad27e1 (diff)
downloadtor-ad1e8b45df3933e6f01098a5f9ba6238adafc9c2.tar
tor-ad1e8b45df3933e6f01098a5f9ba6238adafc9c2.tar.gz
Merge branch 'bug6778'
Diffstat (limited to 'src/common')
-rw-r--r--src/common/include.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/common/include.am b/src/common/include.am
index 0ab476984..299c92e06 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -36,7 +36,7 @@ src_common_libor_crypto_a_SOURCES = \
src_common_libor_event_a_SOURCES = src/common/compat_libevent.c
-noinst_HEADERS+= \
+COMMONHEADERS = \
src/common/address.h \
src/common/aes.h \
src/common/ciphers.inc \
@@ -57,17 +57,19 @@ noinst_HEADERS+= \
src/common/tortls.h \
src/common/util.h
+noinst_HEADERS+= $(COMMONHEADERS)
+
DISTCLEANFILES+= src/common/common_sha1.i
-src/common/common_sha1.i: $(libor_SOURCES) $(libor_crypto_a_SOURCES) $(noinst_HEADERS)
+src/common/common_sha1.i: $(libor_SOURCES) $(libor_crypto_a_SOURCES) $(COMMONHEADERS)
$(AM_V_GEN)if test "@SHA1SUM@" != none; then \
- (cd "$(srcdir)" && "@SHA1SUM@" $(src_common_libor_SOURCES) $(src_common_libor_crypto_a_SOURCES) $(noinst_HEADERS)) | "@SED@" -n 's/^\(.*\)$$/"\1\\n"/p' > $@; \
+ (cd "$(srcdir)" && "@SHA1SUM@" $(src_common_libor_SOURCES) $(src_common_libor_crypto_a_SOURCES) $(COMMONHEADERS)) | "@SED@" -n 's/^\(.*\)$$/"\1\\n"/p' > $@; \
elif test "@OPENSSL@" != none; then \
- (cd "$(srcdir)" && "@OPENSSL@" sha1 $(src_common_libor_SOURCES) $(src_Common_libor_crypto_a_SOURCES) $(noinst_HEADERS)) | "@SED@" -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > $@; \
+ (cd "$(srcdir)" && "@OPENSSL@" sha1 $(src_common_libor_SOURCES) $(src_Common_libor_crypto_a_SOURCES) $(COMMONHEADERS)) | "@SED@" -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > $@; \
else \
rm $@; \
touch $@; \
fi
src/common/util_codedigest.o: src/common/common_sha1.i
-src/common/crypto.c: src/common/sha256.c
+src/common/crypto.o: src/common/sha256.c