Commit | Line | Data |
---|---|---|
8bad63a0 MD |
1 | doc_examplesdir = ${docdir}/examples |
2 | ||
3 | doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal | |
4 | ||
c50fdd7c | 5 | dist_doc_examples_qsbr_minimal_DATA = \ |
8bad63a0 MD |
6 | qsbr-minimal/Makefile \ |
7 | qsbr-minimal/qsbr-minimal.c | |
8 | ||
c50fdd7c MD |
9 | if NO_SHARED |
10 | # Don't build examples if shared libraries support was explicitly | |
11 | # disabled. | |
12 | else | |
13 | SUBDIRS_PROXY = qsbr-minimal | |
14 | ||
15 | all-local: | |
16 | for subdir in $(SUBDIRS_PROXY); do \ | |
17 | cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; \ | |
18 | done | |
19 | ||
20 | clean-local: | |
21 | for subdir in $(SUBDIRS_PROXY); do \ | |
22 | cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; \ | |
23 | done | |
2f49a496 | 24 | endif |