]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/lldbmacros/Makefile
xnu-4570.71.2.tar.gz
[apple/xnu.git] / tools / lldbmacros / Makefile
index db5e9dd55c82d8ff97377b9dc820ac8acb876649..30383a3dbe1bc891bf253fd8cfd18a8fc2a6341d 100644 (file)
@@ -3,7 +3,6 @@ export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
 
-
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
@@ -14,8 +13,17 @@ do_config_all:: lldbmacros_install
 LLDBMACROS_SOURCE:=$(SRCROOT)/tools/lldbmacros/
 LLDBMACROS_BOOTSTRAP_DEST:=$(OBJPATH)/$(KERNEL_FILE_NAME).dSYM/$(DSYMLLDBMACROSDIR)
 LLDBMACROS_DEST:=$(LLDBMACROS_BOOTSTRAP_DEST)/lldbmacros/
+LLDBMACROS_USERDEBUG_FILES=
+
+LLDBMACROS_USERDEBUG_FILES:= \
+       usertaskdebugging/__init__.py \
+       usertaskdebugging/gdbserver.py \
+       usertaskdebugging/interface.py \
+       usertaskdebugging/rsprotocol.py \
+       usertaskdebugging/target.py \
+       usertaskdebugging/userprocess.py
 
-LLDBMACROS_PYTHON_FILES = \
+LLDBMACROS_PYTHON_FILES = $(LLDBMACROS_USERDEBUG_FILES) \
        core/standard.py \
        core/cvalue.py \
        core/__init__.py \
@@ -29,13 +37,18 @@ LLDBMACROS_PYTHON_FILES = \
        plugins/zprint_perf_log.py \
        atm.py \
        bank.py \
+       kevent.py \
        xnu.py \
        xnudefines.py \
+       ktrace.py \
+       macho.py \
        mbufdefines.py \
        netdefines.py \
+       ntstat.py \
        routedefines.py \
        ipc.py \
        ipcimportancedetail.py \
+       kcdata.py \
        scheduler.py \
        structanalyze.py \
        pmap.py \
@@ -49,7 +62,14 @@ LLDBMACROS_PYTHON_FILES = \
        userspace.py \
        pci.py \
        misc.py \
-       apic.py
+       apic.py \
+       kasan.py \
+       kauth.py \
+       usertaskgdbserver.py \
+       waitq.py \
+       pgtrace.py \
+       xnutriage.py \
+       zonetriage.py
 
 ifneq ($(PLATFORM),MacOSX)
        LLDBMACROS_PYTHON_FILES+= \
@@ -57,9 +77,10 @@ ifneq ($(PLATFORM),MacOSX)
                plugins/iosspeedtracer.sh
 endif
 
+
 INSTALL_LLDBMACROS_PYTHON_FILES=$(addprefix $(LLDBMACROS_DEST), $(LLDBMACROS_PYTHON_FILES))
 
-$(INSTALL_LLDBMACROS_PYTHON_FILES): $(LLDBMACROS_DEST)% : $(LLDBMACROS_SOURCE)% 
+$(INSTALL_LLDBMACROS_PYTHON_FILES): $(LLDBMACROS_DEST)% : $(LLDBMACROS_SOURCE)%
        $(_v)$(MKDIR) $(dir $@)
        $(_v)$(PYTHON) $(LLDBMACROS_SOURCE)/core/syntax_checker.py $< $(_vstdout)
        $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS) $< $@