1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sbin/geom/Makefile
Marcel Moolenaar 14bf405be4 Replace checks for RESCUE in sources with checks for STATIC_GEOM_CLASSES
and define STATIC_GEOM_CLASSES when building the rescue binary. This way
geom can more easily be part of other crunched binaries, as it requires
only a Makefile change.
2008-06-04 20:07:59 +00:00

27 lines
422 B
Makefile

# $FreeBSD$
.if defined(RESCUE)
.PATH: ${.CURDIR}/class/part \
${.CURDIR}/class/label \
${.CURDIR}/core \
${.CURDIR}/misc
PROG= geom
SRCS= geom.c geom_label.c geom_part.c subr.c
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core -DSTATIC_GEOM_CLASSES
DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
LDADD= -lgeom -lsbuf -lbsdxml -lutil
.include <bsd.prog.mk>
.else
SUBDIR= core class
.include <bsd.subdir.mk>
.endif