Fix: examples Makefile on FreeBSD
[urcu.git] / doc / examples / Makefile.am
1 doc_examplesdir = ${docdir}/examples
2
3 doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal
4
5 dist_doc_examples_qsbr_minimal_DATA = \
6 qsbr-minimal/Makefile \
7 qsbr-minimal/qsbr-minimal.c
8
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
24 endif
This page took 0.029269 seconds and 4 git commands to generate.