Browse Source

1

nodeinfo-routing-update
Evgeny 7 months ago
parent
commit
8bef8d8644
  1. 18
      src/Makefile.am

18
src/Makefile.am

@ -23,17 +23,31 @@ utun_CORE_SOURCES = \
control_server.c
# Platform-specific TUN sources
utun_TUN_SOURCES = tun_linux.c
utun_TUN_LIBS =
# Use AM_CONDITIONAL to select the right source file
if OS_WINDOWS
utun_TUN_SOURCES = tun_windows.c
utun_TUN_LIBS = -liphlpapi -lws2_32 -ladvapi32 -lbcrypt -ldbghelp
AM_CONDITIONAL(TUN_FREEBSD, [false])
AM_CONDITIONAL(TUN_LINUX, [false])
endif
if OS_FREEBSD
utun_TUN_SOURCES = tun_freebsd.c
utun_TUN_LIBS =
AM_CONDITIONAL(TUN_FREEBSD, [true])
AM_CONDITIONAL(TUN_LINUX, [false])
endif
if OS_WINDOWS
else
if OS_FREEBSD
else
utun_TUN_SOURCES = tun_linux.c
utun_TUN_LIBS =
AM_CONDITIONAL(TUN_FREEBSD, [false])
AM_CONDITIONAL(TUN_LINUX, [true])
endif
endif
# TinyCrypt sources (only used without OpenSSL)

Loading…
Cancel
Save