source: trunk/daemon/Makefile.am @ 14651

Last change on this file since 14651 was 14651, checked in by mikedld, 6 years ago

#5663: Rework directory watching in daemon

Implement BSD/Darwin (kqueue) and Windows (ReadDirectoryChanges?) mechanisms
for receiving directory change notifications. Use events instead of polling
for changes. Retry file parsing up to 3 times before giving up.

Huge thanks to missionsix for preparing first two versions of the patch.

File size: 908 bytes
Line 
1AM_CPPFLAGS = -I@top_srcdir@ -DEMBEDDED
2
3AM_CFLAGS = \
4    @LIBEVENT_CFLAGS@ \
5    @LIBCURL_CFLAGS@ \
6    @SYSTEMD_DAEMON_CFLAGS@ \
7    @ZLIB_CFLAGS@ \
8    @PTHREAD_CFLAGS@
9
10EXTRA_DIST = \
11    transmission-daemon.service
12
13dist_man_MANS = \
14    transmission-daemon.1 \
15    transmission-remote.1
16
17bin_PROGRAMS = \
18    transmission-daemon \
19    transmission-remote
20
21LDADD = \
22    $(top_builddir)/libtransmission/libtransmission.a \
23    @LIBUPNP_LIBS@ \
24    @LIBNATPMP_LIBS@ \
25    @DHT_LIBS@ \
26    @LIBB64_LIBS@ \
27    @LIBUTP_LIBS@ \
28    @LIBEVENT_LIBS@ \
29    @LIBCURL_LIBS@ \
30    @CRYPTO_LIBS@ \
31    @INTLLIBS@ \
32    @SYSTEMD_DAEMON_LIBS@ \
33    @ZLIB_LIBS@ \
34    @PTHREAD_LIBS@ \
35    ${LIBM}
36
37noinst_HEADERS = daemon.h
38
39transmission_daemon_SOURCES = daemon.c
40transmission_remote_SOURCES = remote.c
41
42if WIN32
43transmission_daemon_SOURCES += daemon-win32.c
44else
45transmission_daemon_SOURCES += daemon-posix.c
46endif
Note: See TracBrowser for help on using the repository browser.