HardenedBSD/sbin/geom/Makefile
Shawn Webb a726e724d7
Merge remote-tracking branch 'internal/freebsd/current/main' into hardened/current/master
Conflicts:
	lib/libexecinfo/Makefile (unresolved)
	libexec/rtld-elf/amd64/Makefile.inc (unresolved)
	sbin/ldconfig/Makefile (unresolved)
	secure/usr.bin/openssl/Makefile (unresolved)
	share/keys/Makefile (unresolved)
	sys/modules/aout/Makefile (deleted)
	sys/modules/sgx/Makefile (deleted)
	sys/modules/sgx_linux/Makefile (deleted)
	usr.sbin/bsdinstall/Makefile (unresolved)
	usr.sbin/unbound/Makefile (unresolved)
2024-07-16 00:28:21 +00:00

31 lines
543 B
Makefile

.include <src.opts.mk>
.PATH: ${.CURDIR}/core ${.CURDIR}/misc
PACKAGE=geom
PROG= geom
SRCS= geom.c subr.c
MAN= geom.8
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/core
CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\"
NOCFI= yes
LIBADD= geom util
.if defined(RESCUE)
.PATH: ${SRCTOP}/lib/geom/part \
${SRCTOP}/lib/geom/label
SRCS+= geom_label.c geom_part.c
MAN=
WARNS?= 2
CFLAGS+=-DSTATIC_GEOM_CLASSES
.else
.include "${SRCTOP}/lib/geom/Makefile.classes"
LINKS= ${GEOM_CLASSES:S|^|${BINDIR}/geom ${BINDIR}/g|}
.endif
.include <bsd.prog.mk>