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