Makefile.am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ## Produce this file with automake to get Makefile.in
  2. sbin_PROGRAMS = tincd
  3. tincd_SOURCES = \
  4. have.h \
  5. system.h \
  6. avl_tree.c avl_tree.h \
  7. conf.c conf.h \
  8. connection.c connection.h \
  9. device.h \
  10. dropin.c dropin.h \
  11. dummy_device.c \
  12. edge.c edge.h \
  13. ethernet.h \
  14. event.c event.h \
  15. fake-getaddrinfo.c fake-getaddrinfo.h \
  16. fake-getnameinfo.c fake-getnameinfo.h \
  17. graph.c graph.h \
  18. ipv4.h \
  19. ipv6.h \
  20. list.c list.h \
  21. logger.c logger.h \
  22. meta.c meta.h \
  23. multicast_device.c \
  24. net.c net.h \
  25. net_packet.c \
  26. net_setup.c \
  27. net_socket.c \
  28. netutl.c netutl.h \
  29. node.c node.h \
  30. pidfile.c pidfile.h \
  31. process.c process.h \
  32. protocol.c protocol.h \
  33. protocol_auth.c \
  34. protocol_edge.c \
  35. protocol_misc.c \
  36. protocol_key.c \
  37. protocol_subnet.c \
  38. proxy.c proxy.h \
  39. raw_socket_device.c \
  40. route.c route.h \
  41. subnet.c subnet.h \
  42. tincd.c \
  43. utils.c utils.h \
  44. xalloc.h
  45. if !GETOPT
  46. tincd_SOURCES += \
  47. getopt.c getopt.h \
  48. getopt1.c
  49. endif
  50. if LINUX
  51. tincd_SOURCES += linux/device.c
  52. endif
  53. if BSD
  54. tincd_SOURCES += bsd/device.c
  55. if TUNEMU
  56. tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
  57. endif
  58. endif
  59. if SOLARIS
  60. tincd_SOURCES += solaris/device.c
  61. endif
  62. if MINGW
  63. tincd_SOURCES += mingw/device.c mingw/common.h
  64. endif
  65. if CYGWIN
  66. tincd_SOURCES += cygwin/device.c
  67. endif
  68. if UML
  69. tincd_SOURCES += uml_device.c
  70. endif
  71. if VDE
  72. tincd_SOURCES += vde_device.c
  73. endif
  74. if TUNEMU
  75. LIBS += -lpcap
  76. endif
  77. AM_CPPFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DRUNSTATEDIR=\"$(runstatedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -I $(abs_top_builddir)/