]> granicus.if.org Git - handbrake/commitdiff
Some Makefile corrections
authorprigaux <pri@nopapers.org>
Mon, 12 Feb 2007 08:09:29 +0000 (08:09 +0000)
committerprigaux <pri@nopapers.org>
Mon, 12 Feb 2007 08:09:29 +0000 (08:09 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.8.0_beta2@303 b64f7644-9d1e-0410-96f1-a4d463321fa5

contrib/Makefile [new file with mode: 0644]

diff --git a/contrib/Makefile b/contrib/Makefile
new file mode 100644 (file)
index 0000000..d402dca
--- /dev/null
@@ -0,0 +1,37 @@
+# Contrib Makefile
+
+SYSTEM = $(shell uname -s)
+
+# Special case for Mac OS X: everything is handled from the Xcode project
+ifeq ($(SYSTEM),Darwin)
+
+all:
+       ( echo "MacOs X doesn't use this makefile, to build the contrib please use ../jam" ; false )
+
+endif
+
+ifeq ($(SYSTEM),Linux)
+
+all:
+       ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam )
+
+clean: 
+       ( echo "Do a make mrproper to remove the contrib libraries )
+
+mrproper: 
+       (rm -rf lib ; rm -rf include )
+
+endif
+
+ifeq ($(SYSTEM),CYGWIN_NT-5.1)
+
+all:    
+       ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam.exe )
+
+clean:
+       ( echo "Do a make mrproper to remove the contrib libraries )
+
+mrproper: clean
+       (rm -rf lib ; rm -rf include )
+
+endif