aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 09:34:21 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-03-17 09:35:54 -0600
commit362884e65029464d97e50c9b660b5b90621e239e (patch)
tree814c9607aa8ef7d3a4a4e4866071219f959c324d /src/Makefile
downloadwireguard-freebsd-362884e65029464d97e50c9b660b5b90621e239e.tar.xz
wireguard-freebsd-362884e65029464d97e50c9b660b5b90621e239e.zip
Initial import
There's still more to do with wiring this up properly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..d65cf80
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+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
+
+.include <bsd.kmod.mk>