NetBSD/sbin/gpt/Makefile

27 lines
609 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2014/12/29 16:27:06 christos Exp $
2006-10-16 02:34:15 +04:00
# $FreeBSD: src/sbin/gpt/Makefile,v 1.7 2005/09/01 02:49:20 marcel Exp $
PROG= gpt
2014-09-30 01:04:34 +04:00
SRCS= add.c biosboot.c create.c destroy.c gpt.c label.c map.c \
migrate.c recover.c remove.c resize.c resizedisk.c \
set.c show.c type.c unset.c gpt_uuid.c
2006-10-16 02:34:15 +04:00
MAN= gpt.8
2014-09-30 01:04:34 +04:00
.if (${HOSTPROG:U} == "")
SRCS+= backup.c restore.c
2006-10-16 02:36:29 +04:00
LDADD+= -lprop -lutil
DPADD+= ${LIBPROP} ${LIBUTIL}
.if ${USE_DRVCTL:Uno} == "yes"
CPPFLAGS+=-DUSE_DRVCTL
SRCS+=drvctl.c
.else
.PATH: ${.CURDIR}/../fsck
CPPFLAGS+=-I${.CURDIR}/../fsck
SRCS+=partutil.c
.endif
2014-09-30 01:04:34 +04:00
.endif
2006-10-16 02:36:29 +04:00
2006-10-16 02:34:15 +04:00
.include <bsd.prog.mk>