urcu-flavors/signal.c
dist_doc_examples_DATA = \
+ dist-files/Makefile \
Makefile.examples.template
doc_examples_listdir = ${doc_examplesdir}/list
# Don't build examples if shared libraries support was explicitly
# disabled.
else
-SUBDIRS_PROXY = urcu-flavors list hlist wfcqueue wfstack lfstack
-
all-local:
- for subdir in $(SUBDIRS_PROXY); do \
- cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \
- done
+ $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
clean-local:
- for subdir in $(SUBDIRS_PROXY); do \
- cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \
- done
+ $(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean;
endif
--- /dev/null
+# Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+#
+# THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
+# OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
+#
+# Permission is hereby granted to use or copy this program for any
+# purpose, provided the above notices are retained on all copies.
+# Permission to modify the code and to distribute modified code is
+# granted, provided the above notices are retained, and a notice that
+# the code was modified is included with the above copyright notice.
+#
+# This makefile is purposefully kept simple to support GNU and BSD make.
+
+all:
+ $(MAKE) -C hlist
+ $(MAKE) -C lfstack
+ $(MAKE) -C list
+ $(MAKE) -C urcu-flavors
+ $(MAKE) -C wfcqueue
+ $(MAKE) -C wfstack
+
+.PHONY: clean
+clean:
+ $(MAKE) -C hlist clean
+ $(MAKE) -C lfstack clean
+ $(MAKE) -C list clean
+ $(MAKE) -C urcu-flavors clean
+ $(MAKE) -C wfcqueue clean
+ $(MAKE) -C wfstack clean