This document is out of date.

We support building a standalone version of TransforMiiX on Windows, Unix and OS X. Read the build instructions for your platform to get the requirements, which are the same as for Mozilla.

You need to get the source from CVS. Add

TX_EXE=1
mk_add_options BUILD_MODULES="xpcom transformiix"
ac_add_options --enable-standalone-modules="xpcom transformiix"

to your .mozconfig, and use client.mk to pull as usual. This will pull the necessary subtree with

mozilla/client.mk
mozilla/build/unix/modules.mk
mozilla/build
mozilla/config
mozilla/expat
mozilla/extensions/transformiix
mozilla/include
mozilla/allmakefiles.sh
mozilla/client.mk
mozilla/aclocal.m4
mozilla/configure
mozilla/configure.in
mozilla/Makefile.in

plus nspr and xpcom from the cvs repository. Building from a full mozilla tree is not supported.

It is recommended to add

ac_add_options --disable-gtktest
ac_add_options --without-jpeg
ac_add_options --without-zlib
ac_add_options --without-png
ac_add_options --without-x

to your .mozconfig, too, as it stops configure from testing unneeded libs.

make -f client.mk build

as usual.

Of course,

make -f client.mk

checks out and builds just TransforMiiX alright.

The binary transformiix(.exe) will be in extensions/transformiix/source and dist/bin/ (symbolic link). Run it via run-mozilla.sh transformiix on unices and just transformiix.exe on Windows.

Original Document Information