1# $NetBSD: rs6000-inc.mk,v 1.1 2024/06/18 04:07:18 mrg Exp $ 2 3# makefile snippet to build the rs6000-vecdefs files, used by include and 4# usr.bin. 5 6.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64" # { 7 8rs6000-gen-builtins.lo: ${HH} ${DIST}/gcc/config/rs6000/rs6000-gen-builtins.cc 9rbtree.lo: ${HH} ${DIST}/gcc/config/rs6000/rbtree.cc 10rs6000-gen-builtins: rs6000-gen-builtins.lo rbtree.lo 11 ${_MKTARGET_LINK} 12 ${HOST_LINK.cc} -o ${.TARGET} ${.ALLSRC} ${NBCOMPATLIB} ${HOSTLIBIBERTY} ${LDFLAGS.${.TARGET}} 13rs6000-builtins.cc: rs6000-gen-builtins \ 14 ${DIST}/gcc/config/rs6000/rs6000-builtins.def \ 15 ${DIST}/gcc/config/rs6000/rs6000-overload.def 16 ${_MKTARGET_CREATE} 17 ./rs6000-gen-builtins \ 18 ${DIST}/gcc/config/rs6000/rs6000-builtins.def \ 19 ${DIST}/gcc/config/rs6000/rs6000-overload.def \ 20 rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h 21rs6000-builtins.h rs6000-vecdefines.h: rs6000-builtins.cc 22 23CLEANFILES+= rs6000-builtins.h rs6000-builtins.cc rs6000-vecdefines.h 24CLEANFILES+= rs6000-gen-builtins rbtree.lo rs6000-gen-builtins.lo 25 26.endif # } 27