blob: 7691d8ec955a0912834795d6c4509206090672c8 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $Id: Jamfile,v 1.41 2004/03/15 17:08:37 titer Exp $
#
# This file is part of the HandBrake source code.
# Homepage: <http://handbrake.m0k.org/>.
# It may be used under the terms of the GNU General Public License.
SubDir TOP ;
HB_PACKAGES = ;
HB_LIBS = libhb.a liba52.a libavcodec.a libdvdplay.a libdvdread.a
libdvdcss.a libfaac.a libmp3lame.a libmp4v2.a libmpeg2.a
libvorbis.a libvorbisenc.a libogg.a libx264.a
libxvidcore.a ;
# CLI app
ObjectCcFlags test/test.c : -I$(TOP)/core -g -Wall ;
LinkLibraries HBTest : $(HB_LIBS) ;
Main HBTest : test/test.c ;
# BeOS
if $(OS) = BEOS
{
SOURCES_BEOS = beos/HBApp.cpp beos/HBWindow.cpp ;
ObjectC++Flags $(SOURCES_BEOS) :
-I$(TOP)/core -I$(TOP)/beos/liblayout -g -Wall ;
LINKLIBS on HandBrake = $(LINKLIBS) -L$(TOP)/lib -llayout -lbe ;
LinkLibraries HandBrake : $(HB_LIBS) ;
# Main HandBrake : $(SOURCES_BEOS) ;
}
# OS X
if $(OS) = MACOSX
{
# Build the app
OSXApp HandBrake.app ;
Depends HandBrake.app : $(HB_LIBS) macosx/Controller.h
macosx/Controller.mm macosx/PictureGLView.h
macosx/PictureGLView.mm ;
Depends all : HandBrake.app ;
# Package
OSXPackage HandBrake-$(HB_VERSION)-OSX.zip ;
Depends HandBrake-$(HB_VERSION)-OSX.zip : HandBrake.app ;
HB_PACKAGES += HandBrake-$(HB_VERSION)-OSX.zip ;
}
# GTK2
if $(OS) = LINUX
{
SOURCES_GTK2 = gtk2/main.c gtk2/callbacks.c gtk2/interface.c
gtk2/support.c ;
ObjectCcFlags $(SOURCES_GTK2) :
-I$(TOP)/core `pkg-config gtk+-2.0 --cflags` ;
LINKLIBS on gtk2HB = $(LINKLIBS) `pkg-config gtk+-2.0 --libs` ;
LinkLibraries gtk2HB : $(HB_LIBS) ;
Main gtk2HB : $(SOURCES_GTK2) ;
}
# Packages
NotFile package ;
Depends package : $(HB_PACKAGES) ;
SubInclude TOP contrib ;
SubInclude TOP core ;
|