ad8d265406
RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily to avoid that developers have to set NO_MAN manually when they build the static variant.
28 lines
457 B
Makefile
28 lines
457 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
|
|
NO_MAN=
|
|
|
|
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
|