head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.4
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.2
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.6
	netbsd-10-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.4
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.2
	cjep_staticlib_x-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2024.03.27.21.55.35;	author christos;	state Exp;
branches;
next	1.1;
commitid	6pqFWZ7XmN7UxQ3F;

1.1
date	2021.04.06.19.40.19;	author jkoshy;	state Exp;
branches;
next	;
commitid	puWJy6i2hWNMHgOC;


desc
@@


1.2
log
@Add ${_MKTARGET_CREATE}
@
text
@# $NetBSD: Makefile,v 1.1 2021/04/06 19:40:19 jkoshy Exp $

.include <bsd.own.mk>

TOP=	${.CURDIR}/../../dist
SRCDIR=	${TOP}/common/sys

.PATH:	${SRCDIR}

INCS=		elfdefinitions.h
INCSDIR=	/usr/include/sys

elfdefinitions.h:	elfdefinitions.m4 elfconstants.m4
	${_MKTARGET_CREATE}
	${TOOL_M4} -I${SRCDIR} -D SRCDIR=${SRCDIR} ${M4FLAGS} \
		elfdefinitions.m4 > ${.TARGET}

.PHONY:	all clean clobber depend

all depend:	elfdefinitions.h

clean clobber:
	rm -f ${INCS}

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

.include <bsd.inc.mk>
.include <bsd.obj.mk>
@


1.1
log
@Prepare for <elfdefinitions.h> and <sys/elfdefinitions.h> to be installed
into ${DESTDIR}/usr/include.
@
text
@d1 1
a1 1
# $NetBSD$
d14 1
@

