Changeset View
Changeset View
Standalone View
Standalone View
head/lib/clang/liblldb/Makefile
Show First 20 Lines • Show All 673 Lines • ▼ Show 20 Lines | |||||
DPSRCS+= ${TGHDRS} | DPSRCS+= ${TGHDRS} | ||||
CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} | CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} | ||||
.include "../clang.build.mk" | .include "../clang.build.mk" | ||||
INTERNALLIB= | INTERNALLIB= | ||||
# Building lldb's bindings requires swig, but we do not want to include it in | |||||
# the FreeBSD base system (as a build tool) because it has non-trivial | |||||
# dependencies. As a workaround we commit the generated file. Requires the | |||||
# swig30 package. | |||||
# | |||||
# After importing an updated llvm/lldb into FreeBSD run `make run-swig` in | |||||
# this directory to generate generate LLDBWrapLua.cpp, and commit the result. | |||||
.PHONY: run-swig | |||||
run-swig: | |||||
swig3.0 -I${LLDB_SRCS}/include \ | |||||
-c++ -features autodoc -lua -w503 \ | |||||
-o ${.CURDIR}/LLDBWrapLua.cpp ${LLDB_SRCS}/bindings/lua.swig | |||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |