$Id: BUILD,v 1.5 2004/03/29 00:28:39 titer Exp $
BUILD file for HandBrake
Building HandBrake
==================
You can build HandBrake on BeOS, MacOS X and Linux. If you'd like to
port it to another OS, email me (titer@m0k.org).
Step 1: get jam
===============
Jam is a make replacement.
Get it for your operating system:
+ BeOS: get
(the jam used by OBOS). Also, gcc 2.95.3 is needed.
+ OS X: get and
copy jam to /usr/local/bin/. Do not use the modified jam shipped with
the developer tools (/Developer/Private/jam).
+ Debian: `apt-get install jam'
Or get the sources from the link above and compile it yourself.
Step 2 (optional): set custom compiler flags
============================================
If you want to optimize the build for a specific CPU, edit the Jamrules
file and modify the "OPTIM = ..." line by adding the needed flags.
In case you modify this line later: `jam clean' does not remove the
compiled contrib librairies. Therefore, make sure you run
`jam clean-all; jam' or `jam -a' in order to force jam to rebuild
everything with the new flags.
Step 3: build
=============
Run `jam'. This will build every library HandBrake requires, then
HandBrake itself.