blob: b5aedd87dec040dbef70239b53870307b6822b0e (
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
|
# file : build/import/libdbxml/rules.make
# copyright : Copyright (c) 2005-2011 Boris Kolpackov
# license : GNU GPL v2; see accompanying LICENSE file
#@@ .l construction is compiler-specific
#
$(dcf_root)/import/libdbxml/%: root := $(libdbxml_root)
ifeq ($(libdbxml_type),archive)
$(dcf_root)/import/libdbxml/dbxml.l: \
$(libdbxml_root)/install/lib/libdbxml.a \
$(libdbxml_root)/install/lib/libxqilla.a \
$(libdbxml_root)/install/lib/libxerces-c.a \
$(libdbxml_root)/install/lib/libdb_cxx.a \
$(libdbxml_root)/install/lib/libdb.a
else
$(dcf_root)/import/libdbxml/dbxml.l: \
$(libdbxml_root)/install/lib/libdbxml.so \
$(libdbxml_root)/install/lib/libxqilla.so \
$(libdbxml_root)/install/lib/libxerces-c.so \
$(libdbxml_root)/install/lib/libdb_cxx.so \
$(libdbxml_root)/install/lib/libdb.so
@echo $^ | xargs -n 1 echo >$@
@echo rpath:$(root)/install/lib >>$@
endif
$(dcf_root)/import/libdbxml/dbxml.l.cpp-options:
@echo include: -I$(root)/install/include >$@
ifndef %foreign%
disfigure::
$(call message,rm $(dcf_root)/import/libdbxml/dbxml.l,\
rm -f $(dcf_root)/import/libdbxml/dbxml.l)
$(call message,,rm -f $(dcf_root)/import/libdbxml/dbxml.l.cpp-options)
endif
|