summaryrefslogtreecommitdiffstats
path: root/Jamrules
diff options
context:
space:
mode:
authorhandbrake <[email protected]>2006-01-14 13:34:42 +0000
committerhandbrake <[email protected]>2006-01-14 13:34:42 +0000
commitd35a2a23fe450c88925128b9db7c63a5f1ed395d (patch)
treeed7f6b0e4b1f118b0209c606448b693b822020fb /Jamrules
parent60925e41e540e9c79b522f4864296bc425fcc9e4 (diff)
HandBrake 0.6.2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@15 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'Jamrules')
-rw-r--r--Jamrules51
1 files changed, 42 insertions, 9 deletions
diff --git a/Jamrules b/Jamrules
index a82ee7a7a..ff970c26b 100644
--- a/Jamrules
+++ b/Jamrules
@@ -1,13 +1,46 @@
+# $Id: Jamrules,v 1.38 2004/05/25 17:50:12 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.
+
+HB_VERSION = 0.6.2 ;
+LANGUAGES = fr de it pl ru nl es pt ja ;
+
# Compilers & flags
-CC = gcc ;
-C++ = g++ ;
-AS = nasm -f elf ;
-LINK = g++ ;
-OPTIM = -O3 -funroll-loops ;
+CC = gcc ;
+C++ = g++ ;
+AS = nasm ;
+LINK = g++ ;
+OPTIM = -O3 -funroll-loops ;
+DEFINES = HB_$(OS) HB_VERSION=\\\"$(HB_VERSION)\\\" ;
-HB_VERSION = 0.6.1 ;
-DEFINES = HB_$(OS) HB_VERSION=\\\"$(HB_VERSION)\\\" ;
-LANGUAGES = fr de it pl ru nl es pt ;
+if $(OS) = BEOS
+{
+ # Avoid multichar warnings caused by BeOS system headers
+ CCFLAGS = -Wno-multichar ;
+ C++FLAGS = -Wno-multichar ;
+ # BeOS' gcc tends to crash with -funroll-loops
+ OPTIM = -O3 ;
+ ASFLAGS = -f elf ;
+}
+if $(OS) = MACOSX
+{
+ # For libdvdread
+ DEFINES += WORDS_BIGENDIAN ;
+}
+if $(OS) = LINUX
+{
+ ASFLAGS = -f elf ;
+}
+if $(OS) = CYGWIN
+{
+ # Build under cygwin but without the emulation layer
+ CCFLAGS = -mno-cygwin ;
+ C++FLAGS = -mno-cygwin ;
+ LINKFLAGS = -mno-cygwin ;
+ ASFLAGS = -f win32 ;
+}
NotFile clean-contrib clean-all ;
Always clean-contrib ;
@@ -89,7 +122,7 @@ rule OSXApp
}
actions BuildOSXApp
{
- $(RM) $(<) && \
+ $(RM) $(<) macosx/build/HandBrake.app && \
( cd macosx && xcodebuild ) && \
cp -r macosx/build/HandBrake.app $(<) && \
for i in $(LANGUAGES) ; do \