mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Make these all work with the new way of doing privatelib.
Without these CFLAGS settings a cross-compile won't find the headers anywhere. Tested: * mips (32, big endian) cross-build w/ LOCAL_DIRS including these tools.
This commit is contained in:
parent
6f55e69eb7
commit
a4398ca081
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283002
@ -12,6 +12,7 @@ CLEANFILES+= opt_ah.h
|
||||
|
||||
CFLAGS+=-DATH_SUPPORT_ANI
|
||||
CFLAGS+=-DATH_SUPPORT_TDMA
|
||||
CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
|
||||
LIBADD+= bsdstat
|
||||
|
||||
opt_ah.h:
|
||||
|
@ -8,10 +8,6 @@ MAN=
|
||||
|
||||
PROG= athstats
|
||||
|
||||
# Because of a clang preprocessor parser limitation causing this
|
||||
# to not compile, use gcc for now.
|
||||
#CC= gcc
|
||||
|
||||
SRCS= main.c athstats.c opt_ah.h ah_osdep.h
|
||||
|
||||
CLEANFILES+= opt_ah.h
|
||||
@ -21,6 +17,8 @@ CLEANFILES+= opt_ah.h
|
||||
CFLAGS+=-DATH_SUPPORT_ANI
|
||||
CFLAGS+=-DATH_SUPPORT_TDMA
|
||||
|
||||
CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
|
||||
|
||||
CFLAGS.clang+= -fbracket-depth=512
|
||||
|
||||
LIBADD= bsdstat
|
||||
|
@ -6,6 +6,7 @@ MAN=
|
||||
|
||||
SRCS= main.c mwlstats.c
|
||||
LIBADD= bsdstat
|
||||
CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
|
@ -6,6 +6,7 @@ PROG= wlanstats
|
||||
BINDIR= /usr/local/bin
|
||||
MAN=
|
||||
LIBADD= bsdstat
|
||||
CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
|
||||
|
||||
SRCS= wlanstats.c main.c
|
||||
|
||||
|
@ -5,5 +5,6 @@ SRCS= main.c npestats.c
|
||||
BINDIR= /usr/local/bin
|
||||
MAN=
|
||||
LIBADD= bsdstat
|
||||
CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user