Merge branch 'vendor/GCC50'
[dragonfly.git] / usr.sbin / 802_11 / Makefile.inc
1 CONTRIBDIR= ${.CURDIR}/../../../contrib
2 WPA_DISTDIR=${CONTRIBDIR}/wpa_supplicant
3
4 .PATH.c:        ${.CURDIR}/.. \
5                 ${WPA_DISTDIR}/src/ap \
6                 ${WPA_DISTDIR}/src/common \
7                 ${WPA_DISTDIR}/src/crypto \
8                 ${WPA_DISTDIR}/src/eap_common \
9                 ${WPA_DISTDIR}/src/eapol_supp \
10                 ${WPA_DISTDIR}/src/l2_packet \
11                 ${WPA_DISTDIR}/src/utils \
12                 ${WPA_DISTDIR}/src/wps
13
14 CFLAGS+=-I${.CURDIR}
15 CFLAGS+=-I${WPA_DISTDIR}/src
16 CFLAGS+=-I${WPA_DISTDIR}/src/common
17 CFLAGS+=-I${WPA_DISTDIR}/src/crypto
18 CFLAGS+=-I${WPA_DISTDIR}/src/l2_packet
19 CFLAGS+=-I${WPA_DISTDIR}/src/utils
20
21 CFLAGS+= -DCONFIG_CTRL_IFACE
22 CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
23
24 WARNS?= 1
25
26 .include "../Makefile.inc"