1 1.14 jnemeth # $NetBSD: Makefile,v 1.14 2015/11/03 02:19:24 jnemeth Exp $ 2 1.1 christos # $FreeBSD: src/sbin/gpt/Makefile,v 1.7 2005/09/01 02:49:20 marcel Exp $ 3 1.1 christos 4 1.1 christos PROG= gpt 5 1.14 jnemeth SRCS= add.c biosboot.c create.c destroy.c gpt.c header.c label.c map.c \ 6 1.11 christos migrate.c recover.c remove.c resize.c resizedisk.c \ 7 1.12 christos set.c show.c type.c unset.c gpt_uuid.c 8 1.1 christos MAN= gpt.8 9 1.1 christos 10 1.11 christos .if (${HOSTPROG:U} == "") 11 1.11 christos SRCS+= backup.c restore.c 12 1.2 christos LDADD+= -lprop -lutil 13 1.2 christos DPADD+= ${LIBPROP} ${LIBUTIL} 14 1.13 christos 15 1.13 christos .if ${USE_DRVCTL:Uno} == "yes" 16 1.13 christos CPPFLAGS+=-DUSE_DRVCTL 17 1.13 christos SRCS+=drvctl.c 18 1.13 christos .else 19 1.13 christos .PATH: ${.CURDIR}/../fsck 20 1.13 christos CPPFLAGS+=-I${.CURDIR}/../fsck 21 1.13 christos SRCS+=partutil.c 22 1.13 christos .endif 23 1.11 christos .endif 24 1.2 christos 25 1.13 christos 26 1.1 christos .include <bsd.prog.mk> 27