aboutsummaryrefslogtreecommitdiff
path: root/src/lib/geoip/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 10:26:01 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 10:26:01 -0400
commitc8f2a6d2fe17fb1c02116fddaa93ded0ce655af9 (patch)
treef44c26b004897d9d646069a0e3131263ba9ddc31 /src/lib/geoip/include.am
parentfa32574bdb7381f02abc68ad917ad79f354938a4 (diff)
downloadtor-c8f2a6d2fe17fb1c02116fddaa93ded0ce655af9.tar.gz
tor-c8f2a6d2fe17fb1c02116fddaa93ded0ce655af9.zip
Extract the non-stats part of geoip into a new src/lib/geoip.
Diffstat (limited to 'src/lib/geoip/include.am')
-rw-r--r--src/lib/geoip/include.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/geoip/include.am b/src/lib/geoip/include.am
new file mode 100644
index 0000000000..9710d75ac7
--- /dev/null
+++ b/src/lib/geoip/include.am
@@ -0,0 +1,17 @@
+noinst_LIBRARIES += src/lib/libtor-geoip.a
+
+if UNITTESTS_ENABLED
+noinst_LIBRARIES += src/lib/libtor-geoip-testing.a
+endif
+
+src_lib_libtor_geoip_a_SOURCES = \
+ src/lib/geoip/geoip.c
+
+src_lib_libtor_geoip_testing_a_SOURCES = \
+ $(src_lib_libtor_geoip_a_SOURCES)
+src_lib_libtor_geoip_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
+src_lib_libtor_geoip_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+
+noinst_HEADERS += \
+ src/lib/geoip/geoip.h \
+ src/lib/geoip/country.h