11.1Sriastrad# $NetBSD: Makefile,v 1.1 2014/07/16 20:59:58 riastradh Exp $ 21.1Sriastrad 31.1Sriastrad.include <bsd.own.mk> 41.1Sriastrad 51.1SriastradDRMSRCDIR= ../../dist/drm 61.1SriastradRADEONSRCDIR= ${DRMSRCDIR}/radeon 71.1SriastradMKREGTABLE= ../../radeon/mkregtable.awk 81.1Sriastrad 91.1SriastradRADEON_REGS= 101.1SriastradRADEON_REGS+= rn50 111.1SriastradRADEON_REGS+= r100 121.1SriastradRADEON_REGS+= r200 131.1SriastradRADEON_REGS+= rv515 141.1SriastradRADEON_REGS+= r300 151.1SriastradRADEON_REGS+= r420 161.1SriastradRADEON_REGS+= rs600 171.1SriastradRADEON_REGS+= r600 181.1SriastradRADEON_REGS+= evergreen 191.1SriastradRADEON_REGS+= cayman 201.1Sriastrad 211.1Sriastraddefault-target: all 221.1Sriastrad 231.1Sriastradall: .PHONY 241.1Sriastrad 251.1Sriastrad.for _regs_ in ${RADEON_REGS} 261.1Sriastradall: ${_regs_}_reg_safe.h 271.1SriastradCLEANFILES+= ${_regs_}_reg_safe.h 281.1Sriastrad${_regs_}_reg_safe.h: ${MKREGTABLE} ${RADEONSRCDIR}/reg_srcs/${_regs_} 291.1Sriastrad ${TOOL_AWK} -f ${MKREGTABLE} < ${RADEONSRCDIR}/reg_srcs/${_regs_} \ 301.1Sriastrad > $@.tmp && \ 311.1Sriastrad mv -f $@.tmp $@ 321.1Sriastrad.endfor 331.1Sriastrad 341.1Sriastradclean: 351.1Sriastrad rm -f ${CLEANFILES} 36