# $OpenBSD: Makefile,v 1.1 2016/09/05 10:56:48 pascal Exp $ .include LLVM_SRCS= ${.CURDIR}/../../../../../llvm DEFS= Attributes.inc Intrinsics.gen all: ${DEFS} install: # Nothing here so far ... depend: # Nothing here so far ... clean: rm -f ${DEFS} Attributes.inc: ${LLVM_SRCS}/include/llvm/IR/Attributes.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-attrs \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} Intrinsics.gen: ${LLVM_SRCS}/include/llvm/IR/Intrinsics.td ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-intrinsic \ -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ -I${LLVM_SRCS}/include \ -o ${.TARGET} ${.ALLSRC} .include