Skip to content

Linux Makefile Targets

Mark Millard edited this page May 14, 2024 · 17 revisions

This page describes the Makefile targets for building the Magic Lantern components on Linux. The Makefile is located in $MLE_HOME/build/linux.

To use this Makefile, change your directory to $MLE_HOME/build/linux and do

make -f Makefile <target>

where <target> is a build target listed below.

ℹ️ Note: These targets are being used on the Ubuntu 22.04 LTS 64-bit platform.

Table of Contents

Available Build Targets

The following build targets are available:

Mastering Components

This target is used to build all of the Magic Lantern mastering components and applications.

Target Components Location Description
master     Build all the mastering components for the 64-bit platform
master_clean     Clean up all the mastering component build artifacts
master_install     Install all the mastering components for the 64-bit platform
  libDPPGen.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio DSO library(Debug)
  libDPPGen.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio static library (Debug)
  gentables "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  gengroup "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  genscene "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  genmedia "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  genppscript "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  gendpp "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
  genmakefile "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering application (Debug)
master_uninstall     Uninstall all the mastering components for the 64-bit platform

libmlutil Library

This library provides common utility functionality employed by Magic Lantern libraries and applications.

Target Components Location Description
libmlutil_stage     Generate Makefiles for libmlutil
libmlutil     Build all the util components for the 64-bit platform
libmlutil_clean     Clean up all the util component build artifacts
libmlutil_install     Install all the util components for the 64-bit platform
  libmlutil.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio DSO library(Debug)
  libmlutil.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio static library (Debug)
libmlutil_uninstall     Uninstall all the util components for the 64-bit platform

libmlmath Library

This library provides math utilities used by Magic Lantern tools and titles.

Target Components Location Description
libmlmath_stage     Generate Makefiles for libmlmath
libmlmath     Build all the math components for the 64-bit platform
libmlmlmath_clean     Clean up all the util component build artifacts
libmlmath_install     Install all the util components for the 64-bit platform
  libmlmath.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio DSO library (Debug)
  libmlmath.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio static library (Debug)
libmlmath_uninstall     Uninstall all the math components for the 64-bit platform

libDWP Library

This library provides functionality for processing Magic Lantern Digital Workprints.

Target Components Location Description
libDWP_stage     Generate Makefiles for libDWP
libDWP     Build all the Digital Workprint components for the 64-bit platform
libDWP_clean     Clean up all the Digital Workprint component build artifacts
libDWP_install     Install all the Digital Workprint components for the 64-bit platform
  libDWP.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio DSO library (Debug)
  libDWP.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio static library (Debug)
libDWP_uninstall     Uninstall all the Digital Workprint components for the 64-bit platform

libDPP Library

This library provides functionality for processing Magic Lantern Digital Playprints.

Target Components Location Description
libDPP_stage     Generate Makefiles for libDPP
libDPP     Build all the Digital Playprint components for the 64-bit platform
libDPP_clean     Clean up all the Digital Playprint component build artifacts
libDPP_install     Install all the Digital Playprint components for the 64-bit platform
  libDPP.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio DSO library (Debug)
  libDPP.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio static library (Debug)
libDPP_uninstall     Uninstall all the Digital Playprint components for the 64-bit platform

libplayprint Library

This library provides support for processing Digital Playprints by the Magic Lantern runtime engine.

Target Components Location Description
libplayprint_stage     Generate Makefiles for libplayprint
libplayprint     Build all the Digital Playprint runtime components for the 64-bit platform
libplayprint_clean     Clean up all the Digital Playprint runtime component build artifacts
libplayprint_install     Install all the Digital Playprint runtime components for the 64-bit platform
  libplayprint.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio runtime engine and mastering DSO library (Debug)
  libplayprint.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio runtime engine and mastering static library (Debug)
libplayprint_uninstall     Uninstall all the Digital Playprint runtime components for the 64-bit platform

libDPPGen Library

This library provides functionality for generating Magic Lantern Digital Playprints.

Target Components Location Description
libDPPGen_stage     Generate Makefiles for libDPPGen
libDPPGen     Build all the Digital Playprint components for the 64-bit platform
libDPPGen_clean     Clean up all the Digital Playprint component build artifacts
libDPPGen_install     Install all the Digital Playprint components for the 64-bit platform
  libDPPGen.so "$MLE_ROOT/lib" Magic Lantern 64-bit Studio mastering DSO library (Debug)
  libDPPGen.a "$MLE_ROOT/lib" Magic Lantern 64-bit Studio mastering static library (Debug)
libDPPGen_uninstall     Uninstall all the Digital Playprint components for the 64-bit platform

gentables Application

This application is used to generate tables and source used by the Magic Lantern titles.

Target Components Location Description
gentables_stage     Generate Makefiles for gentables application
gentables     Build the gentables application for the 64-bit platform
gentables_clean     Clean up all the gentables build artifacts
gentables_install     Install the gentables application for the 64-bit platform
  gentables "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
gentables_uninstall     Uninstall the gentables application for the 64-bit platform

gengroup Application

This application is used to generate group chunks used by the Magic Lantern titles.

Target Components Location Description
gengroup_stage     Generate Makefiles for gengroup application
gengroup     Build the gengroup application for the 64-bit platform
gengroup_clean     Clean up all the gengroup build artifacts
gengroup_install     Install the gengroup application for the 64-bit platform
  gengroup "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
gengroup_uninstall     Uninstall the gengroup application for the 64-bit platform

genscene Application

This application is used to generate scene chunks used by the Magic Lantern titles.

Target Components Location Description
genscene_stage     Generate Makefiles for genscene application
genscene     Build the genscene application for the 64-bit platform
genscene_clean     Clean up all the genscene build artifacts
genscene_install     Install the genscene application for the 64-bit platform
  genscene "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
genscene_uninstall     Uninstall the genscene application for the 64-bit platform

genmedia Application

This application is used to generate media reference chunks used by the Magic Lantern titles.

Target Components Location Description
genmedia_stage     Generate Makefiles for genmedia application
genmedia     Build the genmedia application for the 64-bit platform
genmedia_clean     Clean up all the genmedia build artifacts
genmedia_install     Install the genmedia application for the 64-bit platform
  genmedia "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
genmedia_uninstall     Uninstall the genmedia application for the 64-bit platform

genppscript Application

This application is used to generate Digital Playprint scripts used by the Magic Lantern mastering tools.

Target Components Location Description
genppscript_stage     Generate Makefiles for genppscript application
genppscript     Build the genppscript application for the 64-bit platform
genppscript_clean     Clean up all the genppscript build artifacts
genppscript_install     Install the genppscript application for the 64-bit platform
  genppscript "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
genppscript_uninstall     Uninstall the genppscript application for the 64-bit platform

gendpp Application

This application is used to generate a Magic Lantern Digital Playprint.

Target Components Location Description
gendpp_stage     Generate Makefiles for gendpp application
gendpp     Build the gendpp application for the 64-bit platform
gendpp_clean     Clean up all the gendpp build artifacts
gendpp_install     Install the gendpp application for the 64-bit platform
  gendpp "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
gendpp_uninstall     Uninstall the gendpp application for the 64-bit platform

genmakefile Application

This application is used to generate a Makefile used by Magic Lantern Titles.

Target Components Location Description
genmakefile_stage     Generate Makefiles for genmakefile application
genmakefile     Build the genmakefile application for the 64-bit platform
genmakefile_clean     Clean up all the genmakefile build artifacts
genmakefile_install     Install the genmakefile application for the 64-bit platform
  genmakefile "$MLE_ROOT/bin" Magic Lantern 64-bit Studio mastering tool (Debug)
genmakefile_uninstall     Uninstall the genmakefile application for the 64-bit platform

libmlert Library

This library provides the runtime engine for the Magic Lantern titles and tools.

Target Components Location Description
libmlert_rehearsal_stage     Generate Makefiles for libmlert libraries used for Rehearsal targets.
libmlert_rehearsal     Build all the libmlert Rehearsal components for the 64-bit platform
libmlert_rehearsal_clean     Clean up all the libmlert Rehearsal component build artifacts
libmlert_rehearsal_install     Install all the libmlert Rehearsal components for the 64-bit platform
  libmlert.so "$MLE_ROOT/lib/mle/rehearsal" Magic Lantern 64-bit Studio DSO library (Debug)
  libmlert.a "$MLE_ROOT/lib/mle/rehearsal" Magic Lantern 64-bit Studio static library (Debug)
libmlert_rehearsal_uninstall     Uninstall all the libmlert Rehearsal components for the 64-bit platform
libmlert_runtime_stage     Generate Makefiles for libmlert libraries used for Runtime targets.
libmlert_runtime     Build all the libmlert Runtime components for the 64-bit platform
libmlert_runtime_clean     Clean up all the libmlert Runtime component build artifacts
libmlert_runtime_install     Install all the libmlert Runtime components for the 64-bit platform
  libmlert.so "$MLE_ROOT/lib/mle/runtime" Magic Lantern 64-bit Studio DSO library (Debug)
  libmlert.a "$MLE_ROOT/lib/mle/runtime" Magic Lantern 64-bit Studio static library (Debug)
libmlert_runtime_uninstall     Uninstall all the libmlert Runtime components for the 64-bit platform
libmlert_inventor_stage     Generate Makefiles for libmlert libraries used for Inventor targets.
libmlert_inventor     Build all the libmlert Inventor components for the 64-bit platform
libmlert_inventor_clean     Clean up all the libmlert Inventor component build artifacts
libmlert_inventor_install     Install all the libmlert Inventor components for the 64-bit platform
  libmlert.so "$MLE_ROOT/lib/mle/inventor" Magic Lantern 64-bit Studio DSO library (Debug)
  libmlert.a "$MLE_ROOT/lib/mle/inventor" Magic Lantern 64-bit Studio static library (Debug)
libmlert_inventor_uninstall     Uninstall all the libmlert Inventor components for the 64-bit platform
libmlert Build all libmlert target components for the 64-bit platform
libmlert_clean Clean up all the libmlert component build artifacts
libmlert_install Install all the libmlert target components for the 64-bit platform
libmlert_uninstall Uninstall all the libmlert target components for the 64-bit platform

property Headers

This target is used to install the Magic Lantern property header files.

Target Components Location Description
props     Build all the property components for the 64-bit platform
props_clean     Clean up all the property component build artifacts
props_install   $MLE_ROOT/include/mle Install all the property components for the 64-bit platform
props_uninstall     Uninstall all the property components for the 64-bit platform
Clone this wiki locally