head	1.1;
access;
symbols
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.28
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.26
	perseant-exfatfs-base:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.24
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.22
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.20
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.18
	bouyer-sunxi-drm-base:1.1
	thorpej-i2c-spi-conf2:1.1.0.16
	thorpej-i2c-spi-conf2-base:1.1
	thorpej-futex2:1.1.0.14
	thorpej-futex2-base:1.1
	thorpej-cfargs2:1.1.0.12
	thorpej-cfargs2-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.10
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.8
	cjep_staticlib_x-base:1.1
	thorpej-i2c-spi-conf:1.1.0.6
	thorpej-i2c-spi-conf-base:1.1
	thorpej-cfargs:1.1.0.4
	thorpej-cfargs-base:1.1
	thorpej-futex:1.1.0.2
	thorpej-futex-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2020.08.26.16.03.42;	author riastradh;	state Exp;
branches;
next	;
commitid	5msA1mUJKEZNFAlC;


desc
@@


1.1
log
@Clarify wg(4)'s relation to WireGuard, pending further discussion.

Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8)
tool compatible with wireguard-tools; update wg(4) for the minor
changes from the 2018-06-30 spec to the 2020-06-01 spec; &c.  This just
clarifies the current state of affairs as it exists in the development
tree for now.

Mark the man page EXPERIMENTAL for extra clarity.
@
text
@#	$NetBSD: Makefile,v 1.1 2020/08/20 21:28:01 riastradh Exp $
#

.PATH:	${.CURDIR}/../../../../net ${.CURDIR}/../../../../netinet	\
	${.CURDIR}/../../../../netinet6

LIB=	rumpnet_wg
COMMENT= virtual private network tunnel

IOCONF=	WG.ioconf
SRCS=	if_wg.c

CPPFLAGS.if_wg.c+=	-DWG_RUMPKERNEL

# For sysctl knobs
CPPFLAGS.if_wg.c+=	-DWG_DEBUG_PARAMS
.ifdef RUMP_DEBUG
CPPFLAGS.if_wg.c+=	-DWG_DEBUG_TRACE -DWG_DEBUG_LOG
.endif

SRCS+=	wg_component.c

#SRCS+=	wg_user.c
RUMPCOMP_USER_SRCS=	wg_user.c

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
@
