summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-02-17 15:36:10 +0100
committerNick Mathewson <nickm@torproject.org>2015-03-14 13:00:04 -0400
commit17cbc4350f1b840c7f4878808c9610f7a7936592 (patch)
treef86fafa9519996b67b8f1231a2041bae5e7e2669 /src/or
parent4247ce99e5d9b7b2063df66cc808fac1f09fb799 (diff)
downloadtor-17cbc4350f1b840c7f4878808c9610f7a7936592.tar.gz
tor-17cbc4350f1b840c7f4878808c9610f7a7936592.zip
Use output variables instead of relative paths.
Fixes the following rules in out-of-tree builds; - check-spaces - check-docs - check-logs - Doxygen - coverage-html And cleans up additional directories; - coverage_html - doc/doxygen
Diffstat (limited to 'src/or')
-rw-r--r--src/or/include.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/or/include.am b/src/or/include.am
index b44e1099dc..47746e22de 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -85,8 +85,9 @@ LIBTOR_A_SOURCES = \
src_or_libtor_a_SOURCES = $(LIBTOR_A_SOURCES)
src_or_libtor_testing_a_SOURCES = $(LIBTOR_A_SOURCES)
-#libtor_a_LIBADD = ../common/libor.a ../common/libor-crypto.a \
-# ../common/libor-event.a
+#libtor_a_LIBADD = $(top_builddir)/common/libor.a \
+# $(top_builddir)/common/libor-crypto.a \
+# $(top_builddir)/common/libor-event.a
src_or_tor_SOURCES = src/or/tor_main.c
@@ -123,9 +124,9 @@ src_or_tor_cov_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
src/common/libor-event-testing.a \
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@
-TESTING_TOR_BINARY = ./src/or/tor-cov
+TESTING_TOR_BINARY = $(top_builddir)/src/or/tor-cov
else
-TESTING_TOR_BINARY = ./src/or/tor
+TESTING_TOR_BINARY = $(top_builddir)/src/or/tor
endif
ORHEADERS = \