Module Name: src Committed By: jkoshy Date: Wed Apr 13 17:54:05 UTC 2022
Added Files: src/tools/elftoolchain/common: Makefile Log Message: Add a Makefile missed out in a previous commit. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tools/elftoolchain/common/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Added files: Index: src/tools/elftoolchain/common/Makefile diff -u /dev/null src/tools/elftoolchain/common/Makefile:1.1 --- /dev/null Wed Apr 13 17:54:05 2022 +++ src/tools/elftoolchain/common/Makefile Wed Apr 13 17:54:05 2022 @@ -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>