blob: 33baec42c7ca51aea9ef010f2fbb1d7777d4c9d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contrib Makefile
SYSTEM = $(shell uname -s)
# Special case for Mac OS X: everything is handled from the Xcode project
ifeq ($(SYSTEM),Darwin)
all:
( echo "MacOs X doesn't use this makefile, to build the contrib please use ../jam" ; false )
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
|