1ccflags-y := -O3
2ccflags-y += -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt'
3ccflags-$(CONFIG_WIREGUARD_DEBUG) += -DDEBUG
4wireguard-y := main.o
5wireguard-y += noise.o
6wireguard-y += device.o
7wireguard-y += peer.o
8wireguard-y += timers.o
9wireguard-y += queueing.o
10wireguard-y += send.o
11wireguard-y += receive.o
12wireguard-y += socket.o
13wireguard-y += peerlookup.o
14wireguard-y += allowedips.o
15wireguard-y += ratelimiter.o
16wireguard-y += cookie.o
17wireguard-y += netlink.o
18obj-$(CONFIG_WIREGUARD) := wireguard.o
19