[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Rename libtor.a to libtor-app.a
commit ad7776f66d3e914a0842c20f31162c0e11befa34
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Jun 21 11:01:10 2018 -0400
Rename libtor.a to libtor-app.a
---
.gitignore | 4 ++--
Makefile.am | 4 ++--
src/or/include.am | 22 +++++++++++-----------
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/.gitignore b/.gitignore
index 6eb9530a9..2267f5b4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -179,8 +179,8 @@ uptime-*.json
/src/or/tor.exe
/src/or/tor-cov
/src/or/tor-cov.exe
-/src/or/libtor.a
-/src/or/libtor-testing.a
+/src/or/libtor-app.a
+/src/or/libtor-app-testing.a
/src/or/libtor.lib
# /src/rust
diff --git a/Makefile.am b/Makefile.am
index 40ecfdae7..59230ab75 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,7 +65,7 @@ TOR_CRYPTO_TESTING_LIBS = \
# All static libraries used to link tor.
TOR_INTERNAL_LIBS = \
- src/or/libtor.a \
+ src/or/libtor-app.a \
$(TOR_CRYPTO_LIBS) \
$(TOR_UTIL_LIBS) \
src/common/libor-event.a \
@@ -75,7 +75,7 @@ TOR_INTERNAL_LIBS = \
# Variants of the above for linking the testing variant of tor (for coverage
# and tests)
TOR_INTERNAL_TESTING_LIBS = \
- src/or/libtor-testing.a \
+ src/or/libtor-app-testing.a \
$(TOR_CRYPTO_TESTING_LIBS) \
$(TOR_UTIL_TESTING_LIBS) \
$(LIBKECCAK_TINY) \
diff --git a/src/or/include.am b/src/or/include.am
index 3c54551d7..a2532cd4d 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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits