mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
libprocstat: ZFS support: Makefile: Tidy up a bit
Regroup assignments tweaking preprocessor defines/undefs, and separately those about include directories. Re-order include directories a bit more logically, and remove redundant ones. Separate logical groups by blank lines. Build artifacts have been verified to stay the same when produced with an external LLVM 18 toolchain. MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48070
This commit is contained in:
parent
b6f4027ad9
commit
618c97b87b
1 changed files with 15 additions and 11 deletions
|
|
@ -6,20 +6,24 @@ WARNS?= 1
|
|||
|
||||
FORTIFY_SOURCE= 0
|
||||
|
||||
CFLAGS+= -DIN_BASE -D__KERNEL__ -D_KERNEL -I. -I${.CURDIR}
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/sys -I. -I..
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
||||
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
||||
CFLAGS+= -DHAVE_ISSETUGID -D_SYS_VMEM_H_ -UKLD_TIED -DKLD_MODULE
|
||||
# We fake a kernel compilation environment in order to get the definition for
|
||||
# 'zpool_t'.
|
||||
CFLAGS+= -DIN_BASE -D__KERNEL__ -D_KERNEL -UKLD_TIED -DKLD_MODULE
|
||||
CFLAGS+= -DHAVE_ISSETUGID -D_SYS_VMEM_H_
|
||||
|
||||
CFLAGS+= -fno-builtin -nostdlib
|
||||
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
||||
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
||||
CFLAGS+= -I${SRCTOP}/sys -I. -I..
|
||||
|
||||
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
||||
|
||||
all: ${OBJS}
|
||||
CLEANFILES= ${OBJS}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue