OSDN Git Service

Don't discard titles during scan just because of a read failure on one or more of...
[handbrake-jp/handbrake-jp-git.git] / contrib / Makefile
1 # Contrib Makefile
2
3 SYSTEM = $(shell uname -s)
4
5 # Special case for Mac OS X: everything is handled from the Xcode project
6 ifeq ($(SYSTEM),Darwin)
7
8 all:
9         ( echo "MacOs X doesn't use this makefile, to build the contrib please use ../jam" ; false )
10
11 endif
12
13 ifeq ($(SYSTEM),Linux)
14
15 all:    .contrib
16
17 .contrib:
18         ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam )
19
20 clean:  
21         ( echo "Do a make mrproper to remove the contrib libraries )
22
23 mrproper: 
24         (rm -rf lib ; rm -rf include )
25
26 endif
27
28 ifeq ($(SYSTEM),CYGWIN_NT-5.1)
29
30 all:    .contrib
31
32 .contrib:    
33         ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam.exe )
34
35 clean:
36         ( echo "Do a make mrproper to remove the contrib libraries )
37
38 mrproper: clean
39         (rm -rf lib ; rm -rf include ; rm -f .contrib)
40
41 endif