X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2FMakefile.am;h=440ac382a8412e738971869bf5dfdc0ef06f98d9;hb=6893800a4d1cc14dff0395ddcd660a5138db183d;hp=24c0bb87942600b6fb26879578e0485af4d92f8d;hpb=1b3874915095deab4aa9be0f33423e992e571bb7;p=urcu.git diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index 24c0bb8..440ac38 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -1,3 +1,22 @@ +AM_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_srcdir)/src + noinst_LIBRARIES = libtap.a libtap_a_SOURCES = tap.c tap.h -dist_noinst_SCRIPTS = tap.sh + +SCRIPT_LIST = tap.sh + +dist_noinst_SCRIPTS = $(SCRIPT_LIST) + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi