summaryrefslogtreecommitdiffstats
path: root/Jamfile
diff options
context:
space:
mode:
authorprigaux <[email protected]>2007-02-11 20:00:15 +0000
committerprigaux <[email protected]>2007-02-11 20:00:15 +0000
commita74fd5a1ec37e53fe7008f022639af6ede0e82c9 (patch)
tree0a6a32640a840b72653149aa11efa264674df976 /Jamfile
parentf45dfeb2afb1b0bf46054959e8ea9494f3b7d14f (diff)
Merge the 0.8.0_mpeg4ip branch into the trunk
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@285 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'Jamfile')
-rw-r--r--Jamfile35
1 files changed, 20 insertions, 15 deletions
diff --git a/Jamfile b/Jamfile
index c9c0450da..8d3b2a414 100644
--- a/Jamfile
+++ b/Jamfile
@@ -6,11 +6,11 @@
SubDir TOP ;
-# libhb + contrib libraries
-HB_LIBS = libhb.a
+# 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/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
@@ -24,22 +24,26 @@ if $(OS) = UNKNOWN
if $(OS) != CYGWIN
{
- HB_LIBS = $(HB_LIBS) contrib/lib/libdvdcss.a ;
+ MEDIAFORK_LIBS = $(MEDIAFORK_LIBS) contrib/lib/libdvdcss.a ;
}
# Interfaces
-TEST_BIN = HBTest ;
-TEST_SRC = test/test.c ;
+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 = $(TEST_BIN) $(BEOS_BIN) $(WX_BIN) ;
-UI_SRC = $(TEST_SRC) $(BEOS_SRC) $(WX_SRC) ;
+UI_BIN = $(CLI_BIN) $(BEOS_BIN) $(WX_BIN) ;
+UI_SRC = $(CLI_SRC) $(BEOS_SRC) $(WX_SRC) ;
# CLI app
-Main $(TEST_BIN) : $(TEST_SRC) ;
+# Don't build the CLI from here if MACOSX, let xcode build it :)
+if $(OS) != MACOSX
+{
+ Main $(CLI_BIN) : $(CLI_SRC) ;
+}
if $(OS) = BEOS
{
@@ -65,7 +69,7 @@ if $(OS) = MACOSX
macosx/English.lproj/Express.nib/info.nib
macosx/English.lproj/Express.nib/keyedobjects.nib ;
- OSXApp HandBrake.app : $(OSX_SRC) $(HB_LIBS) ;
+ OSXApp MediaFork.app : $(OSX_SRC) $(MEDIAFORK_LIBS) ;
# Package
OSXPackage HandBrake-$(HB_VERSION)-OSX.zip : HandBrake.app ;
@@ -79,13 +83,14 @@ if $(OS) = LINUX
#Main $(WX_BIN) : $(WX_SRC) ;
}
-ObjectHdrs $(UI_SRC) : $(TOP)/libhb ;
-LinkLibraries $(UI_BIN) : $(HB_LIBS) ;
-
+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 libhb ;
-
+SubInclude TOP libmediafork ;