freebsd-src/sbin/growfs/Makefile
Edward Tomasz Napierala c66676c4b0 MFC r281929:
Fix growfs(8) build with debug enabled (make -DGFSDBG).

Sponsored by:	The FreeBSD Foundation
2015-06-21 06:49:44 +00:00

30 lines
473 B
Makefile

# @(#)Makefile 8.8 (Berkeley) 6/21/2000
#
# $TSHeader: src/sbin/growfs/Makefile,v 1.4 2000/12/05 19:45:24 tomsoft Exp $
# $FreeBSD$
#
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../mount
PROG= growfs
SRCS= growfs.c getmntopts.c
MAN= growfs.8
CFLAGS+=-I${.CURDIR}/../mount
.if defined(GFSDBG)
SRCS+= debug.c
CFLAGS+= -DFS_DEBUG
NO_WCAST_ALIGN= yes
.endif
DPADD= ${LIBUTIL}
LDADD= -lutil
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
.include <bsd.prog.mk>