1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/core ${.CURDIR}/misc 6 7PACKAGE=runtime 8PROG= geom 9SRCS= geom.c subr.c 10MAN= geom.8 11CFLAGS+= -I${.CURDIR} -I${.CURDIR}/core 12CFLAGS+= -DGEOM_CLASS_DIR=\"${GEOM_CLASS_DIR}\" 13 14LIBADD= geom util 15 16.if defined(RESCUE) 17.PATH: ${SRCTOP}/lib/geom/part \ 18 ${SRCTOP}/lib/geom/label 19 20SRCS+= geom_label.c geom_part.c 21MAN= 22 23WARNS?= 2 24CFLAGS+=-DSTATIC_GEOM_CLASSES 25.else 26.include "${SRCTOP}/lib/geom/Makefile.classes" 27LINKS= ${GEOM_CLASSES:S|^|${BINDIR}/geom ${BINDIR}/g|} 28.endif 29 30.include <bsd.prog.mk> 31