1# $FreeBSD$ 2 3.if defined(RESCUE) || defined(RELEASE_CRUNCH) 4 5.PATH: ${.CURDIR}/class/part \ 6 ${.CURDIR}/class/label \ 7 ${.CURDIR}/core \ 8 ${.CURDIR}/misc 9 10PROG= geom 11SRCS= geom.c geom_label.c geom_part.c subr.c 12NO_MAN= 13 14WARNS?= 2 15CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core -DSTATIC_GEOM_CLASSES 16 17DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL} 18LDADD= -lgeom -lsbuf -lbsdxml -lutil 19 20.include <bsd.prog.mk> 21 22.else 23 24SUBDIR= core class 25 26.include <bsd.subdir.mk> 27 28.endif 29