xref: /openbsd-src/gnu/usr.bin/clang/include/lldb/Plugins/Makefile (revision 1ad61ae0a79a724d2d3ec69e69c8e1d1ff6b53a0)
1# $OpenBSD: Makefile,v 1.3 2023/11/11 18:35:35 robert Exp $
2
3.include <bsd.own.mk>
4
5LLDB_SRCS=	${.CURDIR}/../../../../../llvm/lldb
6
7DEFS=	DynamicLoaderDarwinKernelProperties.inc \
8	DynamicLoaderDarwinKernelPropertiesEnum.inc \
9	JITLoaderGDBProperties.inc \
10	JITLoaderGDBPropertiesEnum.inc \
11	ObjectFilePECOFFProperties.inc \
12	ObjectFilePECOFFPropertiesEnum.inc \
13	PlatformMacOSXProperties.inc \
14	PlatformMacOSXPropertiesEnum.inc \
15	ProcessGDBRemoteProperties.inc \
16	ProcessGDBRemotePropertiesEnum.inc \
17	StructuredDataDarwinLogProperties.inc \
18	StructuredDataDarwinLogPropertiesEnum.inc \
19	SymbolFileDWARFProperties.inc \
20	SymbolFileDWARFPropertiesEnum.inc
21
22all: ${DEFS}
23
24install:
25	@# Nothing here so far ...
26
27clean cleandir:
28	rm -f ${DEFS}
29
30DynamicLoaderDarwinKernelProperties.inc: \
31	${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td
32	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
33		-I${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel \
34		-o ${.TARGET} ${.ALLSRC}
35
36DynamicLoaderDarwinKernelPropertiesEnum.inc: \
37	${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td
38	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
39		-I${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel \
40		-o ${.TARGET} ${.ALLSRC}
41
42JITLoaderGDBProperties.inc: \
43	${LLDB_SRCS}/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td
44	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
45		-I${LLDB_SRCS}/source/Plugins/JITLoader/GDB \
46		-o ${.TARGET} ${.ALLSRC}
47
48JITLoaderGDBPropertiesEnum.inc: \
49	${LLDB_SRCS}/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td
50	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
51		-I${LLDB_SRCS}/source/Plugins/JITLoader/GDB \
52		-o ${.TARGET} ${.ALLSRC}
53
54ObjectFilePECOFFProperties.inc: \
55	${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFFProperties.td
56	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
57		-I${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF \
58		-o ${.TARGET} ${.ALLSRC}
59
60ObjectFilePECOFFPropertiesEnum.inc: \
61	${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFFProperties.td
62	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
63		-I${LLDB_SRCS}/source/Plugins/ObjectFile/PECOFF \
64		-o ${.TARGET} ${.ALLSRC}
65
66PlatformMacOSXProperties.inc: \
67	${LLDB_SRCS}/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td
68	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
69		-I${LLDB_SRCS}/source/Plugins/Platform/MacOSX \
70		-o ${.TARGET} ${.ALLSRC}
71
72PlatformMacOSXPropertiesEnum.inc: \
73	${LLDB_SRCS}/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td
74	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
75		-I${LLDB_SRCS}/source/Plugins/Platform/MacOSX \
76		-o ${.TARGET} ${.ALLSRC}
77
78ProcessGDBRemoteProperties.inc: \
79	${LLDB_SRCS}/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
80	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
81		-I${LLDB_SRCS}/source/Plugins/Process/gdb-remote \
82		-o ${.TARGET} ${.ALLSRC}
83
84ProcessGDBRemotePropertiesEnum.inc: \
85	${LLDB_SRCS}/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td
86	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
87		-I${LLDB_SRCS}/source/Plugins/Process/gdb-remote \
88		-o ${.TARGET} ${.ALLSRC}
89
90StructuredDataDarwinLogProperties.inc: \
91	${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td
92	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
93		-I${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog \
94		-o ${.TARGET} ${.ALLSRC}
95
96StructuredDataDarwinLogPropertiesEnum.inc: \
97	${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td
98	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
99		-I${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog \
100		-o ${.TARGET} ${.ALLSRC}
101
102SymbolFileDWARFProperties.inc: \
103	${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td
104	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \
105		-I${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF \
106		-o ${.TARGET} ${.ALLSRC}
107
108SymbolFileDWARFPropertiesEnum.inc: \
109	${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td
110	${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \
111		-I${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF \
112		-o ${.TARGET} ${.ALLSRC}
113
114.include <bsd.obj.mk>
115