head	1.3;
access;
symbols
	netbsd-11-0-RC5:1.3
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.2
	netbsd-11-base:1.3;
locks; strict;
comment	@# @;


1.3
date	2025.03.02.00.03.41;	author riastradh;	state Exp;
branches;
next	1.2;
commitid	XjtJ67TO5t5gmqLF;

1.2
date	2025.02.25.20.23.19;	author rillig;	state Exp;
branches;
next	1.1;
commitid	t5XvaCJvMtMkgTKF;

1.1
date	2025.02.24.13.47.55;	author christos;	state Exp;
branches;
next	;
commitid	Pwu8jNs0IybX6JKF;


desc
@@


1.3
log
@efi(8): Nix trailing whitespace.
@
text
@#	$NetBSD: Makefile,v 1.2 2025/02/25 20:23:19 rillig Exp $

WARNS=9

.include <bsd.init.mk>

GPT=${NETBSDSRCDIR}/sbin/gpt

.PATH: ${GPT}

CFLAGS+=	-Wno-address-of-packed-member
CPPFLAGS+=	-I${GPT}
DPADD+= 	${LIBUTIL}
LDADD+= 	-lutil

PROG=		efi
MAN=		${PROG}.8

SRCS=		main.c
SRCS+=		bootvar.c
SRCS+=		certs.c
SRCS+=		devpath.c
SRCS+=		devpath1.c
SRCS+=		devpath2.c
SRCS+=		devpath3.c
SRCS+=		devpath4.c
SRCS+=		devpath5.c
SRCS+=		efiio.c
SRCS+=		getvars.c
SRCS+=		gpt.c
SRCS+=		gpt_uuid.c
SRCS+=		gptsubr.c
SRCS+=		map.c
SRCS+=		setvar.c
SRCS+=		showvar.c
SRCS+=		utils.c

.include <bsd.prog.mk>
@


1.2
log
@efi: don't use compound expressions as initializers

Lint doesn't like them, even though GCC accepts them.

No binary change.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2025/02/24 13:47:55 christos Exp $
d3 1
a3 1
WARNS=9	
@


1.1
log
@New efi program from Anon Ymous.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 2024/12/22 16:21:59 anonymous Exp $
a18 4
LINTFLAGS.certs.c += -X177
LINTFLAGS.devpath3.c += -X177
LINTFLAGS.devpath4.c += -X177

@

