Use the same logic as tinc 1.0.x for detecting two nodes with the same Name.
[tinc] / src / Makefile.am
1 ## Produce this file with automake to get Makefile.in
2
3 sbin_PROGRAMS = tincd tincctl
4
5 EXTRA_DIST = linux bsd solaris cygwin mingw raw_socket uml_socket openssl gcrypt
6
7 tincd_SOURCES = \
8         utils.c getopt.c getopt1.c list.c splay_tree.c dropin.c fake-getaddrinfo.c fake-getnameinfo.c \
9         buffer.c conf.c connection.c control.c edge.c graph.c logger.c meta.c net.c net_packet.c net_setup.c \
10         net_socket.c netutl.c node.c process.c protocol.c protocol_auth.c protocol_edge.c protocol_misc.c \
11         protocol_key.c protocol_subnet.c route.c subnet.c tincd.c
12
13 nodist_tincd_SOURCES = \
14         device.c cipher.c crypto.c ecdh.c ecdsa.c digest.c prf.c rsa.c
15
16 tincctl_SOURCES = \
17         utils.c getopt.c getopt1.c dropin.c \
18         list.c tincctl.c top.c
19
20 nodist_tincctl_SOURCES = \
21         ecdsagen.c rsagen.c
22
23 if TUNEMU
24 tincd_SOURCES += bsd/tunemu.c
25 endif
26
27 tincctl_LDADD = $(CURSES_LIBS)
28
29 DEFAULT_INCLUDES =
30
31 INCLUDES = @INCLUDES@ -I$(top_builddir)
32
33 noinst_HEADERS = \
34         xalloc.h utils.h getopt.h list.h splay_tree.h dropin.h fake-getaddrinfo.h fake-getnameinfo.h fake-gai-errnos.h ipv6.h ipv4.h ethernet.h \
35         buffer.h cipher.h conf.h connection.h control.h control_common.h crypto.h device.h digest.h ecdh.h ecdsa.h ecdsagen.h edge.h graph.h logger.h meta.h net.h netutl.h node.h prf.h process.h \
36         protocol.h route.h rsa.h rsagen.h subnet.h tincctl.h top.h bsd/tunemu.h
37
38 LIBS = @LIBS@ @LIBGCRYPT_LIBS@
39
40 if TUNEMU
41 LIBS += -lpcap
42 endif
43
44 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"
45
46 dist-hook:
47         rm -f `find . -type l`