3bdf775801
and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
29 lines
464 B
Makefile
29 lines
464 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
|
|
MAN=
|
|
|
|
WARNS?= 2
|
|
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
|