include $(MakeInc_cmd)
include $(MakeInc_def)
-SETUP_SUBDIRS = \
+SETUP_SUBDIRS = \
config \
kextsymboltool \
setsegname \
installfile \
replacecontents
+ifeq ($(BUILD_JSON_COMPILATION_DATABASE),1)
+SETUP_SUBDIRS += json_compilation_db
+endif
+
include $(MakeInc_rule)
include $(MakeInc_dir)