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