1# $OpenBSD: Makefile,v 1.12 2023/11/11 18:35:36 robert Exp $
2
3LIB=	LLVMDebugInfoCodeView
4NOPROFILE=
5
6CPPFLAGS+=	-I${LLVM_SRCS}/include/llvm/DebugInfo/CodeView
7
8SRCS+=	AppendingTypeTableBuilder.cpp \
9	CodeViewError.cpp \
10	CodeViewRecordIO.cpp \
11	ContinuationRecordBuilder.cpp \
12	CVSymbolVisitor.cpp \
13	CVTypeVisitor.cpp \
14	DebugChecksumsSubsection.cpp \
15	DebugCrossExSubsection.cpp \
16	DebugCrossImpSubsection.cpp \
17	DebugFrameDataSubsection.cpp \
18	DebugInlineeLinesSubsection.cpp \
19	DebugLinesSubsection.cpp \
20	DebugStringTableSubsection.cpp \
21	DebugSubsection.cpp \
22	DebugSubsectionRecord.cpp \
23	DebugSubsectionVisitor.cpp \
24	DebugSymbolRVASubsection.cpp \
25	DebugSymbolsSubsection.cpp \
26	DebugInfoCodeViewEnumTables.cpp \
27	Formatters.cpp \
28	GlobalTypeTableBuilder.cpp \
29	LazyRandomTypeCollection.cpp \
30	Line.cpp \
31	MergingTypeTableBuilder.cpp \
32	RecordName.cpp \
33	RecordSerialization.cpp \
34	SimpleTypeSerializer.cpp \
35	StringsAndChecksums.cpp \
36	SymbolDumper.cpp \
37	SymbolRecordHelpers.cpp \
38	SymbolRecordMapping.cpp \
39	SymbolSerializer.cpp \
40	TypeDumpVisitor.cpp \
41	TypeIndex.cpp \
42	TypeIndexDiscovery.cpp \
43	TypeHashing.cpp \
44	TypeRecordHelpers.cpp \
45	TypeRecordMapping.cpp \
46	TypeStreamMerger.cpp \
47	TypeTableCollection.cpp
48
49DebugInfoCodeViewEnumTables.cpp:
50	ln -s ${LLVM_SRCS}/lib/DebugInfo/CodeView/EnumTables.cpp $@
51
52.PATH:	${.CURDIR}/../../../llvm/llvm/lib/DebugInfo/CodeView
53
54CLEANFILES+= DebugInfoCodeViewEnumTables.cpp
55