Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/elftoolchain/common Prepare for <elfdefinitions...



details:   https://anonhg.NetBSD.org/src/rev/988524702e68
branches:  trunk
changeset: 954379:988524702e68
user:      jkoshy <jkoshy%NetBSD.org@localhost>
date:      Tue Apr 06 19:40:19 2021 +0000

description:
Prepare for <elfdefinitions.h> and <sys/elfdefinitions.h> to be installed
into ${DESTDIR}/usr/include.

diffstat:

 external/bsd/elftoolchain/common/Makefile     |  26 +++++++++++++++++++++++++
 external/bsd/elftoolchain/common/sys/Makefile |  28 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 0 deletions(-)

diffs (62 lines):

diff -r 011877db1d7d -r 988524702e68 external/bsd/elftoolchain/common/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/elftoolchain/common/Makefile Tue Apr 06 19:40:19 2021 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2021/04/06 19:40:19 jkoshy Exp $
+
+.include <bsd.own.mk>
+
+TOP=   ${.CURDIR}/../dist
+SRCDIR=        ${TOP}/common
+
+.PATH: ${SRCDIR}
+
+SUBDIR=                sys
+
+INCS=          elfdefinitions.h
+INCSDIR=       /usr/include
+
+.PHONY:        all clean clobber depend obj
+
+all depend:
+
+clean clobber:
+       rm -f ${CLEANFILES}
+
+cleandepend:
+       rm -f ${.OBJDIR}/.depend
+
+.include <bsd.inc.mk>
+.include <bsd.subdir.mk>
diff -r 011877db1d7d -r 988524702e68 external/bsd/elftoolchain/common/sys/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/elftoolchain/common/sys/Makefile     Tue Apr 06 19:40:19 2021 +0000
@@ -0,0 +1,28 @@
+# $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
+       ${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>



Home | Main Index | Thread Index | Old Index