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 14CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core -DSTATIC_GEOM_CLASSES 15 16DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL} 17LDADD= -lgeom -lsbuf -lbsdxml -lutil 18 19.include <bsd.prog.mk> 20 21.else 22 23SUBDIR= core class 24 25.include <bsd.subdir.mk> 26 27.endif 28