summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/clang/libLLVMObject/Makefile
blob: 2e0ffebef45b840394d90e36e9ecd92c779b3f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# $OpenBSD: Makefile,v 1.12 2024/02/08 20:28:54 miod Exp $

LIB=	LLVMObject
NOPROFILE=

CPPFLAGS+=	-I${LLVM_SRCS}/include/llvm/Object

SRCS+=	Archive.cpp \
	ArchiveWriter.cpp \
	Binary.cpp \
	BuildID.cpp \
	COFFImportFile.cpp \
	COFFModuleDefinition.cpp \
	COFFObjectFile.cpp \
	Decompressor.cpp \
	ObjectDXContainer.cpp \
	ObjectELF.cpp \
	ELFObjectFile.cpp \
	ObjectError.cpp \
	FaultMapParser.cpp \
	IRObjectFile.cpp \
	IRSymtab.cpp \
	MachOObjectFile.cpp \
	MachOUniversal.cpp \
	ObjectMinidump.cpp \
	ModuleSymbolTable.cpp \
	Object.cpp \
	ObjectFile.cpp \
	OffloadBinary.cpp \
	RecordStreamer.cpp \
	RelocationResolver.cpp \
	SymbolicFile.cpp \
	SymbolSize.cpp \
	TapiFile.cpp \
	TapiUniversal.cpp \
	MachOUniversalWriter.cpp \
	WasmObjectFile.cpp \
	WindowsMachineFlag.cpp \
	WindowsResource.cpp \
	XCOFFObjectFile.cpp

ObjectDXContainer.cpp:
	ln -s ${LLVM_SRCS}/lib/Object/DXContainer.cpp $@

ObjectELF.cpp:
	ln -s ${LLVM_SRCS}/lib/Object/ELF.cpp $@

ObjectError.cpp:
	ln -s ${LLVM_SRCS}/lib/Object/Error.cpp $@

ObjectMinidump.cpp:
	ln -s ${LLVM_SRCS}/lib/Object/Minidump.cpp $@

.PATH:	${.CURDIR}/../../../llvm/llvm/lib/Object

CLEANFILES+= ObjectDXContainer.cpp ObjectELF.cpp ObjectError.cpp \
	ObjectMinidump.cpp