1# $OpenBSD: Makefile,v 1.1 2020/08/03 14:45:23 patrick Exp $ 2 3.include <bsd.own.mk> 4 5LLDB_SRCS= ${.CURDIR}/../../../../../llvm/lldb 6 7DEFS= DynamicLoaderDarwinKernelProperties.inc 8DEFS+= DynamicLoaderDarwinKernelPropertiesEnum.inc 9DEFS+= JITLoaderGDBProperties.inc 10DEFS+= JITLoaderGDBPropertiesEnum.inc 11DEFS+= ProcessGDBRemoteProperties.inc 12DEFS+= ProcessGDBRemotePropertiesEnum.inc 13DEFS+= StructuredDataDarwinLogProperties.inc 14DEFS+= StructuredDataDarwinLogPropertiesEnum.inc 15DEFS+= SymbolFileDWARFProperties.inc 16DEFS+= SymbolFileDWARFPropertiesEnum.inc 17 18all: ${DEFS} 19 20install: 21 @# Nothing here so far ... 22 23clean cleandir: 24 rm -f ${DEFS} 25 26DynamicLoaderDarwinKernelProperties.inc: \ 27 ${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td 28 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ 29 -I${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel \ 30 -o ${.TARGET} ${.ALLSRC} 31 32DynamicLoaderDarwinKernelPropertiesEnum.inc: \ 33 ${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td 34 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ 35 -I${LLDB_SRCS}/source/Plugins/DynamicLoader/Darwin-Kernel \ 36 -o ${.TARGET} ${.ALLSRC} 37 38JITLoaderGDBProperties.inc: \ 39 ${LLDB_SRCS}/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td 40 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ 41 -I${LLDB_SRCS}/source/Plugins/JITLoader/GDB \ 42 -o ${.TARGET} ${.ALLSRC} 43 44JITLoaderGDBPropertiesEnum.inc: \ 45 ${LLDB_SRCS}/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td 46 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ 47 -I${LLDB_SRCS}/source/Plugins/JITLoader/GDB \ 48 -o ${.TARGET} ${.ALLSRC} 49 50ProcessGDBRemoteProperties.inc: \ 51 ${LLDB_SRCS}/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td 52 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ 53 -I${LLDB_SRCS}/source/Plugins/Process/gdb-remote \ 54 -o ${.TARGET} ${.ALLSRC} 55 56ProcessGDBRemotePropertiesEnum.inc: \ 57 ${LLDB_SRCS}/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td 58 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ 59 -I${LLDB_SRCS}/source/Plugins/Process/gdb-remote \ 60 -o ${.TARGET} ${.ALLSRC} 61 62StructuredDataDarwinLogProperties.inc: \ 63 ${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td 64 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ 65 -I${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog \ 66 -o ${.TARGET} ${.ALLSRC} 67 68StructuredDataDarwinLogPropertiesEnum.inc: \ 69 ${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td 70 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ 71 -I${LLDB_SRCS}/source/Plugins/StructuredData/DarwinLog \ 72 -o ${.TARGET} ${.ALLSRC} 73 74SymbolFileDWARFProperties.inc: \ 75 ${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td 76 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-defs \ 77 -I${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF \ 78 -o ${.TARGET} ${.ALLSRC} 79 80SymbolFileDWARFPropertiesEnum.inc: \ 81 ${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td 82 ${.OBJDIR}/../../../lldb-tblgen/lldb-tblgen -gen-lldb-property-enum-defs \ 83 -I${LLDB_SRCS}/source/Plugins/SymbolFile/DWARF \ 84 -o ${.TARGET} ${.ALLSRC} 85 86.include <bsd.obj.mk> 87