1# $OpenBSD: Makefile,v 1.4 2019/11/09 16:45:48 mortimer Exp $
2
3LIB=	lldbPluginProcess
4NOPIC=
5NOPROFILE=
6
7.include <bsd.own.mk>
8SRCS=	CrashReason.cpp \
9	DynamicRegisterInfo.cpp \
10	FreeBSDSignals.cpp \
11	GDBRemoteClientBase.cpp \
12	GDBRemoteCommunication.cpp \
13	GDBRemoteCommunicationClient.cpp \
14	GDBRemoteCommunicationHistory.cpp \
15	GDBRemoteCommunicationReplayServer.cpp \
16	GDBRemoteCommunicationServer.cpp \
17	GDBRemoteCommunicationServerCommon.cpp \
18	GDBRemoteCommunicationServerLLGS.cpp \
19	GDBRemoteCommunicationServerPlatform.cpp \
20	GDBRemoteRegisterContext.cpp \
21	GDBRemoteSignals.cpp \
22	HistoryThread.cpp \
23	HistoryUnwind.cpp \
24	InferiorCallPOSIX.cpp \
25	LinuxProcMaps.cpp \
26	LinuxSignals.cpp \
27	MinidumpParser.cpp \
28	MinidumpTypes.cpp \
29	MipsLinuxSignals.cpp \
30	NativeProcessOpenBSD.cpp \
31	NativeRegisterContextOpenBSD.cpp \
32	NativeRegisterContextOpenBSD_x86_64.cpp \
33	NativeRegisterContextRegisterInfo.cpp \
34	NativeThreadOpenBSD.cpp \
35	NetBSDSignals.cpp \
36	ProcessElfCore.cpp \
37	ProcessGDBRemote.cpp \
38	ProcessGDBRemoteLog.cpp \
39	ProcessMachCore.cpp \
40	ProcessMessage.cpp \
41	ProcessMinidump.cpp \
42	ProcessPOSIXLog.cpp \
43	RegisterContextDarwin_arm.cpp \
44	RegisterContextDarwin_arm64.cpp \
45	RegisterContextDarwin_i386.cpp \
46	RegisterContextDarwin_x86_64.cpp \
47	RegisterContextDummy.cpp \
48	RegisterContextFreeBSD_i386.cpp \
49	RegisterContextFreeBSD_mips64.cpp \
50	RegisterContextFreeBSD_powerpc.cpp \
51	RegisterContextFreeBSD_x86_64.cpp \
52	RegisterContextHistory.cpp \
53	RegisterContextLLDB.cpp \
54	RegisterContextLinux_i386.cpp \
55	RegisterContextLinux_mips.cpp \
56	RegisterContextLinux_mips64.cpp \
57	RegisterContextLinux_s390x.cpp \
58	RegisterContextLinux_x86_64.cpp \
59	RegisterContextMacOSXFrameBackchain.cpp \
60	RegisterContextMach_arm.cpp \
61	RegisterContextMach_i386.cpp \
62	RegisterContextMach_x86_64.cpp \
63	RegisterContextMemory.cpp \
64	RegisterContextMinidump_ARM.cpp \
65	RegisterContextMinidump_ARM64.cpp \
66	RegisterContextMinidump_x86_32.cpp \
67	RegisterContextMinidump_x86_64.cpp \
68	RegisterContextNetBSD_x86_64.cpp \
69	RegisterContextOpenBSD_i386.cpp \
70	RegisterContextOpenBSD_x86_64.cpp \
71	RegisterContextPOSIXCore_arm.cpp \
72	RegisterContextPOSIXCore_arm64.cpp \
73	RegisterContextPOSIXCore_mips64.cpp \
74	RegisterContextPOSIXCore_powerpc.cpp \
75	RegisterContextPOSIXCore_ppc64le.cpp \
76	RegisterContextPOSIXCore_s390x.cpp \
77	RegisterContextPOSIXCore_x86_64.cpp \
78	RegisterContextPOSIX_arm.cpp \
79	RegisterContextPOSIX_arm64.cpp \
80	RegisterContextPOSIX_mips64.cpp \
81	RegisterContextPOSIX_powerpc.cpp \
82	RegisterContextPOSIX_ppc64le.cpp \
83	RegisterContextPOSIX_s390x.cpp \
84	RegisterContextPOSIX_x86.cpp \
85	RegisterContextThreadMemory.cpp \
86	RegisterInfoPOSIX_arm.cpp \
87	RegisterInfoPOSIX_arm64.cpp \
88	RegisterInfoPOSIX_ppc64le.cpp \
89	RegisterUtilities.cpp \
90	StopInfoMachException.cpp \
91	ThreadElfCore.cpp \
92	ThreadGDBRemote.cpp \
93	ThreadMachCore.cpp \
94	ThreadMemory.cpp \
95	ThreadMinidump.cpp \
96	UnwindLLDB.cpp \
97	UnwindMacOSXFrameBackchain.cpp \
98
99.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/Utility
100.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/elf-core
101.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/gdb-remote
102.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/mach-core
103.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/minidump
104.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/POSIX
105.PATH:	${.CURDIR}/../../../llvm/tools/lldb/source/Plugins/Process/OpenBSD
106
107install:
108	@# Nothing here so far ...
109
110.include <bsd.lib.mk>
111
112CPPFLAGS+=	${LLDB_INCLUDES}
113CPPFLAGS+=	${CLANG_INCLUDES}
114