blob: 8d3b2a414e7602993a62f22e1fbbadd0fe3b4eee (
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
# $Id: Jamfile,v 1.86 2005/11/04 13:09:40 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 ;
# libmediafork + contrib libraries
MEDIAFORK_LIBS = libmediafork.a
contrib/lib/liba52.a contrib/lib/libavformat.a
contrib/lib/libavcodec.a contrib/lib/libavutil.a
contrib/lib/libdvdread.a contrib/lib/libmp4v2.a
contrib/lib/libfaac.a contrib/lib/libmp3lame.a
contrib/lib/libmpeg2.a contrib/lib/libvorbis.a
contrib/lib/libvorbisenc.a contrib/lib/libogg.a
contrib/lib/libsamplerate.a contrib/lib/libx264.a
contrib/lib/libxvidcore.a ;
if $(OS) = UNKNOWN
{
OS = CYGWIN ;
}
if $(OS) != CYGWIN
{
MEDIAFORK_LIBS = $(MEDIAFORK_LIBS) contrib/lib/libdvdcss.a ;
}
# Interfaces
CLI_BIN = MediaForkCLI ;
CLI_SRC = test/test.c ;
BEOS_BIN = HandBrake ;
BEOS_SRC = beos/HBApp.cpp beos/MainWindow.cpp beos/ScanWindow.cpp
beos/PicWindow.cpp beos/Stepper.cpp beos/QueueWindow.cpp ;
WX_BIN = wxHB ;
WX_SRC = wx/hbWizard.cpp wx/wxHB.cpp ;
UI_BIN = $(CLI_BIN) $(BEOS_BIN) $(WX_BIN) ;
UI_SRC = $(CLI_SRC) $(BEOS_SRC) $(WX_SRC) ;
# CLI app
# Don't build the CLI from here if MACOSX, let xcode build it :)
if $(OS) != MACOSX
{
Main $(CLI_BIN) : $(CLI_SRC) ;
}
if $(OS) = BEOS
{
Main HandBrake : $(BEOS_SRC) ;
BeOSPackage HandBrake-$(HB_VERSION)-BeOS.zip : HandBrake ;
HB_PACKAGES += HandBrake-$(HB_VERSION)-BeOS.zip ;
}
if $(OS) = MACOSX
{
OSX_SRC = macosx/main.mm macosx/Controller.h macosx/Controller.mm
macosx/ScanController.h macosx/ScanController.mm
macosx/PictureController.h macosx/PictureController.mm
macosx/PictureGLView.h macosx/PictureGLView.mm
macosx/QueueController.h macosx/QueueController.mm
macosx/PrefsController.h macosx/PrefsController.m
macosx/English.lproj/InfoPlist.strings
macosx/English.lproj/MainMenu.nib/classes.nib
macosx/English.lproj/MainMenu.nib/info.nib
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
macosx/ExpressController.h macosx/ExpressController.m
macosx/English.lproj/Express.nib/classes.nib
macosx/English.lproj/Express.nib/info.nib
macosx/English.lproj/Express.nib/keyedobjects.nib ;
OSXApp MediaFork.app : $(OSX_SRC) $(MEDIAFORK_LIBS) ;
# Package
OSXPackage HandBrake-$(HB_VERSION)-OSX.zip : HandBrake.app ;
HB_PACKAGES += HandBrake-$(HB_VERSION)-OSX.zip ;
}
if $(OS) = LINUX
{
# WX UI outdated
#SystemLibraries $(WX_BIN) : -lpthread `wx-config --libs` ;
#ObjectC++Flags $(WX_SRC) : `wx-config --cflags` ;
#Main $(WX_BIN) : $(WX_SRC) ;
}
if $(OS) != MACOSX
{
ObjectHdrs $(UI_SRC) : $(TOP)/libmediafork ;
LinkLibraries $(UI_BIN) : $(MEDIAFORK_LIBS) ;
}
# Packages
NotFile package ;
Depends package : $(HB_PACKAGES) ;
SubInclude TOP contrib ;
SubInclude TOP libmediafork ;
|