summaryrefslogtreecommitdiff
path: root/xsd/build/import/libdbxml/stub.make
blob: f8eb9a3aed9c8719ade2b22e6a17fc2d3ab0d05d (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
# file      : build/import/libdbxml/stub.make
# author    : Boris Kolpackov <boris@kolpackov.net>
# copyright : Copyright (c) 2005-2009 Boris Kolpackov
# license   : GNU GPL v2; see accompanying LICENSE file

$(call include-once,$(scf_root)/import/libdbxml/configuration-rules.make,$(dcf_root))

libdbxml_installed :=

$(call -include,$(dcf_root)/import/libdbxml/configuration-dynamic.make)

ifdef libdbxml_installed

ifeq ($(libdbxml_installed),y)

$(call export,l: -ldbxml -lxqilla -lxerces-c -ldb_cxx -ldb,cpp-options: )

else

$(call include-once,$(scf_root)/import/libdbxml/rules.make,$(dcf_root))

$(call export,\
  l: $(dcf_root)/import/libdbxml/dbxml.l,\
  cpp-options: $(dcf_root)/import/libdbxml/dbxml.l.cpp-options)

endif

else

.NOTPARALLEL:

endif