diff options
author | Andrea Shepard <andrea@persephoneslair.org> | 2012-10-11 15:55:26 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@persephoneslair.org> | 2012-10-11 15:55:26 -0700 |
commit | 3a33b1fe3bd7ba4cb1fff73f97ee722a2b127db5 (patch) | |
tree | c86ddeca6cfbd47d8796de6b4014b690d5e902df /src | |
parent | a45760b53b6aef609e3d48f9e0abb5e1550e44fb (diff) | |
parent | 63f542a5c21103946177b5377cdf5d08e2e68849 (diff) | |
download | tor-3a33b1fe3bd7ba4cb1fff73f97ee722a2b127db5.tar.gz tor-3a33b1fe3bd7ba4cb1fff73f97ee722a2b127db5.zip |
Merge branch 'move_contrib_source' of git://git.torproject.org/nickm/tor
Diffstat (limited to 'src')
-rw-r--r-- | src/common/include.am | 3 | ||||
-rw-r--r-- | src/ext/OpenBSD_malloc_Linux.c (renamed from src/common/OpenBSD_malloc_Linux.c) | 0 | ||||
-rw-r--r-- | src/ext/eventdns.c (renamed from src/or/eventdns.c) | 0 | ||||
-rw-r--r-- | src/ext/eventdns.h (renamed from src/or/eventdns.h) | 0 | ||||
-rw-r--r-- | src/ext/ht.h (renamed from src/common/ht.h) | 0 | ||||
-rw-r--r-- | src/ext/include.am | 12 | ||||
-rw-r--r-- | src/ext/tinytest.c (renamed from src/test/tinytest.c) | 0 | ||||
-rw-r--r-- | src/ext/tinytest.h (renamed from src/test/tinytest.h) | 0 | ||||
-rw-r--r-- | src/ext/tinytest_demo.c (renamed from src/test/tinytest_demo.c) | 0 | ||||
-rw-r--r-- | src/ext/tinytest_macros.h (renamed from src/test/tinytest_macros.h) | 0 | ||||
-rw-r--r-- | src/include.am | 3 | ||||
-rw-r--r-- | src/or/include.am | 3 | ||||
-rw-r--r-- | src/test/include.am | 7 |
13 files changed, 18 insertions, 10 deletions
diff --git a/src/common/include.am b/src/common/include.am index ba08aa7e5a..7299a47afb 100644 --- a/src/common/include.am +++ b/src/common/include.am @@ -9,7 +9,7 @@ EXTRA_DIST+= \ AM_CPPFLAGS += -I$(srcdir)/src/common -Isrc/common if USE_OPENBSD_MALLOC -libor_extra_source=src/common/OpenBSD_malloc_Linux.c +libor_extra_source=src/ext/OpenBSD_malloc_Linux.c else libor_extra_source= endif @@ -44,7 +44,6 @@ COMMONHEADERS = \ src/common/container.h \ src/common/crypto.h \ src/common/di_ops.h \ - src/common/ht.h \ src/common/memarea.h \ src/common/mempool.h \ src/common/procmon.h \ diff --git a/src/common/OpenBSD_malloc_Linux.c b/src/ext/OpenBSD_malloc_Linux.c index da82729811..da82729811 100644 --- a/src/common/OpenBSD_malloc_Linux.c +++ b/src/ext/OpenBSD_malloc_Linux.c diff --git a/src/or/eventdns.c b/src/ext/eventdns.c index 768693aba6..768693aba6 100644 --- a/src/or/eventdns.c +++ b/src/ext/eventdns.c diff --git a/src/or/eventdns.h b/src/ext/eventdns.h index 1c130b2a12..1c130b2a12 100644 --- a/src/or/eventdns.h +++ b/src/ext/eventdns.h diff --git a/src/common/ht.h b/src/ext/ht.h index 25156c4165..25156c4165 100644 --- a/src/common/ht.h +++ b/src/ext/ht.h diff --git a/src/ext/include.am b/src/ext/include.am new file mode 100644 index 0000000000..97e7e46b46 --- /dev/null +++ b/src/ext/include.am @@ -0,0 +1,12 @@ + +AM_CPPFLAGS += -I$(srcdir)/src/ext -Isrc/ext + +EXTHEADERS = \ + src/ext/ht.h \ + src/ext/eventdns.h \ + src/ext/tinytest.h \ + src/ext/tinytest_macros.h + +noinst_HEADERS+= $(EXTHEADERS) + + diff --git a/src/test/tinytest.c b/src/ext/tinytest.c index 4d9afacce4..4d9afacce4 100644 --- a/src/test/tinytest.c +++ b/src/ext/tinytest.c diff --git a/src/test/tinytest.h b/src/ext/tinytest.h index bcac9f079c..bcac9f079c 100644 --- a/src/test/tinytest.h +++ b/src/ext/tinytest.h diff --git a/src/test/tinytest_demo.c b/src/ext/tinytest_demo.c index be95ce4c1d..be95ce4c1d 100644 --- a/src/test/tinytest_demo.c +++ b/src/ext/tinytest_demo.c diff --git a/src/test/tinytest_macros.h b/src/ext/tinytest_macros.h index 9ff69b1d50..9ff69b1d50 100644 --- a/src/test/tinytest_macros.h +++ b/src/ext/tinytest_macros.h diff --git a/src/include.am b/src/include.am index 965a494042..d0693e25b0 100644 --- a/src/include.am +++ b/src/include.am @@ -1,6 +1,7 @@ +include src/ext/include.am include src/common/include.am include src/or/include.am include src/test/include.am include src/tools/include.am include src/win32/include.am -include src/config/include.am
\ No newline at end of file +include src/config/include.am diff --git a/src/or/include.am b/src/or/include.am index 90dea44ba8..749206151a 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -12,7 +12,7 @@ EXTRA_DIST+= src/or/ntmain.c src/or/or_sha1.i src/or/Makefile.nmake if USE_EXTERNAL_EVDNS evdns_source= else -evdns_source=src/or/eventdns.c +evdns_source=src/ext/eventdns.c endif src_or_libtor_a_SOURCES = \ @@ -110,7 +110,6 @@ ORHEADERS = \ src/or/dirvote.h \ src/or/dns.h \ src/or/dnsserv.h \ - src/or/eventdns.h \ src/or/eventdns_tor.h \ src/or/geoip.h \ src/or/hibernate.h \ diff --git a/src/test/include.am b/src/test/include.am index 03fef23375..bdfe498d66 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -5,7 +5,7 @@ noinst_PROGRAMS+= src/test/test src/test/test-child src/test/bench src_test_AM_CPPFLAGS = -DSHARE_DATADIR="\"$(datadir)\"" \ -DLOCALSTATEDIR="\"$(localstatedir)\"" \ -DBINDIR="\"$(bindir)\"" \ - -I"$(top_srcdir)/src/or" + -I"$(top_srcdir)/src/or" -I"$(top_srcdir)/src/ext" # -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 @@ -24,7 +24,7 @@ src_test_test_SOURCES = \ src/test/test_replay.c \ src/test/test_util.c \ src/test/test_config.c \ - src/test/tinytest.c + src/ext/tinytest.c src_test_test_CPPFLAGS= $(src_test_AM_CPPFLAGS) @@ -48,8 +48,5 @@ src_test_bench_LDADD = src/or/libtor.a src/common/libor.a src/common/libor-crypt @TOR_OPENSSL_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_GDI@ noinst_HEADERS+= \ - src/test/tinytest.h \ - src/test/tinytest_macros.h \ src/test/test.h - |