1 ## Produce this file with automake to get Makefile.in
3 sbin_PROGRAMS = tincd tinc sptps_test
6 sbin_PROGRAMS += sptps_speed
15 connection.c connection.h \
30 fake-getaddrinfo.c fake-getaddrinfo.h \
31 fake-getnameinfo.c fake-getnameinfo.h \
52 protocol.c protocol.h \
63 splay_tree.c splay_tree.h \
79 invitation.c invitation.h \
85 subnet_parse.c subnet.h \
92 sptps_test_SOURCES = \
98 sptps_speed_SOURCES = \
104 lib_LTLIBRARIES = libmeshlink.la
106 libmeshlink_la_SOURCES = \
107 libmeshlink.c libmeshlink.h \
111 connection.c connection.h \
112 control.c control.h \
126 fake-getaddrinfo.c fake-getaddrinfo.h \
127 fake-getnameinfo.c fake-getnameinfo.h \
147 process.c process.h \
148 protocol.c protocol.h \
154 raw_socket_device.c \
159 splay_tree.c splay_tree.h \
168 libmeshlink_la_CFLAGS = -fPIC
170 libmeshlink_la_LIBADD = -lpthread
172 ## Conditionally compile device drivers
175 tincd_SOURCES += linux/device.c
176 libmeshlink_la_SOURCES +=linux/device.c
180 tincd_SOURCES += bsd/device.c
182 tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
187 tincd_SOURCES += solaris/device.c
191 tincd_SOURCES += mingw/device.c mingw/common.h
195 tincd_SOURCES += cygwin/device.c
199 tincd_SOURCES += uml_device.c
203 tincd_SOURCES += vde_device.c
210 openssl/digest.c openssl/digest.h \
218 openssl/digest.c openssl/digest.h \
225 libmeshlink_la_SOURCES += \
228 openssl/digest.c openssl/digest.h \
235 sptps_test_SOURCES += \
238 openssl/digest.c openssl/digest.h \
242 sptps_speed_SOURCES += \
245 openssl/digest.c openssl/digest.h \
256 gcrypt/digest.c gcrypt/digest.h \
264 gcrypt/digest.c gcrypt/digest.h \
271 sptps_test_SOURCES += \
274 gcrypt/digest.c gcrypt/digest.h \
280 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
281 sptps_speed_LDADD = -lrt
289 AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"