diff options
author | marcel <marcel@FreeBSD.org> | 2007-11-04 00:32:54 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-11-04 00:32:54 +0000 |
commit | e52d34f074eb45508929484728604bbb8fb94593 (patch) | |
tree | 39bd6447af5779e5d5f8008faa8cd7b63166dfc0 /sbin/geom/Makefile | |
parent | 46608d3cace876f78956135d50fcacc0c45d9a8e (diff) | |
download | FreeBSD-src-e52d34f074eb45508929484728604bbb8fb94593.zip FreeBSD-src-e52d34f074eb45508929484728604bbb8fb94593.tar.gz |
Allow building of a special rescue version of geom that
has a subset of the classes compiled-in.
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 95f00d9..af2b77b 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 |