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