aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 11:01:10 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-21 11:03:39 -0400
commitad7776f66d3e914a0842c20f31162c0e11befa34 (patch)
tree50310d0c57cd982fa870bbbad72db9a3fcb8f8c8 /src
parent727db7aeb9e3e4355b9a2fd065f2b7e52f1082b1 (diff)
downloadtor-ad7776f66d3e914a0842c20f31162c0e11befa34.tar.gz
tor-ad7776f66d3e914a0842c20f31162c0e11befa34.zip
Rename libtor.a to libtor-app.a
Diffstat (limited to 'src')
-rw-r--r--src/or/include.am22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 3c54551d79..a2532cd4d1 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -1,9 +1,9 @@
bin_PROGRAMS+= src/or/tor
noinst_LIBRARIES += \
- src/or/libtor.a
+ src/or/libtor-app.a
if UNITTESTS_ENABLED
noinst_LIBRARIES += \
- src/or/libtor-testing.a
+ src/or/libtor-app-testing.a
endif
if COVERAGE_ENABLED
noinst_PROGRAMS+= src/or/tor-cov
@@ -17,7 +17,7 @@ endif
EXTRA_DIST+= src/or/ntmain.c src/or/Makefile.nmake
-LIBTOR_A_SOURCES = \
+LIBTOR_APP_A_SOURCES = \
src/or/addressmap.c \
src/or/bridges.c \
src/or/channel.c \
@@ -118,7 +118,7 @@ LIBTOR_A_SOURCES = \
# source files of every module to libtor-testing.a so we can build the unit
# tests for everything. See the UNITTESTS_ENABLED branch below.
#
-LIBTOR_TESTING_A_SOURCES = $(LIBTOR_A_SOURCES)
+LIBTOR_APP_TESTING_A_SOURCES = $(LIBTOR_APP_A_SOURCES)
# The Directory Authority module.
MODULE_DIRAUTH_SOURCES = \
@@ -127,18 +127,18 @@ MODULE_DIRAUTH_SOURCES = \
src/or/dirauth/shared_random.c \
src/or/dirauth/shared_random_state.c
if BUILD_MODULE_DIRAUTH
-LIBTOR_A_SOURCES += $(MODULE_DIRAUTH_SOURCES)
+LIBTOR_APP_A_SOURCES += $(MODULE_DIRAUTH_SOURCES)
endif
-src_or_libtor_a_SOURCES = $(LIBTOR_A_SOURCES)
+src_or_libtor_app_a_SOURCES = $(LIBTOR_APP_A_SOURCES)
if UNITTESTS_ENABLED
# Add the sources of the modules that are needed for tests to work here.
-LIBTOR_TESTING_A_SOURCES += $(MODULE_DIRAUTH_SOURCES)
+LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_DIRAUTH_SOURCES)
-src_or_libtor_testing_a_SOURCES = $(LIBTOR_TESTING_A_SOURCES)
+src_or_libtor_app_testing_a_SOURCES = $(LIBTOR_APP_TESTING_A_SOURCES)
else
-src_or_libtor_testing_a_SOURCES =
+src_or_libtor_app_testing_a_SOURCES =
endif
src_or_tor_SOURCES = src/or/tor_main.c
@@ -150,8 +150,8 @@ AM_CPPFLAGS += -DSHARE_DATADIR="\"$(datadir)\"" \
-DLOCALSTATEDIR="\"$(localstatedir)\"" \
-DBINDIR="\"$(bindir)\""
-src_or_libtor_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
-src_or_libtor_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+src_or_libtor_app_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_or_libtor_app_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
# -L flags need to go in LDFLAGS. -l flags need to go in LDADD.
# This seems to matter nowhere but on windows, but I assure you that it