Home | History | Annotate | Line # | Download | only in sys
      1 # $NetBSD: Makefile,v 1.2 2024/03/27 21:55:35 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 TOP=	${.CURDIR}/../../dist
      6 SRCDIR=	${TOP}/common/sys
      7 
      8 .PATH:	${SRCDIR}
      9 
     10 INCS=		elfdefinitions.h
     11 INCSDIR=	/usr/include/sys
     12 
     13 elfdefinitions.h:	elfdefinitions.m4 elfconstants.m4
     14 	${_MKTARGET_CREATE}
     15 	${TOOL_M4} -I${SRCDIR} -D SRCDIR=${SRCDIR} ${M4FLAGS} \
     16 		elfdefinitions.m4 > ${.TARGET}
     17 
     18 .PHONY:	all clean clobber depend
     19 
     20 all depend:	elfdefinitions.h
     21 
     22 clean clobber:
     23 	rm -f ${INCS}
     24 
     25 cleandepend:
     26 	rm -f ${.OBJDIR}/.depend
     27 
     28 .include <bsd.inc.mk>
     29 .include <bsd.obj.mk>
     30