summaryrefslogtreecommitdiffstats
path: root/BUILD
blob: 6eb184e862c7ede0a3d7b2910d1ef4452c90226e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$Id: BUILD,v 1.5 2004/03/29 00:28:39 titer Exp $

BUILD file for HandBrake <http://handbrake.m0k.org/>

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 <http://www.perforce.com/jam/jam.html> is a make replacement.
Get it for your operating system:
 + BeOS: get <http://tfs.cs.tu-berlin.de/~bonefish/download/jam/jam.zip>
   (the jam used by OBOS). Also, gcc 2.95.3 is needed.
 + OS X: get <http://handbrake.m0k.org/files/jam-2.5rc3-OSX.zip> 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.