blob: 4c4af42166f50ee02ed752cf65a4a5b7fc3fb8de [file] [log] [blame]
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("PPCGenExegesis") {
args = [ "-gen-exegesis" ]
td_file = "//llvm/lib/Target/PowerPC/PPC.td"
}
static_library("PowerPC") {
output_name = "LLVMExegesisPowerPC"
deps = [
":PPCGenExegesis",
# Exegesis reaches inside the Target/PowerPC tablegen internals and must
# depend on these Target/PowerPC-internal build targets.
"//llvm/lib/Target/PowerPC/MCTargetDesc",
]
sources = [
"Target.cpp",
]
include_dirs = [ "//llvm/lib/Target/PowerPC" ]
}