aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/wpa/src/wps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/wpa/src/wps/Makefile')
-rw-r--r--usr.sbin/wpa/src/wps/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/usr.sbin/wpa/src/wps/Makefile b/usr.sbin/wpa/src/wps/Makefile
new file mode 100644
index 000000000000..ddb40b682c27
--- /dev/null
+++ b/usr.sbin/wpa/src/wps/Makefile
@@ -0,0 +1,39 @@
+.include <src.opts.mk>
+
+.include "../../Makefile.inc"
+
+LIB= wpawps
+INTERNALLIB=
+
+.PATH: ${WPA_DISTDIR}/src/wps
+
+SRCS= http_client.c \
+ httpread.c \
+ http_server.c \
+ upnp_xml.c \
+ wps_attr_build.c \
+ wps_attr_parse.c \
+ wps_attr_process.c \
+ wps.c \
+ wps_common.c \
+ wps_dev_attr.c \
+ wps_enrollee.c \
+ wps_registrar.c \
+ wps_upnp_ap.c \
+ wps_upnp.c \
+ wps_upnp_event.c \
+ wps_upnp_ssdp.c \
+ wps_upnp_web.c
+
+CFLAGS+=-DCONFIG_P2P
+
+.if ${MK_INET6} != "no"
+CFLAGS+= -DCONFIG_IPV6
+.endif
+
+.include "../../Makefile.crypto"
+
+# We are only interested in includes at this point. Not libraries.
+LIBADD=
+
+.include <bsd.lib.mk>