2015-12-03 05:02:43 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 2015/12/03 02:02:43 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 $
|
|
|
|
|
2015-12-01 12:05:33 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2015-12-03 05:02:43 +03:00
|
|
|
WARNS=6
|
2006-10-16 02:34:15 +04:00
|
|
|
PROG= gpt
|
2015-11-03 05:19:24 +03:00
|
|
|
SRCS= add.c biosboot.c create.c destroy.c gpt.c header.c label.c map.c \
|
2015-11-30 22:59:34 +03:00
|
|
|
main.c migrate.c recover.c remove.c resize.c resizedisk.c \
|
2014-09-30 21:59:59 +04:00
|
|
|
set.c show.c type.c unset.c gpt_uuid.c
|
2006-10-16 02:34:15 +04:00
|
|
|
MAN= gpt.8
|
|
|
|
|
2015-12-01 12:05:33 +03:00
|
|
|
#LINKS= ${BINDIR}/gpt ${BINDIR}/gptlabel
|
|
|
|
#MLINKS= gpt.8 gptlabel.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}
|
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>
|