A clone of btpd with my configuration changes.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.9 KiB

  1. AM_CFLAGS=-std=c99 -Wall @WARNNPS@
  2. AM_CPPFLAGS=-D_FILE_OFFSET_BITS=64 -D@EVLOOP_METHOD@ -I$(top_srcdir)/misc -I$(top_srcdir)/evloop @openssl_CPPFLAGS@
  3. AM_LDFLAGS=@openssl_LDFLAGS@
  4. bin_PROGRAMS=btpd/btpd cli/btcli cli/btinfo
  5. noinst_LIBRARIES=misc/libmisc.a evloop/libevloop.a
  6. dist_man1_MANS=doc/btcli.1 doc/btinfo.1 doc/btpd.1
  7. EXTRA_DIST=COPYRIGHT CHANGES
  8. # btpd
  9. btpd_btpd_SOURCES=\
  10. btpd/active.c btpd/active.h btpd/addrinfo.c\
  11. btpd/btpd.c btpd/btpd.h\
  12. btpd/cli_if.c btpd/content.c btpd/content.h\
  13. btpd/download.c btpd/download_subr.c btpd/download.h\
  14. btpd/http_tr_if.c\
  15. btpd/main.c\
  16. btpd/nameconn.c btpd/net.c btpd/net.h btpd/net_types.h\
  17. btpd/net_buf.c btpd/net_buf.h\
  18. btpd/opts.c btpd/opts.h\
  19. btpd/peer.c btpd/peer.h\
  20. btpd/thread_cb.c btpd/tlib.c btpd/tlib.h btpd/torrent.c btpd/torrent.h\
  21. btpd/tracker_req.c btpd/tracker_req.h\
  22. btpd/upload.c btpd/upload.h\
  23. btpd/util.c
  24. btpd_btpd_CFLAGS=@TD_CFLAGS@ $(AM_CFLAGS)
  25. btpd_btpd_LDADD=@TD_LIBS@ misc/libmisc.a evloop/libevloop.a -lcrypto -lm @CLOCKLIB@ @INETLIBS@
  26. # btinfo
  27. cli_btinfo_SOURCES=cli/btinfo.c
  28. cli_btinfo_LDADD=misc/libmisc.a -lcrypto -lm
  29. # btcli
  30. cli_btcli_SOURCES=cli/btcli.c cli/btcli.h cli/add.c cli/del.c cli/list.c cli/rate.c cli/kill.c cli/start.c cli/stop.c cli/stat.c
  31. cli_btcli_LDADD=misc/libmisc.a -lcrypto -lm @INETLIBS@
  32. # libmisc
  33. misc_libmisc_a_SOURCES=\
  34. misc/benc.c misc/benc.h\
  35. misc/btpd_if.c misc/btpd_if.h misc/ipcdefs.h\
  36. misc/metainfo.c misc/metainfo.h\
  37. misc/hashtable.c misc/hashtable.h\
  38. misc/http_client.c misc/http_client.h\
  39. misc/iobuf.c misc/iobuf.h\
  40. misc/queue.h\
  41. misc/stream.c misc/stream.h\
  42. misc/subr.c misc/subr.h\
  43. misc/utils.h
  44. # evloop
  45. EXTRA_evloop_libevloop_a_SOURCES=evloop/epoll.c evloop/kqueue.c evloop/poll.c
  46. evloop_libevloop_a_SOURCES=\
  47. evloop/evloop.h\
  48. evloop/timeheap.c evloop/timeheap.h evloop/timer.c
  49. evloop_libevloop_a_LIBADD=@EVLOOP_IMPL@
  50. evloop_libevloop_a_DEPENDENCIES=@EVLOOP_IMPL@