2000-03-26 00:33:07 +00:00
|
|
|
## Produce this file with automake to get Makefile.in
|
|
|
|
|
2007-05-18 16:52:34 +00:00
|
|
|
sbin_PROGRAMS = tincd tincctl
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2009-12-14 20:25:06 +00:00
|
|
|
EXTRA_DIST = linux bsd solaris cygwin mingw raw_socket uml_socket openssl gcrypt
|
2002-02-10 21:57:54 +00:00
|
|
|
|
2009-12-31 12:19:13 +00:00
|
|
|
tincd_SOURCES = \
|
|
|
|
xmalloc.c utils.c getopt.c getopt1.c list.c splay_tree.c dropin.c fake-getaddrinfo.c fake-getnameinfo.c \
|
2011-05-14 17:15:04 +00:00
|
|
|
buffer.c cipher.c conf.c connection.c control.c crypto.c digest.c edge.c graph.c logger.c meta.c net.c net_packet.c net_setup.c \
|
2009-12-31 12:19:13 +00:00
|
|
|
net_socket.c netutl.c node.c process.c protocol.c protocol_auth.c protocol_edge.c protocol_misc.c \
|
2007-05-20 22:28:49 +00:00
|
|
|
protocol_key.c protocol_subnet.c route.c rsa.c subnet.c tincd.c
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2009-12-31 12:19:13 +00:00
|
|
|
tincctl_SOURCES = \
|
2010-11-13 14:46:19 +00:00
|
|
|
xmalloc.c utils.c getopt.c getopt1.c dropin.c \
|
2011-05-15 14:30:13 +00:00
|
|
|
list.c tincctl.c rsagen.c
|
2007-05-18 16:52:34 +00:00
|
|
|
|
2009-09-10 17:32:54 +00:00
|
|
|
if TUNEMU
|
|
|
|
tincd_SOURCES += bsd/tunemu.c
|
|
|
|
endif
|
|
|
|
|
2011-05-15 11:16:48 +00:00
|
|
|
if CURSES
|
|
|
|
tincctl_SOURCES += top.c
|
|
|
|
tincctl_LDADD = $(CURSES_LIBS)
|
|
|
|
endif
|
|
|
|
|
2003-07-30 09:45:21 +00:00
|
|
|
nodist_tincd_SOURCES = device.c
|
|
|
|
|
2003-08-02 15:13:08 +00:00
|
|
|
DEFAULT_INCLUDES =
|
|
|
|
|
2009-12-31 12:19:13 +00:00
|
|
|
INCLUDES = @INCLUDES@ -I$(top_builddir)
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2009-12-31 12:19:13 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
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 \
|
2011-05-14 17:15:04 +00:00
|
|
|
buffer.h cipher.h conf.h connection.h control.h control_common.h crypto.h device.h digest.h edge.h graph.h logger.h meta.h net.h netutl.h node.h process.h \
|
2009-09-16 17:55:47 +00:00
|
|
|
protocol.h route.h rsa.h rsagen.h subnet.h bsd/tunemu.h
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2009-09-29 12:55:29 +00:00
|
|
|
LIBS = @LIBS@ @LIBGCRYPT_LIBS@
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2009-09-10 17:32:54 +00:00
|
|
|
if TUNEMU
|
|
|
|
LIBS += -lpcap
|
|
|
|
endif
|
|
|
|
|
2009-11-02 13:24:27 +00:00
|
|
|
AM_CFLAGS = @CFLAGS@ -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"
|
2000-12-22 17:15:26 +00:00
|
|
|
|
2002-03-27 15:47:06 +00:00
|
|
|
dist-hook:
|
|
|
|
rm -f `find . -type l`
|