3 SYSTEM = $(shell uname -s)
5 # Special case for Mac OS X: everything is handled from the Xcode project
6 ifeq ($(SYSTEM),Darwin)
11 ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; ../jam )
14 ( echo "Do a make mrproper to remove the contrib libraries )
17 (rm -rf lib ; rm -rf include )
21 ifeq ($(SYSTEM),Linux)
26 ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam )
29 ( echo "Do a make mrproper to remove the contrib libraries )
32 (rm -rf lib ; rm -rf include )
36 ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)
41 ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; jam.exe )
44 ( echo "Do a make mrproper to remove the contrib libraries )
47 (rm -rf lib ; rm -rf include ; rm -f .contrib)