xref: /freebsd/usr.sbin/wpa/src/utils/Makefile (revision 9a0f82285322a338548d13fcda07e1d574301190)
125ecdc7dSCy Schubert.include <src.opts.mk>
225ecdc7dSCy Schubert
325ecdc7dSCy Schubert.include "../../Makefile.inc"
425ecdc7dSCy Schubert
5*9a0f8228SCy Schubert.include "../../Makefile.crypto"
6*9a0f8228SCy Schubert
725ecdc7dSCy SchubertLIB=	wpautils
825ecdc7dSCy SchubertINTERNALLIB=
925ecdc7dSCy Schubert
1025ecdc7dSCy Schubert.PATH:	${WPA_DISTDIR}/src/utils
1125ecdc7dSCy Schubert
1225ecdc7dSCy SchubertSRCS=	base64.c \
1325ecdc7dSCy Schubert	bitfield.c \
1425ecdc7dSCy Schubert	common.c \
1525ecdc7dSCy Schubert	edit.c \
1625ecdc7dSCy Schubert	eloop.c \
1725ecdc7dSCy Schubert	ip_addr.c \
1825ecdc7dSCy Schubert	os_unix.c \
1925ecdc7dSCy Schubert	uuid.c \
2025ecdc7dSCy Schubert	wpa_debug.c \
2125ecdc7dSCy Schubert	wpabuf.c
2225ecdc7dSCy Schubert
2325ecdc7dSCy SchubertCFLAGS+=-DCONFIG_DEBUG_FILE
2425ecdc7dSCy Schubert
2525ecdc7dSCy Schubert.if ${MK_INET6} != "no"
2625ecdc7dSCy SchubertCFLAGS+= -DCONFIG_IPV6
2725ecdc7dSCy Schubert.endif
2825ecdc7dSCy Schubert
2925ecdc7dSCy Schubert# We are only interested in includes at this point. Not libraries.
3025ecdc7dSCy SchubertLIBADD=
3125ecdc7dSCy Schubert
3225ecdc7dSCy Schubert.include <bsd.lib.mk>
33