blob: f9fb85abd3974aa8051b081cf8bf4563a1b2275c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.2 2022/05/02 18:28:38 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 ${HOST_INCINSTFILES}
all depend clean clobber:
cleandepend:
rm -f ${.OBJDIR}/.depend
.include <bsd.subdir.mk>
|