blob: b39c53ea67bc0001d2cc6658ce6f966c0d674a8b (
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 ($(SYSTEM),CYGWIN_NT-5.1)
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
|