X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2FMakefile.am;h=7b3dd97db495a2c26020bfe140dca3707a348df7;hp=937800d3dc613bf1b1d462d7a85a94bd87538c1b;hb=afda1d91ae290ac2aa2a45d07fa6838b3159da39;hpb=68f4ca711593416d0defd81199b176ba604c6cb1 diff --git a/src/Makefile.am b/src/Makefile.am index 937800d3..7b3dd97d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,11 +14,8 @@ tincd_SOURCES = \ edge.c edge.h \ ethernet.h \ event.c event.h \ - fake-gai-errnos.h \ fake-getaddrinfo.c fake-getaddrinfo.h \ fake-getnameinfo.c fake-getnameinfo.h \ - getopt.c getopt.h \ - getopt1.c \ graph.c graph.h \ ipv4.h \ ipv6.h \ @@ -40,13 +37,19 @@ tincd_SOURCES = \ protocol_misc.c \ protocol_key.c \ protocol_subnet.c \ + proxy.c proxy.h \ raw_socket_device.c \ route.c route.h \ subnet.c subnet.h \ tincd.c \ utils.c utils.h \ - xalloc.h \ - xmalloc.c + xalloc.h + +if !GETOPT +tincd_SOURCES += \ + getopt.c getopt.h \ + getopt1.c +endif if LINUX tincd_SOURCES += linux/device.c @@ -83,4 +86,4 @@ if TUNEMU LIBS += -lpcap endif -AM_CPPFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" +AM_CPPFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DRUNSTATEDIR=\"$(runstatedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -I $(abs_top_builddir)/