summaryrefslogtreecommitdiff
path: root/xsd/build/import/libxqilla/rules.make
blob: 11f442dfbef98731c9ee5f49b082d5b32bef0b6d (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
# file      : build/import/libxqilla/rules.make
# copyright : Copyright (c) 2005-2009 Boris Kolpackov
# license   : GNU GPL v2; see accompanying LICENSE file

$(dcf_root)/import/libxqilla/%: root := $(libxqilla_root)

ifeq ($(libxqilla_type),archive)

$(dcf_root)/import/libxqilla/xqilla.l: $(libxqilla_root)/.libs/libxqilla.a
	@echo $< >$@
else

$(dcf_root)/import/libxqilla/xqilla.l: $(libxqilla_root)/.libs/libxqilla.so
	@echo $< >$@
	@echo rpath:$(root)/.libs >>$@
endif

$(dcf_root)/import/libxqilla/xqilla.l.cpp-options:
	@echo include: -I$(root)/include >$@


ifndef %foreign%

disfigure::
	$(call message,rm $(dcf_root)/import/libxqilla/xqilla.l,\
rm -f $(dcf_root)/import/libxqilla/xqilla.l)
	$(call message,,rm -f $(dcf_root)/import/libxqilla/xqilla.l.cpp-options)

endif