summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/wpa/hostapd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/wpa/hostapd/Makefile b/usr.sbin/wpa/hostapd/Makefile
index c6a959e..2eb3e1f 100644
--- a/usr.sbin/wpa/hostapd/Makefile
+++ b/usr.sbin/wpa/hostapd/Makefile
@@ -16,6 +16,11 @@ CLEANFILES=driver_conf.c
MAN= hostapd.8 hostapd.conf.5
+.if ${MK_EXAMPLES} != "no"
+FILESDIR= ${SHAREDIR}/examples/hostapd
+FILES= hostapd.conf hostapd.eap_user hostapd.wpa_psk
+.endif
+
CFLAGS+= -I${.CURDIR} -I${HOSTAPD_DISTDIR}
CFLAGS+= -DCONFIG_DRIVER_BSD
CFLAGS+= -DCONFIG_CTRL_IFACE
OpenPOWER on IntegriCloud