OSDN Git Service

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