2004-05-20 10:09:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
.include <src.opts.mk>
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
.PATH: ${.CURDIR}/core ${.CURDIR}/misc
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
PACKAGE=runtime
|
|
|
|
PROG= geom
|
|
|
|
SRCS= geom.c subr.c
|
|
|
|
MAN= geom.8
|
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/core
|
|
|
|
CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\"
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
LIBADD= geom util
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2019-12-16 21:06:24 +00:00
|
|
|
.if defined(RESCUE)
|
2018-06-25 19:55:15 +00:00
|
|
|
.PATH: ${SRCTOP}/lib/geom/part \
|
|
|
|
${SRCTOP}/lib/geom/label
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
SRCS+= geom_label.c geom_part.c
|
|
|
|
MAN=
|
2007-11-04 00:32:54 +00:00
|
|
|
|
2018-06-25 19:55:15 +00:00
|
|
|
WARNS?= 2
|
|
|
|
CFLAGS+=-DSTATIC_GEOM_CLASSES
|
2007-11-04 00:32:54 +00:00
|
|
|
.else
|
2018-06-25 19:55:15 +00:00
|
|
|
.include "${SRCTOP}/lib/geom/Makefile.classes"
|
|
|
|
LINKS= ${GEOM_CLASSES:S|^|${BINDIR}/geom ${BINDIR}/g|}
|
2007-11-04 00:32:54 +00:00
|
|
|
.endif
|
2018-06-25 19:55:15 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|