blob: fa707358a650d02a3c4773267df17680646d6ee6 (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# file : build/import/libboost/filesystem/rules.make
# author : Boris Kolpackov <boris@kolpackov.net>
# copyright : Copyright (c) 2005-2011 Boris Kolpackov
# license : GNU GPL v2; see accompanying LICENSE file
#@@ Should use message everywhere.
#
$(dcf_root)/import/libboost/%: root := $(libboost_root)
$(dcf_root)/import/libboost/filesystem/filesystem.l: \
| $(dcf_root)/import/libboost/filesystem/.
ifeq ($(libboost_type),archive)
ifeq ($(libboost_system),y)
$(dcf_root)/import/libboost/filesystem/filesystem.l: \
$(libboost_root)/stage/lib/libboost_filesystem$(libboost_suffix).a \
$(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a
else
$(dcf_root)/import/libboost/filesystem/filesystem.l: \
$(libboost_root)/stage/lib/libboost_filesystem$(libboost_suffix).a
endif
@echo $^ >$@
else
ifeq ($(libboost_system),y)
$(dcf_root)/import/libboost/filesystem/filesystem.l: \
$(libboost_root)/stage/lib/libboost_filesystem$(libboost_suffix).so \
$(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so
else
$(dcf_root)/import/libboost/filesystem/filesystem.l: \
$(libboost_root)/stage/lib/libboost_filesystem$(libboost_suffix).so
endif
@echo $^ >$@
@echo rpath:$(root)/stage/lib >>$@
endif
$(dcf_root)/import/libboost/filesystem/filesystem.l.cpp-options: \
| $(dcf_root)/import/libboost/filesystem/.
@echo include: -I$(root) >$@
ifndef %foreign%
disfigure::
$(call message,rm $(dcf_root)/import/libboost/filesystem/filesystem.l,\
rm -f $(dcf_root)/import/libboost/filesystem/filesystem.l)
$(call message,,rm -f $(dcf_root)/import/libboost/filesystem/filesystem.l.cpp-options)
endif
|