summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-10-13 13:40:25 +1100
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-10-13 13:40:25 +1100
commit048fdd8509ca7b10fad09e9aa877f7bb5c9565a6 (patch)
tree261a2123fd04e9b5e8ca8d36b4b64c0809666556 /src/Makefile
parentUpdate wireguard.c includes (diff)
downloadwireguard-openbsd-048fdd8509ca7b10fad09e9aa877f7bb5c9565a6.tar.xz
wireguard-openbsd-048fdd8509ca7b10fad09e9aa877f7bb5c9565a6.zip
Move all relevant functions to if_wg.c
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile31
1 files changed, 3 insertions, 28 deletions
diff --git a/src/Makefile b/src/Makefile
index 0634a7709cc..59815f31901 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -23,27 +23,14 @@ patch_ifconfig: /usr/src/sbin/ifconfig/ifconfig.c /usr/src/sbin/ifconfig/Makefil
ifconfig: patch_ifconfig
make -C /usr/src/sbin/ifconfig
-/usr/src/sbin/sysctl/sysctl.c: patches/sysctl.c.patch
- patch -uN /usr/src/sbin/sysctl/sysctl.c < patches/sysctl.c.patch || touch /usr/src/sbin/sysctl/sysctl.c
-
-.PHONY:
-patch_sysctl: /usr/src/sbin/sysctl/sysctl.c
-
-.PHONY:
-sysctl: patch_sysctl
- make -C /usr/src/sbin/sysctl
-
/usr/src/sys/net/if_wg.c: if_wg.c
cp if_wg.c /usr/src/sys/net/if_wg.c
/usr/src/sys/net/if_wg.h: if_wg.h
cp if_wg.h /usr/src/sys/net/if_wg.h
-/usr/src/sys/net/wireguard.c: wireguard.c
- cp wireguard.c /usr/src/sys/net/wireguard.c
-
-/usr/src/sys/net/wireguard.h: wireguard.h
- cp wireguard.h /usr/src/sys/net/wireguard.h
+/usr/src/sys/net/if_wg_vars.h: if_wg_vars.h
+ cp if_wg_vars.h /usr/src/sys/net/if_wg_vars.h
/usr/src/sys/crypto/blake2s.c: blake2s.c
cp blake2s.c /usr/src/sys/crypto/blake2s.c
@@ -57,18 +44,6 @@ sysctl: patch_sysctl
/usr/src/sys/crypto/curve25519.h: curve25519.h
cp curve25519.h /usr/src/sys/crypto/curve25519.h
-/usr/src/sys/sys/bloombucket.h: bloombucket.h
- cp bloombucket.h /usr/src/sys/sys/bloombucket.h
-
-/usr/src/sys/sys/antireplay.h: antireplay.h
- cp antireplay.h /usr/src/sys/sys/antireplay.h
-
-/usr/src/sys/sys/fixedmap.h: fixedmap.h
- cp fixedmap.h /usr/src/sys/sys/fixedmap.h
-
-/usr/src/sys/sys/mpq.h: mpq.h
- cp mpq.h /usr/src/sys/sys/mpq.h
-
/usr/src/sys/kern/kern_wg.c: kern_wg.c
cp kern_wg.c /usr/src/sys/kern/kern_wg.c
@@ -113,7 +88,7 @@ sysctl: patch_sysctl
patch -uN /usr/src/distrib/sets/lists/man/mi < patches/man_mi.patch || touch /usr/src/distrib/sets/lists/man/mi
.PHONY:
-patch_kernel: /usr/src/sys/net/wireguard.c /usr/src/sys/net/wireguard.h /usr/src/sys/crypto/blake2s.c /usr/src/sys/crypto/blake2s.h /usr/src/sys/crypto/curve25519.c /usr/src/sys/crypto/curve25519.h /usr/src/sys/crypto/chacha_private.h /usr/src/sys/crypto/chachapoly.h /usr/src/sys/crypto/chachapoly.c /usr/src/sys/conf/files /usr/src/sys/conf/GENERIC /usr/src/sys/netinet/in_pcb.h /usr/src/sys/netinet/udp_usrreq.c /usr/src/sys/net/if_wg.c /usr/src/sys/net/if_wg.h /usr/src/sys/sys/bloombucket.h /usr/src/sys/sys/fixedmap.h /usr/src/sys/kern/uipc_mbuf.c /usr/src/sys/sys/mpq.h /usr/src/sys/sys/antireplay.h /usr/src/sys/kern/kern_wg.c
+patch_kernel: /usr/src/sys/crypto/blake2s.c /usr/src/sys/crypto/blake2s.h /usr/src/sys/crypto/curve25519.c /usr/src/sys/crypto/curve25519.h /usr/src/sys/crypto/chacha_private.h /usr/src/sys/crypto/chachapoly.h /usr/src/sys/crypto/chachapoly.c /usr/src/sys/conf/files /usr/src/sys/conf/GENERIC /usr/src/sys/netinet/in_pcb.h /usr/src/sys/netinet/udp_usrreq.c /usr/src/sys/net/if_wg.c /usr/src/sys/net/if_wg.h /usr/src/sys/net/if_wg_vars.h /usr/src/sys/kern/uipc_mbuf.c
.PHONY:
patch_userspace: /usr/src/usr.bin/kdump/mkioctls /usr/src/usr.bin/kdump/Makefile /usr/src/distrib/sets/lists/comp/mi