Changeset View
Changeset View
Standalone View
Standalone View
cddl/lib/libspl/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <bsd.init.mk> | .include <bsd.init.mk> | ||||
.include <bsd.compiler.mk> | .include <bsd.compiler.mk> | ||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl | .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl | ||||
.PATH: ${SRCTOP}/sys/contrib/openzfs/include | .PATH: ${SRCTOP}/sys/contrib/openzfs/include | ||||
LIB= spl | LIB= spl | ||||
LIBADD= | LIBADD= | ||||
PACKAGE= runtime | PACKAGE= runtime | ||||
SRCS = \ | SRCS = \ | ||||
assert.c \ | assert.c \ | ||||
getexecname.c \ | |||||
list.c \ | list.c \ | ||||
mkdirp.c \ | mkdirp.c \ | ||||
os/freebsd/getexecname.c \ | |||||
os/freebsd/zone.c \ | os/freebsd/zone.c \ | ||||
page.c \ | page.c \ | ||||
timestamp.c \ | timestamp.c \ | ||||
include/sys/list.h \ | include/sys/list.h \ | ||||
include/sys/list_impl.h | include/sys/list_impl.h | ||||
# These functions are not required when bootstrapping and the atomic code | # These functions are not required when bootstrapping and the atomic code | ||||
# will not compile when building on macOS. | # will not compile when building on macOS. | ||||
.if !defined(BOOTSTRAPPING) | .if !defined(BOOTSTRAPPING) | ||||
SRCS += \ | SRCS += \ | ||||
atomic.c \ | atomic.c \ | ||||
getexecname.c \ | |||||
os/freebsd/getexecname.c \ | |||||
os/freebsd/gethostid.c \ | os/freebsd/gethostid.c \ | ||||
os/freebsd/getmntany.c \ | os/freebsd/getmntany.c \ | ||||
os/freebsd/mnttab.c | os/freebsd/mnttab.c | ||||
.endif | .endif | ||||
WARNS?= 2 | WARNS?= 2 | ||||
CSTD= c99 | CSTD= c99 | ||||
CFLAGS+= -DIN_BASE | CFLAGS+= -DIN_BASE | ||||
Show All 13 Lines |