Source-Changes-HG archive

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

[src/trunk]: src/tools/elftoolchain/common Add a Makefile missed out in a pre...



details:   https://anonhg.NetBSD.org/src/rev/41c9b8022c17
branches:  trunk
changeset: 365209:41c9b8022c17
user:      jkoshy <jkoshy%NetBSD.org@localhost>
date:      Wed Apr 13 17:54:05 2022 +0000

description:
Add a Makefile missed out in a previous commit.

diffstat:

 tools/elftoolchain/common/Makefile |  33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r 28971b692ad3 -r 41c9b8022c17 tools/elftoolchain/common/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/elftoolchain/common/Makefile        Wed Apr 13 17:54:05 2022 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2022/04/13 17:54:05 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} ${.ALLSRC} ${.TARGET}
+.endfor
+
+.PHONY:        all clean depend obj
+
+install: .PHONY includes
+
+includes: .PHONY ${HOST_INCSDIR} .WAIT ${INCS}
+
+all depend clean clobber:
+
+cleandepend:
+       rm -f ${.OBJDIR}/.depend
+
+.include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index