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