freebsd-dev/sbin/geom/Makefile
Marcel Moolenaar db300278f8 Allow building a static geom(8) for release related crunched
binaries. In particular, this allows geom to be added to the
boot_crunch binary on ia64.
2008-06-05 15:24:10 +00:00

27 lines
449 B
Makefile

# $FreeBSD$
.if defined(RESCUE) || defined(RELEASE_CRUNCH)
.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