diff options
Diffstat (limited to 'sbin/geom/Makefile')
-rw-r--r-- | sbin/geom/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sbin/geom/Makefile b/sbin/geom/Makefile index 95f00d914756..af2b77bbec28 100644 --- a/sbin/geom/Makefile +++ b/sbin/geom/Makefile @@ -1,5 +1,23 @@ # $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 |