head	1.3;
access;
symbols
	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.4
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.2
	perseant-exfatfs-base:1.3
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.2
	netbsd-10-base:1.2;
locks; strict;
comment	@# @;


1.3
date	2024.03.26.16.52.03;	author christos;	state Exp;
branches;
next	1.2;
commitid	Pbb0JHrTjOtNTG3F;

1.2
date	2022.05.02.18.28.38;	author jkoshy;	state Exp;
branches;
next	1.1;
commitid	iPObXH1TfihyJvCD;

1.1
date	2022.04.13.17.54.05;	author jkoshy;	state Exp;
branches;
next	;
commitid	f570lvKWLRrX94AD;


desc
@@


1.3
log
@don't install headers as executable.
@
text
@# $NetBSD: Makefile,v 1.2 2022/05/02 18:28:38 jkoshy Exp $

.include <bsd.hostinit.mk>

SRCDIR=	${.CURDIR}/../../../external/bsd/elftoolchain/dist/common

.PATH:	${SRCDIR}

SUBDIR=		sys

INCS=		elfdefinitions.h
HOST_INCSDIR=	${TOOLDIR}/include

HOST_INCINSTFILES=
.for _f in ${INCS}
HOST_INCINSTFILES+= ${HOST_INCSDIR}/${_f}
${HOST_INCSDIR}/${_f}: ${_f}
	${_MKTARGET_INSTALL}
	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}
.endfor

.PHONY:	all clean depend obj

install: .PHONY includes

includes: .PHONY ${HOST_INCSDIR} .WAIT ${HOST_INCINSTFILES}

all depend clean clobber:

cleandepend:
	rm -f ${.OBJDIR}/.depend

.include <bsd.subdir.mk>
@


1.2
log
@Bug fix: use the correct target path in a dependency.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/04/13 17:54:05 jkoshy Exp $
d19 1
a19 1
	${HOST_INSTALL_FILE} ${.ALLSRC} ${.TARGET}
@


1.1
log
@Add a Makefile missed out in a previous commit.
@
text
@d1 1
a1 1
# $NetBSD$
d26 1
a26 1
includes: .PHONY ${HOST_INCSDIR} .WAIT ${INCS}
@

