2012-08-02 15:31:43 +02:00
|
|
|
bin_PROGRAMS+= src/or/tor
|
2013-06-06 20:56:05 +02:00
|
|
|
noinst_LIBRARIES += \
|
|
|
|
src/or/libtor.a
|
|
|
|
if UNITTESTS_ENABLED
|
|
|
|
noinst_LIBRARIES += \
|
|
|
|
src/or/libtor-testing.a
|
|
|
|
endif
|
2013-07-09 18:37:11 +02:00
|
|
|
if COVERAGE_ENABLED
|
|
|
|
noinst_PROGRAMS+= src/or/tor-cov
|
|
|
|
endif
|
2012-08-02 15:31:43 +02:00
|
|
|
|
|
|
|
if BUILD_NT_SERVICES
|
|
|
|
tor_platform_source=src/or/ntmain.c
|
|
|
|
else
|
|
|
|
tor_platform_source=
|
|
|
|
endif
|
|
|
|
|
2015-03-12 09:04:28 +01:00
|
|
|
EXTRA_DIST+= src/or/ntmain.c src/or/Makefile.nmake
|
2012-08-02 15:31:43 +02:00
|
|
|
|
|
|
|
if USE_EXTERNAL_EVDNS
|
|
|
|
evdns_source=
|
|
|
|
else
|
2012-10-11 23:19:37 +02:00
|
|
|
evdns_source=src/ext/eventdns.c
|
2012-08-02 15:31:43 +02:00
|
|
|
endif
|
|
|
|
|
2013-06-06 20:56:05 +02:00
|
|
|
LIBTOR_A_SOURCES = \
|
2012-10-28 21:13:58 +01:00
|
|
|
src/or/addressmap.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/buffers.c \
|
Add channel.c/channel.h for bug 6465
Note: this is a squashed commit; see branch bug6465_rebased_v2 of user/andrea/tor.git for full history of the following 90 commits:
Add channel.c/channel.h for bug 6465
Fix make check-spaces in new channel.c/channel.h
Make sure new channel.h is in nodist_HEADERS and Makefile.nmake is up to date too
Add channel_state_t and state utility functions
Add channel_change_state()
Better comments in channel.h
Add CHANNEL_STATE_LISTENING for channel_t
Fix wide line in channel.c
Add structures/prototypes for incoming cell handling
Implement channel_queue_cell() and channel_queue_var_cell()
Implement channel_process_cells()
Fix asserts in channel_queue_cell() and channel_queue_var_cell()
Add descriptive comments for channel_queue_cell() and channel_queue_var_cell()
Implement channel cell handler getters/setters
Queue outgoing writes when not in writeable state
Drain queues and test assertions when changing channel_t state
Add log_debug() messages for channel_t stuff
Add log_debug() messages for channel_t stuff
Add some channel_t metadata
Add time_t client_used to channel_t
Add channel_touched_by_client()
Declare a few channel_t metadata queries we'll have to implement later for use by circuitbuild.c
Add next_circ_id/circ_id_type to channel_t for use by circuitbuild.c
Count n_circuits in channel_t
Channel timestamp calls
Add create timestamp for channel.h
Declare some new metadata queries on channel_t
Add get_real_remote_descr() prototype
Move active_circuits stuff to channel_t, some other or.h and channel.h changes
Make channel_t refcounted and use global lists of active channels
Update channel_request_close() and channel_change_state() for channel_t registration mechanism
Handle closing channels sensibly
Add global_identifier for channels, channel_init() internal use function
Add timestamp_last_added_nonpadding to channel_t
Better comments in channel_init()
Correctly handle next_circ_id in channel_init()
Correctly handle next_circ_id in channel_init() and even compile this time
Appease make check-spaces
Update timestamps when writing cells to channel_t
Add channel_flush_some_cells() to call channel_flush_from_first_active_circuit()
Add registered channel lookup functions
Get rid of client_used in or_connection_t; it's in channel_t now
Get rid of circ_id_type in or_connection_t; implement channel_set_circ_id_type()
Eliminate is_bad_for_new_circs in or_connection_t; implement getter/setter for it in channel_t
Eliminate next_circ_id in or_connection_t in favor of channel_t
Handle packed cells in channel_t for relay.c
Add channel_identity_map and related functions
Handle add/remove from channel identity map on state transitions
Implement channel_is_local() and channel_mark_local()
Implement channel_is_client() and channel_mark_client()
Implement channel_is_outgoing() and channel_mark_outgoing()
Eliminate declaration for redundant channel_nonopen_was_started_here()
Add channel timestamps
Add channel timestamps, fix some make-check-spaces complaints
Remove redundant channel_was_started_here() function and initiated_remotely bit
Rename channel_get_remote_descr()/channel_get_real_remote_descr() to something clearer in channel.h
Replace channel_get_write_queue_len() with sufficient and easier to implement channel_has_queued_writes() in channel.h
Change return type of channel_is_bad_for_new_circs() to int for consistency
Implement channel_has_queued_writes()
Rename channel_touched_by_client() and client_used field for consistency with other timestamps in channel.{c,h}
Implement channel_get_actual_remote_descr() and channel_get_canonical_remote_descr() in channel.{c,h}
Implement channel_matches_extend_info() in channel.{c,h}
Implement channel_get_for_extend() and channel_is_better() in channel.{c,h}
Make channel_is_better() public in channel.{c,h}
Implement channel_matches_target_addr_for_extend() in channel.{c,h}
Implement channel_is_canonical_is_reliable() in channel.{c,h}
Demoronize get_remote_descr() method prototype - what the hell was I thinking there?
Timestamp channels in the right places in channel.c
Add missing tor_assert() in channel.c
Check if the lower layer accepted a cell in channel_write_cell() et al. of channel.c
Implement channel_flush_cells() in channel.c (w00t, it builds at last)
Call channel_timestamp_drained() at the right places in channel.c
Implement channel_run_cleanup()
Support optional channel_get_remote_addr() method and use it for GeoIP in channel_do_open_actions()
Get rid of channel refcounting; it'll be too complicated to handle it properly with all the pointers from circuits to channels, and closing from channel_run_cleanup() will work okay just like with connections
Doxygenate channel.c
Appease make check-spaces in channel.c
Fix superfluous semicolons in channel.c
Add/remove channels from identity digest map in all the right places in channel.c
The cell queues on channel_t must be empty when going to a CLOSED or ERROR state
Appease make check-spaces in channel.c
Add channel_clear/set_identity_digest() and some better logging to channel.{c,h}
Fix better logging to channel.c
Avoid SIGSEGV testing for queue emptiness in channel_flush_some_cells_from_outgoing_queue()
Remove TODO about checking cell queue in channel_free(); no need for it
Appease make check-spaces in channel.c
Add channel_free_all() and support functions
Check nullness of active_circuit_pqueue in channel_free()
Fix SMARTLIST_FOREACH_END usage in channel_process_cells()
Rearrange channel_t struct to use a union distinguishing listener from cell-bearing channels in channel.{c,h}
2012-07-31 06:49:39 +02:00
|
|
|
src/or/channel.c \
|
2012-08-01 13:18:42 +02:00
|
|
|
src/or/channeltls.c \
|
2013-10-31 19:17:32 +01:00
|
|
|
src/or/circpathbias.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/circuitbuild.c \
|
|
|
|
src/or/circuitlist.c \
|
2012-09-21 23:45:32 +02:00
|
|
|
src/or/circuitmux.c \
|
2012-10-01 06:41:25 +02:00
|
|
|
src/or/circuitmux_ewma.c \
|
2012-10-15 20:48:34 +02:00
|
|
|
src/or/circuitstats.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/circuituse.c \
|
|
|
|
src/or/command.c \
|
2012-09-12 23:34:50 +02:00
|
|
|
src/or/config.c \
|
|
|
|
src/or/confparse.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/connection.c \
|
|
|
|
src/or/connection_edge.c \
|
|
|
|
src/or/connection_or.c \
|
|
|
|
src/or/control.c \
|
|
|
|
src/or/cpuworker.c \
|
2014-11-12 20:29:05 +01:00
|
|
|
src/or/dircollate.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/directory.c \
|
|
|
|
src/or/dirserv.c \
|
|
|
|
src/or/dirvote.c \
|
|
|
|
src/or/dns.c \
|
|
|
|
src/or/dnsserv.c \
|
2015-08-18 04:30:02 +02:00
|
|
|
src/or/fp_pair.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/geoip.c \
|
2012-10-15 20:48:34 +02:00
|
|
|
src/or/entrynodes.c \
|
2012-12-05 18:18:18 +01:00
|
|
|
src/or/ext_orport.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/hibernate.c \
|
2014-10-02 21:34:23 +02:00
|
|
|
src/or/keypin.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/main.c \
|
|
|
|
src/or/microdesc.c \
|
|
|
|
src/or/networkstatus.c \
|
|
|
|
src/or/nodelist.c \
|
|
|
|
src/or/onion.c \
|
2012-12-04 22:09:52 +01:00
|
|
|
src/or/onion_fast.c \
|
|
|
|
src/or/onion_tap.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/transports.c \
|
|
|
|
src/or/policies.c \
|
|
|
|
src/or/reasons.c \
|
|
|
|
src/or/relay.c \
|
2015-06-18 17:00:10 +02:00
|
|
|
src/or/rendcache.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/rendclient.c \
|
|
|
|
src/or/rendcommon.c \
|
|
|
|
src/or/rendmid.c \
|
|
|
|
src/or/rendservice.c \
|
|
|
|
src/or/rephist.c \
|
|
|
|
src/or/replaycache.c \
|
|
|
|
src/or/router.c \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/or/routerkeys.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/routerlist.c \
|
|
|
|
src/or/routerparse.c \
|
2012-09-13 18:46:39 +02:00
|
|
|
src/or/routerset.c \
|
2013-08-25 17:45:07 +02:00
|
|
|
src/or/scheduler.c \
|
2012-09-12 23:58:33 +02:00
|
|
|
src/or/statefile.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/status.c \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/or/torcert.c \
|
2014-10-27 14:37:50 +01:00
|
|
|
src/or/onion_ntor.c \
|
2012-08-02 15:31:43 +02:00
|
|
|
$(evdns_source) \
|
2015-04-01 15:54:20 +02:00
|
|
|
$(tor_platform_source)
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2013-06-06 20:56:05 +02:00
|
|
|
src_or_libtor_a_SOURCES = $(LIBTOR_A_SOURCES)
|
|
|
|
src_or_libtor_testing_a_SOURCES = $(LIBTOR_A_SOURCES)
|
|
|
|
|
2012-08-02 15:31:43 +02:00
|
|
|
src_or_tor_SOURCES = src/or/tor_main.c
|
2012-08-27 16:00:22 +02:00
|
|
|
AM_CPPFLAGS += -I$(srcdir)/src/or -Isrc/or
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2012-09-06 17:00:32 +02:00
|
|
|
src/or/tor_main.o: micro-revision.i
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-08-18 04:30:02 +02:00
|
|
|
AM_CPPFLAGS += -DSHARE_DATADIR="\"$(datadir)\"" \
|
|
|
|
-DLOCALSTATEDIR="\"$(localstatedir)\"" \
|
|
|
|
-DBINDIR="\"$(bindir)\""
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-03-20 13:12:09 +01:00
|
|
|
src_or_libtor_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
2013-07-09 18:37:11 +02:00
|
|
|
src_or_libtor_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
2013-06-06 20:56:05 +02:00
|
|
|
|
2012-08-02 15:31:43 +02:00
|
|
|
# -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
|
|
|
|
# matters a lot there, and is quite hard to debug if you forget to do it.
|
|
|
|
|
|
|
|
|
|
|
|
src_or_tor_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@
|
2012-12-06 18:07:58 +01:00
|
|
|
src_or_tor_LDADD = src/or/libtor.a src/common/libor.a \
|
|
|
|
src/common/libor-crypto.a $(LIBDONNA) \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/common/libor-event.a src/trunnel/libor-trunnel.a \
|
2012-08-02 15:31:43 +02:00
|
|
|
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2014-02-21 00:24:25 +01:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2013-07-09 18:37:11 +02:00
|
|
|
if COVERAGE_ENABLED
|
|
|
|
src_or_tor_cov_SOURCES = src/or/tor_main.c
|
2015-03-20 13:12:09 +01:00
|
|
|
src_or_tor_cov_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
2013-07-09 18:37:11 +02:00
|
|
|
src_or_tor_cov_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
src_or_tor_cov_LDFLAGS = @TOR_LDFLAGS_zlib@ @TOR_LDFLAGS_openssl@ @TOR_LDFLAGS_libevent@
|
|
|
|
src_or_tor_cov_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
|
|
|
|
src/common/libor-crypto-testing.a $(LIBDONNA) \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/common/libor-event-testing.a src/trunnel/libor-trunnel-testing.a \
|
2013-07-09 18:37:11 +02:00
|
|
|
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
|
2014-02-21 00:24:25 +01:00
|
|
|
@TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@
|
2015-08-21 18:03:05 +02:00
|
|
|
export TESTING_TOR_BINARY = $(top_builddir)/src/or/tor-cov
|
2015-01-05 17:52:36 +01:00
|
|
|
else
|
2015-08-21 18:03:05 +02:00
|
|
|
export TESTING_TOR_BINARY = $(top_builddir)/src/or/tor
|
2013-07-09 18:37:11 +02:00
|
|
|
endif
|
|
|
|
|
2012-09-06 15:56:48 +02:00
|
|
|
ORHEADERS = \
|
2012-10-28 21:13:58 +01:00
|
|
|
src/or/addressmap.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/buffers.h \
|
Add channel.c/channel.h for bug 6465
Note: this is a squashed commit; see branch bug6465_rebased_v2 of user/andrea/tor.git for full history of the following 90 commits:
Add channel.c/channel.h for bug 6465
Fix make check-spaces in new channel.c/channel.h
Make sure new channel.h is in nodist_HEADERS and Makefile.nmake is up to date too
Add channel_state_t and state utility functions
Add channel_change_state()
Better comments in channel.h
Add CHANNEL_STATE_LISTENING for channel_t
Fix wide line in channel.c
Add structures/prototypes for incoming cell handling
Implement channel_queue_cell() and channel_queue_var_cell()
Implement channel_process_cells()
Fix asserts in channel_queue_cell() and channel_queue_var_cell()
Add descriptive comments for channel_queue_cell() and channel_queue_var_cell()
Implement channel cell handler getters/setters
Queue outgoing writes when not in writeable state
Drain queues and test assertions when changing channel_t state
Add log_debug() messages for channel_t stuff
Add log_debug() messages for channel_t stuff
Add some channel_t metadata
Add time_t client_used to channel_t
Add channel_touched_by_client()
Declare a few channel_t metadata queries we'll have to implement later for use by circuitbuild.c
Add next_circ_id/circ_id_type to channel_t for use by circuitbuild.c
Count n_circuits in channel_t
Channel timestamp calls
Add create timestamp for channel.h
Declare some new metadata queries on channel_t
Add get_real_remote_descr() prototype
Move active_circuits stuff to channel_t, some other or.h and channel.h changes
Make channel_t refcounted and use global lists of active channels
Update channel_request_close() and channel_change_state() for channel_t registration mechanism
Handle closing channels sensibly
Add global_identifier for channels, channel_init() internal use function
Add timestamp_last_added_nonpadding to channel_t
Better comments in channel_init()
Correctly handle next_circ_id in channel_init()
Correctly handle next_circ_id in channel_init() and even compile this time
Appease make check-spaces
Update timestamps when writing cells to channel_t
Add channel_flush_some_cells() to call channel_flush_from_first_active_circuit()
Add registered channel lookup functions
Get rid of client_used in or_connection_t; it's in channel_t now
Get rid of circ_id_type in or_connection_t; implement channel_set_circ_id_type()
Eliminate is_bad_for_new_circs in or_connection_t; implement getter/setter for it in channel_t
Eliminate next_circ_id in or_connection_t in favor of channel_t
Handle packed cells in channel_t for relay.c
Add channel_identity_map and related functions
Handle add/remove from channel identity map on state transitions
Implement channel_is_local() and channel_mark_local()
Implement channel_is_client() and channel_mark_client()
Implement channel_is_outgoing() and channel_mark_outgoing()
Eliminate declaration for redundant channel_nonopen_was_started_here()
Add channel timestamps
Add channel timestamps, fix some make-check-spaces complaints
Remove redundant channel_was_started_here() function and initiated_remotely bit
Rename channel_get_remote_descr()/channel_get_real_remote_descr() to something clearer in channel.h
Replace channel_get_write_queue_len() with sufficient and easier to implement channel_has_queued_writes() in channel.h
Change return type of channel_is_bad_for_new_circs() to int for consistency
Implement channel_has_queued_writes()
Rename channel_touched_by_client() and client_used field for consistency with other timestamps in channel.{c,h}
Implement channel_get_actual_remote_descr() and channel_get_canonical_remote_descr() in channel.{c,h}
Implement channel_matches_extend_info() in channel.{c,h}
Implement channel_get_for_extend() and channel_is_better() in channel.{c,h}
Make channel_is_better() public in channel.{c,h}
Implement channel_matches_target_addr_for_extend() in channel.{c,h}
Implement channel_is_canonical_is_reliable() in channel.{c,h}
Demoronize get_remote_descr() method prototype - what the hell was I thinking there?
Timestamp channels in the right places in channel.c
Add missing tor_assert() in channel.c
Check if the lower layer accepted a cell in channel_write_cell() et al. of channel.c
Implement channel_flush_cells() in channel.c (w00t, it builds at last)
Call channel_timestamp_drained() at the right places in channel.c
Implement channel_run_cleanup()
Support optional channel_get_remote_addr() method and use it for GeoIP in channel_do_open_actions()
Get rid of channel refcounting; it'll be too complicated to handle it properly with all the pointers from circuits to channels, and closing from channel_run_cleanup() will work okay just like with connections
Doxygenate channel.c
Appease make check-spaces in channel.c
Fix superfluous semicolons in channel.c
Add/remove channels from identity digest map in all the right places in channel.c
The cell queues on channel_t must be empty when going to a CLOSED or ERROR state
Appease make check-spaces in channel.c
Add channel_clear/set_identity_digest() and some better logging to channel.{c,h}
Fix better logging to channel.c
Avoid SIGSEGV testing for queue emptiness in channel_flush_some_cells_from_outgoing_queue()
Remove TODO about checking cell queue in channel_free(); no need for it
Appease make check-spaces in channel.c
Add channel_free_all() and support functions
Check nullness of active_circuit_pqueue in channel_free()
Fix SMARTLIST_FOREACH_END usage in channel_process_cells()
Rearrange channel_t struct to use a union distinguishing listener from cell-bearing channels in channel.{c,h}
2012-07-31 06:49:39 +02:00
|
|
|
src/or/channel.h \
|
2012-08-01 13:18:42 +02:00
|
|
|
src/or/channeltls.h \
|
2013-10-31 19:17:32 +01:00
|
|
|
src/or/circpathbias.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/circuitbuild.h \
|
|
|
|
src/or/circuitlist.h \
|
2012-09-21 23:45:32 +02:00
|
|
|
src/or/circuitmux.h \
|
2012-10-01 06:41:25 +02:00
|
|
|
src/or/circuitmux_ewma.h \
|
2012-10-15 20:48:34 +02:00
|
|
|
src/or/circuitstats.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/circuituse.h \
|
|
|
|
src/or/command.h \
|
|
|
|
src/or/config.h \
|
2012-09-12 23:34:50 +02:00
|
|
|
src/or/confparse.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/connection.h \
|
|
|
|
src/or/connection_edge.h \
|
|
|
|
src/or/connection_or.h \
|
|
|
|
src/or/control.h \
|
|
|
|
src/or/cpuworker.h \
|
2014-11-12 20:29:05 +01:00
|
|
|
src/or/dircollate.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/directory.h \
|
|
|
|
src/or/dirserv.h \
|
|
|
|
src/or/dirvote.h \
|
|
|
|
src/or/dns.h \
|
|
|
|
src/or/dnsserv.h \
|
|
|
|
src/or/eventdns_tor.h \
|
2012-12-05 18:18:18 +01:00
|
|
|
src/or/ext_orport.h \
|
2013-05-11 04:39:48 +02:00
|
|
|
src/or/fp_pair.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/geoip.h \
|
2012-10-15 20:48:34 +02:00
|
|
|
src/or/entrynodes.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/hibernate.h \
|
2014-10-02 21:34:23 +02:00
|
|
|
src/or/keypin.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/main.h \
|
|
|
|
src/or/microdesc.h \
|
|
|
|
src/or/networkstatus.h \
|
|
|
|
src/or/nodelist.h \
|
|
|
|
src/or/ntmain.h \
|
|
|
|
src/or/onion.h \
|
2012-12-04 22:09:52 +01:00
|
|
|
src/or/onion_fast.h \
|
2012-12-04 03:24:21 +01:00
|
|
|
src/or/onion_ntor.h \
|
2012-12-04 22:09:52 +01:00
|
|
|
src/or/onion_tap.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/or.h \
|
|
|
|
src/or/transports.h \
|
|
|
|
src/or/policies.h \
|
|
|
|
src/or/reasons.h \
|
|
|
|
src/or/relay.h \
|
2015-06-18 17:00:10 +02:00
|
|
|
src/or/rendcache.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/rendclient.h \
|
|
|
|
src/or/rendcommon.h \
|
|
|
|
src/or/rendmid.h \
|
|
|
|
src/or/rendservice.h \
|
|
|
|
src/or/rephist.h \
|
|
|
|
src/or/replaycache.h \
|
|
|
|
src/or/router.h \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/or/routerkeys.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/routerlist.h \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/or/routerkeys.h \
|
2012-09-13 18:46:39 +02:00
|
|
|
src/or/routerset.h \
|
2012-08-02 15:31:43 +02:00
|
|
|
src/or/routerparse.h \
|
2013-08-25 17:45:07 +02:00
|
|
|
src/or/scheduler.h \
|
2012-09-12 23:58:33 +02:00
|
|
|
src/or/statefile.h \
|
2014-09-30 22:00:17 +02:00
|
|
|
src/or/status.h \
|
|
|
|
src/or/torcert.h
|
2012-09-06 15:56:48 +02:00
|
|
|
|
|
|
|
noinst_HEADERS+= $(ORHEADERS) micro-revision.i
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2012-08-27 16:00:22 +02:00
|
|
|
micro-revision.i: FORCE
|
2015-05-18 17:29:07 +02:00
|
|
|
$(AM_V_at)rm -f micro-revision.tmp; \
|
2015-02-25 16:04:02 +01:00
|
|
|
if test -d "$(top_srcdir)/.git" && \
|
|
|
|
test -x "`which git 2>&1;true`"; then \
|
|
|
|
HASH="`cd "$(top_srcdir)" && git rev-parse --short=16 HEAD`"; \
|
|
|
|
echo \"$$HASH\" > micro-revision.tmp; \
|
|
|
|
fi; \
|
|
|
|
if test ! -f micro-revision.tmp; then \
|
|
|
|
if test ! -f micro-revision.i; then \
|
|
|
|
echo '""' > micro-revision.i; \
|
|
|
|
fi; \
|
|
|
|
elif test ! -f micro-revision.i || \
|
|
|
|
test x"`cat micro-revision.tmp`" != x"`cat micro-revision.i`"; then \
|
|
|
|
mv micro-revision.tmp micro-revision.i; \
|
|
|
|
fi; \
|
|
|
|
rm -f micro-revision.tmp; \
|
|
|
|
true
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2015-04-01 15:54:20 +02:00
|
|
|
CLEANFILES+= micro-revision.i src/or/micro-revision.i micro-revision.tmp
|
2012-08-02 15:31:43 +02:00
|
|
|
|
2012-08-23 19:14:41 +02:00
|
|
|
FORCE:
|