projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use getcwd() instead of get_current_dir_name().
[tinc]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
937800d
..
0b28139
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-17,8
+17,6
@@
tincd_SOURCES = \
fake-gai-errnos.h \
fake-getaddrinfo.c fake-getaddrinfo.h \
fake-getnameinfo.c fake-getnameinfo.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 \
graph.c graph.h \
ipv4.h \
ipv6.h \
@@
-40,6
+38,7
@@
tincd_SOURCES = \
protocol_misc.c \
protocol_key.c \
protocol_subnet.c \
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 \
raw_socket_device.c \
route.c route.h \
subnet.c subnet.h \
@@
-48,6
+47,12
@@
tincd_SOURCES = \
xalloc.h \
xmalloc.c
xalloc.h \
xmalloc.c
+if !GETOPT
+tincd_SOURCES += \
+ getopt.c getopt.h \
+ getopt1.c
+endif
+
if LINUX
tincd_SOURCES += linux/device.c
endif
if LINUX
tincd_SOURCES += linux/device.c
endif
@@
-83,4
+88,4
@@
if TUNEMU
LIBS += -lpcap
endif
LIBS += -lpcap
endif
-AM_CPPFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\"
+AM_CPPFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\"
-I $(abs_top_builddir)/