summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/clang/include/llvm/Transforms/InstCombine/Makefile
blob: 80ef7b1d57433a2d7870d65304706bc1002c2fbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $OpenBSD: Makefile,v 1.2 2020/08/03 14:45:23 patrick Exp $

.include <bsd.own.mk>

LLVM_SRCS=	${.CURDIR}/../../../../../../llvm/llvm

DEFS=	InstCombineTables.inc

all: ${DEFS}

install:
	@# Nothing here so far ...

clean cleandir:
	rm -f ${DEFS}

InstCombineTables.inc: ${LLVM_SRCS}/lib/Transforms/InstCombine/InstCombineTables.td
	${.OBJDIR}/../../../../llvm-tblgen/llvm-tblgen -gen-searchable-tables \
		-I${LLVM_SRCS}/include/llvm/Transforms/InstCombine \
		-I${LLVM_SRCS}/lib/Target -I${LLVM_SRCS}/include \
		-o ${.TARGET} ${.ALLSRC}

.include <bsd.obj.mk>