OSDN Git Service

If we try to release old frames in the loop that searches for a free one we may free...
[handbrake-jp/handbrake-jp-git.git] / contrib / Makefile
index b39c53e..1855ed0 100644 (file)
@@ -5,8 +5,16 @@ 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 )
+all:   .contrib
+
+.contrib:
+       ( 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
 
@@ -25,7 +33,7 @@ mrproper:
 
 endif
 
-ifeq ($(SYSTEM),CYGWIN_NT-5.1)
+ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)
 
 all:   .contrib