Cross Reference: Makefile
xref: /src/tools/elftoolchain/common/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/elftoolchain/common/
11.3Schristos# $NetBSD: Makefile,v 1.3 2024/03/26 16:52:03 christos Exp $
21.1Sjkoshy
31.1Sjkoshy.include <bsd.hostinit.mk>
41.1Sjkoshy
51.1SjkoshySRCDIR=	${.CURDIR}/../../../external/bsd/elftoolchain/dist/common
61.1Sjkoshy
71.1Sjkoshy.PATH:	${SRCDIR}
81.1Sjkoshy
91.1SjkoshySUBDIR=		sys
101.1Sjkoshy
111.1SjkoshyINCS=		elfdefinitions.h
121.1SjkoshyHOST_INCSDIR=	${TOOLDIR}/include
131.1Sjkoshy
141.1SjkoshyHOST_INCINSTFILES=
151.1Sjkoshy.for _f in ${INCS}
161.1SjkoshyHOST_INCINSTFILES+= ${HOST_INCSDIR}/${_f}
171.1Sjkoshy${HOST_INCSDIR}/${_f}: ${_f}
181.1Sjkoshy	${_MKTARGET_INSTALL}
191.3Schristos	${HOST_INSTALL_FILE} -m ${NONBINMODE} ${.ALLSRC} ${.TARGET}
201.1Sjkoshy.endfor
211.1Sjkoshy
221.1Sjkoshy.PHONY:	all clean depend obj
231.1Sjkoshy
241.1Sjkoshyinstall: .PHONY includes
251.1Sjkoshy
261.2Sjkoshyincludes: .PHONY ${HOST_INCSDIR} .WAIT ${HOST_INCINSTFILES}
271.1Sjkoshy
281.1Sjkoshyall depend clean clobber:
291.1Sjkoshy
301.1Sjkoshycleandepend:
311.1Sjkoshy	rm -f ${.OBJDIR}/.depend
321.1Sjkoshy
331.1Sjkoshy.include <bsd.subdir.mk>
34

Indexes created Mon Nov 10 17:20:41 GMT 2025