X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=contrib%2FMakefile;h=1855ed06c2bc7e3615763b6e88c01bf27aaa5621;hb=b503190ecc40bb4eeed504213aa90b3a65e244c7;hp=24d6ee243c4c29686fee0fa71a3615800492cc2a;hpb=7fc9f5a60322e12dc56fe392ba98f935f7ba11ed;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/contrib/Makefile b/contrib/Makefile index 24d6ee24..1855ed06 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,49 +1,49 @@ -# 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 +# 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