mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
mpsutil: Clean up libutil deps
mpsutil doesn't use libutil, so doesn't need to include libutil.h. See commit76103694a0
. No functional change intended. MFC after: 1 week (cherry picked from commitd56ce5915c
)
This commit is contained in:
parent
085ab2c143
commit
da2bb86507
|
@ -1,17 +1,13 @@
|
||||||
|
|
||||||
PROG= mpsutil
|
PROG= mpsutil
|
||||||
SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c
|
SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c
|
||||||
MAN= mpsutil.8
|
MAN= mpsutil.8
|
||||||
|
|
||||||
WARNS?= 3
|
WARNS?= 3
|
||||||
|
|
||||||
#LIBADD= cam util
|
|
||||||
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
||||||
MLINKS= mpsutil.8 mprutil.8
|
MLINKS= mpsutil.8 mprutil.8
|
||||||
|
|
||||||
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
|
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
|
||||||
# Avoid dirdep dependency on libutil
|
|
||||||
CFLAGS+= -I${SRCTOP}/lib/libutil
|
|
||||||
|
|
||||||
# Here be dragons
|
# Here be dragons
|
||||||
.ifdef DEBUG
|
.ifdef DEBUG
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <libutil.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <libutil.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
#include <sys/endian.h>
|
#include <sys/endian.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <libutil.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Reference in a new issue