|
|
|
|
@ -23,15 +23,17 @@ utun_CORE_SOURCES = \
|
|
|
|
|
control_server.c
|
|
|
|
|
|
|
|
|
|
# Platform-specific TUN sources
|
|
|
|
|
utun_TUN_SOURCES = tun_linux.c
|
|
|
|
|
utun_TUN_LIBS =
|
|
|
|
|
|
|
|
|
|
if OS_WINDOWS |
|
|
|
|
utun_TUN_SOURCES = tun_windows.c
|
|
|
|
|
utun_TUN_LIBS = -liphlpapi -lws2_32 -ladvapi32 -lbcrypt -ldbghelp
|
|
|
|
|
elseif OS_FREEBSD |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
if OS_FREEBSD |
|
|
|
|
utun_TUN_SOURCES = tun_freebsd.c
|
|
|
|
|
utun_TUN_LIBS =
|
|
|
|
|
else |
|
|
|
|
utun_TUN_SOURCES = tun_linux.c
|
|
|
|
|
utun_TUN_LIBS =
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
# TinyCrypt sources (only used without OpenSSL)
|
|
|
|
|
|