1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PROG_CXX= llvm-readobj 6MAN= llvm-readobj.1 llvm-readelf.1 7 8SRCDIR= llvm/tools/llvm-readobj 9SRCS+= ARMWinEHPrinter.cpp 10SRCS+= COFFDumper.cpp 11SRCS+= COFFImportDumper.cpp 12SRCS+= ELFDumper.cpp 13SRCS+= llvm-readobj.cpp 14SRCS+= MachODumper.cpp 15SRCS+= ObjDumper.cpp 16SRCS+= WasmDumper.cpp 17SRCS+= Win64EHDumper.cpp 18SRCS+= WindowsResourceDumper.cpp 19SRCS+= XCOFFDumper.cpp 20 21LIBADD+= z 22 23LINKS+= ${BINDIR}/llvm-readobj ${BINDIR}/llvm-readelf 24 25.if ${MK_LLVM_BINUTILS} != "no" 26LINKS+= ${BINDIR}/llvm-readelf ${BINDIR}/readelf 27MLINKS+= llvm-readelf.1 readelf.1 28.endif 29 30.include "../llvm.prog.mk" 31