freebsd-dev/sbin/geom/Makefile
Marcel Moolenaar a16f9b367d Allow building of a special rescue version of geom that
has a subset of the classes compiled-in.
2007-11-04 00:32:54 +00:00

24 lines
355 B
Makefile

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