NetBSD/usr.sbin/wpa/Makefile.inc

33 lines
757 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2008/01/26 21:50:21 christos Exp $
BINDIR?= /usr/sbin
USE_FORT?= yes # network client/server
WPA_DISTDIR?= ${.CURDIR}/../../../dist/wpa
WPA_SUPPLICANT_DISTDIR?= ${WPA_DISTDIR}/wpa_supplicant
HOSTAPD_DISTDIR?= ${WPA_DISTDIR}/hostapd
.PATH.c: \
${WPA_DISTDIR}/src/common \
${WPA_DISTDIR}/src/crypto \
${WPA_DISTDIR}/src/eap_common \
${WPA_DISTDIR}/src/eapol_supp \
${WPA_DISTDIR}/src/l2_packet \
${WPA_DISTDIR}/src/utils
CPPFLAGS+= \
-I${WPA_DISTDIR}/src \
-I${WPA_DISTDIR}/src/common \
-I${WPA_DISTDIR}/src/crypto \
-I${WPA_DISTDIR}/src/l2_packet \
-I${WPA_DISTDIR}/src/utils
CPPFLAGS+=-DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX
.include <bsd.own.mk>
.if ${MKCRYPTO} == "no"
NO_OPENSSL= # defined
.endif