aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-13 09:34:17 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-13 09:34:17 -0500
commit73ac1add3f2af813c18b1da5f0082f6112267304 (patch)
tree47181b7a09b4fa5e3aa5a7879040e04901da1873 /src/feature/relay/include.am
parent5888db496746e2fef344c40912ff07be8a216f9c (diff)
downloadtor-73ac1add3f2af813c18b1da5f0082f6112267304.tar.gz
tor-73ac1add3f2af813c18b1da5f0082f6112267304.zip
Split core/include.am into per-subdirectory include.am files
Closes ticket 32137.
Diffstat (limited to 'src/feature/relay/include.am')
-rw-r--r--src/feature/relay/include.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/feature/relay/include.am b/src/feature/relay/include.am
new file mode 100644
index 0000000000..aa9aa3adfa
--- /dev/null
+++ b/src/feature/relay/include.am
@@ -0,0 +1,39 @@
+
+# ADD_C_FILE: INSERT SOURCES HERE.
+LIBTOR_APP_A_SOURCES += \
+ src/feature/relay/dns.c \
+ src/feature/relay/ext_orport.c \
+ src/feature/relay/onion_queue.c \
+ src/feature/relay/router.c \
+ src/feature/relay/routerkeys.c \
+ src/feature/relay/selftest.c
+
+# The Relay module.
+# ADD_C_FILE: INSERT SOURCES HERE.
+MODULE_RELAY_SOURCES = \
+ src/feature/relay/routermode.c \
+ src/feature/relay/relay_config.c \
+ src/feature/relay/relay_periodic.c \
+ src/feature/relay/relay_sys.c \
+ src/feature/relay/transport_config.c
+
+# ADD_C_FILE: INSERT HEADERS HERE.
+noinst_HEADERS += \
+ src/feature/relay/dns.h \
+ src/feature/relay/dns_structs.h \
+ src/feature/relay/ext_orport.h \
+ src/feature/relay/onion_queue.h \
+ src/feature/relay/relay_config.h \
+ src/feature/relay/relay_periodic.h \
+ src/feature/relay/relay_sys.h \
+ src/feature/relay/router.h \
+ src/feature/relay/routerkeys.h \
+ src/feature/relay/routermode.h \
+ src/feature/relay/selftest.h \
+ src/feature/relay/transport_config.h
+
+if BUILD_MODULE_RELAY
+LIBTOR_APP_A_SOURCES += $(MODULE_RELAY_SOURCES)
+else
+LIBTOR_APP_A_STUB_SOURCES += src/feature/relay/relay_stub.c
+endif