aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 09:46:08 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 10:13:22 -0600
commit8e0470dabb7f373ef41ab5aeb77068f84729f5da (patch)
tree7ea051b8eea1569bd0ebcea6334a9c6aa486fca4 /src/Makefile
parentInitial import (diff)
downloadwireguard-freebsd-8e0470dabb7f373ef41ab5aeb77068f84729f5da.tar.xz
wireguard-freebsd-8e0470dabb7f373ef41ab5aeb77068f84729f5da.zip
support: prepare for out of tree builds
This involves weird backporting things. Hopefully support.c here is not as bad as compat.h on Linux. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index d65cf80..c024ea1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,10 +2,8 @@
KMOD= if_wg
-.PATH: ${SRCTOP}/sys/dev/if_wg
-
SRCS= opt_inet.h opt_inet6.h device_if.h bus_if.h ifdi_if.h
-SRCS+= if_wg.c wg_noise.c wg_cookie.c crypto.c
+SRCS+= if_wg.c wg_noise.c wg_cookie.c crypto.c support.c
.include <bsd.kmod.mk>