OSDN Git Service

CygWin:
[handbrake-jp/handbrake-jp-git.git] / contrib / Makefile
index 33baec4..1855ed0 100644 (file)
@@ -1,41 +1,49 @@
-# Contrib Makefile\r
-\r
-SYSTEM = $(shell uname -s)\r
-\r
-# Special case for Mac OS X: everything is handled from the Xcode project\r
-ifeq ($(SYSTEM),Darwin)\r
-\r
-all:\r
-       ( echo "MacOs X doesn't use this makefile, to build the contrib please use ../jam" ; false )\r
-\r
-endif\r
-\r
-ifeq ($(SYSTEM),Linux)\r
-\r
-all:   .contrib\r
-\r
-.contrib:\r
-       ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam )\r
-\r
-clean: \r
-       ( echo "Do a make mrproper to remove the contrib libraries )\r
-\r
-mrproper: \r
-       (rm -rf lib ; rm -rf include )\r
-\r
-endif\r
-\r
-ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)\r
-\r
-all:   .contrib\r
-\r
-.contrib:    \r
-       ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam.exe )\r
-\r
-clean:\r
-       ( echo "Do a make mrproper to remove the contrib libraries )\r
-\r
-mrproper: clean\r
-       (rm -rf lib ; rm -rf include ; rm -f .contrib)\r
-\r
-endif\r
+# Contrib Makefile
+
+SYSTEM = $(shell uname -s)
+
+# Special case for Mac OS X: everything is handled from the Xcode project
+ifeq ($(SYSTEM),Darwin)
+
+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
+
+ifeq ($(SYSTEM),Linux)
+
+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
+
+ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)
+
+all:   .contrib
+
+.contrib:    
+       ( 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 ; rm -f .contrib)
+
+endif