Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/iwn/iwnstats/Makefile
Show All 9 Lines | |||||
CFLAGS+=-I${.CURDIR}/../../../../sys/ | CFLAGS+=-I${.CURDIR}/../../../../sys/ | ||||
PROG= iwnstats | PROG= iwnstats | ||||
# Because of a clang preprocessor parser limitation causing this | # Because of a clang preprocessor parser limitation causing this | ||||
# to not compile, use gcc for now. | # to not compile, use gcc for now. | ||||
#CC= gcc | #CC= gcc | ||||
BINDIR?=/usr/local/sbin | |||||
bz: Most of the tools from tools/tools/net80211/ seem to be installed to /usr/local/bin (though… | |||||
Done Inline ActionsWould /usr/local/sbin a better choice? Indeed some of them require super user privilege and it is the case of iwnstats. Otherwise I'm fine to follow what others tools does and update with /usr/local/bin, let me know. sbz: Would `/usr/local/sbin` a better choice? Indeed some of them require super user privilege and… | |||||
Done Inline ActionsI think /usr/local/sbin is better than /usr/local/bin. bz: I think /usr/local/sbin is better than /usr/local/bin. | |||||
Done Inline ActionsDone, I updated the binary directory with /usr/local/sbin, thanks. sbz: Done, I updated the binary directory with `/usr/local/sbin`, thanks. | |||||
SRCS= main.c iwn_ioctl.c | SRCS= main.c iwn_ioctl.c | ||||
# CFLAGS.clang+= -fbracket-depth=512 | # CFLAGS.clang+= -fbracket-depth=512 | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |
Most of the tools from tools/tools/net80211/ seem to be installed to /usr/local/bin (though arguably sbin be more appropriate as some need super user priv).