Flag mips
  Description: Build MIPS lifter
  Default: true

Library "bap-mips"
 Build$:           flag(everything) || flag(mips)
 XMETADescription: common definitions for MIPS targets
 Path: lib/bap_mips
 BuildDepends: core_kernel, ppx_bap,
               ogre, bap-knowledge, bap-core-theory, bap
 FindlibName: bap-mips
 Modules: Bap_mips_target

Library mips_plugin
  XMETADescription:     provide MIPS lifter
  Path:                 plugins/mips
  FindlibName:          bap-plugin-mips
  Build$:               flag(everything) || flag (mips)
  BuildDepends:         bap, bap-mips, bap-abi, bap-c, bap-core-theory, core_kernel,
                        ppx_bap, regular, zarith, bap-knowledge, bap-main, bap-api
  InternalModules:
                        Mips,
                        Mips_main,
                        Mips_types,
                        Mips_utils,
                        Mips_cpu,
                        Mips_load,
                        Mips_model,
                        Mips_abi,
                        Mips_dsl,
                        Mips_rtl,
                        Mips_arithmetic,
                        Mips_branch,
                        Mips_conditional,
                        Mips_logic,
                        Mips_multiply,
                        Mips_divide,
                        Mips_shift_and_rot,
                        Mips_store
  XMETAExtraLines:      tags="mips,lifter,arch,abi"
