aboutsummaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-06 09:56:48 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-06 09:56:48 -0400
commit91fed2c7037acf3f154ab0a4a536bc1579c1ccfa (patch)
tree656142b196f1290d0b43b971502c0e2dfff625d0 /src/or/include.am
parent5d679caa32c71a8bc7d4ed4ab716349e603e642c (diff)
downloadtor-91fed2c7037acf3f154ab0a4a536bc1579c1ccfa.tar.gz
tor-91fed2c7037acf3f154ab0a4a536bc1579c1ccfa.zip
Fix a build-warning when building out-of-tree
We were trying to incorporate all headers in common_sha1.i, not just the src/common ones. This is part of bug 6778; fix on 0.2.4.1-alpha
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 65ff684925..34cd307b49 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -81,7 +81,7 @@ src_or_tor_LDADD = src/or/libtor.a src/common/libor.a src/common/libor-crypto.a
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
@TOR_LIB_WS32@ @TOR_LIB_GDI@
-noinst_HEADERS+= \
+ORHEADERS = \
src/or/buffers.h \
src/or/circuitbuild.h \
src/or/circuitlist.h \
@@ -122,8 +122,9 @@ noinst_HEADERS+= \
src/or/router.h \
src/or/routerlist.h \
src/or/routerparse.h \
- src/or/status.h \
- micro-revision.i
+ src/or/status.h
+
+noinst_HEADERS+= $(ORHEADERS) micro-revision.i
src/or/config_codedigest.o: src/or/or_sha1.i
@@ -143,12 +144,12 @@ micro-revision.i: FORCE
mv micro-revision.tmp micro-revision.i; \
fi; true
-src/or/or_sha1.i: $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES)
+src/or/or_sha1.i: $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES) $(ORHEADERS)
$(AM_V_GEN)if test "@SHA1SUM@" != none; then \
- (cd "$(srcdir)" && "@SHA1SUM@" $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES)) | \
+ (cd "$(srcdir)" && "@SHA1SUM@" $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES) $(ORHEADERS) ) | \
"@SED@" -n 's/^\(.*\)$$/"\1\\n"/p' > src/or/or_sha1.i; \
elif test "@OPENSSL@" != none; then \
- (cd "$(srcdir)" && "@OPENSSL@" sha1 $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES)) | \
+ (cd "$(srcdir)" && "@OPENSSL@" sha1 $(src_or_tor_SOURCES) $(src_or_libtor_a_SOURCES) $(ORHEADERS)) | \
"@SED@" -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > src/or/or_sha1.i; \
else \
rm src/or/or_sha1.i; \