Cross Reference: Makefile
xref: /src/tools/elftoolchain/common/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/elftoolchain/common/
Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2022/04/13 17:54:05 jkoshy Exp $
2
3.include <bsd.hostinit.mk>
4
5SRCDIR=	${.CURDIR}/../../../external/bsd/elftoolchain/dist/common
6
7.PATH:	${SRCDIR}
8
9SUBDIR=		sys
10
11INCS=		elfdefinitions.h
12HOST_INCSDIR=	${TOOLDIR}/include
13
14HOST_INCINSTFILES=
15.for _f in ${INCS}
16HOST_INCINSTFILES+= ${HOST_INCSDIR}/${_f}
17${HOST_INCSDIR}/${_f}: ${_f}
18	${_MKTARGET_INSTALL}
19	${HOST_INSTALL_FILE} ${.ALLSRC} ${.TARGET}
20.endfor
21
22.PHONY:	all clean depend obj
23
24install: .PHONY includes
25
26includes: .PHONY ${HOST_INCSDIR} .WAIT ${INCS}
27
28all depend clean clobber:
29
30cleandepend:
31	rm -f ${.OBJDIR}/.depend
32
33.include <bsd.subdir.mk>
34

Indexes created Tue Dec 16 05:09:39 GMT 2025