endif # !MAN_PAGES_OPT
# Always distribute the source files.
-EXTRA_DIST += $(MAN_TXT) $(COMMON_TXT) $(XSL_FILE) $(ASCIIDOC_CONF)
+EXTRA_DIST += $(MAN_TXT) $(COMMON_TXT) $(XSL_FILE) $(ASCIIDOC_CONF) README.md
-llttng-ust \
$(DL_LIBS)
-noinst_SCRIPTS = run run-fast
-EXTRA_DIST = run run-fast
+dist_noinst_SCRIPTS = run run-fast
all-local: org_lttng_ust_LTTngUst.h
+EXTRA_DIST = README
+
CLEANFILES = $(jarfile) $(pkgpath)/*.class jni-header.stamp org_lttng_ust_LTTngUst.h
-llttng-ust \
$(DL_LIBS)
-noinst_SCRIPTS = run
-EXTRA_DIST = run
+dist_noinst_SCRIPTS = run
+EXTRA_DIST = README
libustsnprintf_la_LDFLAGS = -no-undefined -static
libustsnprintf_la_CFLAGS = -DUST_COMPONENT="lttng_ust_snprintf" -fPIC $(AM_CFLAGS)
+
+EXTRA_DIST = README
ust-elf/test_ust_elf \
gcc-weak-hidden/test_gcc_weak_hidden
+EXTRA_DIST = README
+
check-loop:
while [ 0 ]; do \
$(MAKE) $(AM_MAKEFLAGS) check; \
dist_noinst_SCRIPTS = test_benchmark ptime
-extra_DIST = README
+EXTRA_DIST = README
ctf_types_SOURCES = ctf-types.c tp.c ust_tests_ctf_types.h
ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS)
ctf_types_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
+
+EXTRA_DIST = README
hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h
hello_many_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS)
hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
+
+EXTRA_DIST = README
noinst_PROGRAMS = hello
hello_SOURCES = hello.cpp tp-cpp.cpp ust_tests_hello.h
hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS)
+
+EXTRA_DIST = README
hello_SOURCES = hello.c tp.c ust_tests_hello.h
hello_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS)
hello_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)
+
+EXTRA_DIST = README
noinst_PROGRAMS = same_line_tracepoint
same_line_tracepoint_SOURCES = same_line_tracepoint.c ust_tests_sameline.h
same_line_tracepoint_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS)
+
+EXTRA_DIST = README
test_snprintf_SOURCES = snprintf.c
test_snprintf_LDADD = $(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/tests/utils/libtap.a
+
+EXTRA_DIST = README
$(top_builddir)/libust-initializer.o -lpthread -lrt
CFLAGS_trace_event_test.o = -I$(src) $(AM_CFLAGS)
-noinst_SCRIPTS = run
-EXTRA_DIST = run
+dist_noinst_SCRIPTS = run
#ust/tests/tracepoint/tracepoint_test.c:64: undefined reference to
#`register_trace_ust_event_msg'
#CFLAGS_tracepoint_test.o = -I$(src) $(AM_CFLAGS)
-noinst_SCRIPTS = run
-EXTRA_DIST = run
+
+dist_noinst_SCRIPTS = run
ust_elf_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la \
$(top_builddir)/tests/utils/libtap.a
+# Directories added to EXTRA_DIST will be recursively copied to the distribution.
EXTRA_DIST = \
- $(srcdir)/data/main.c \
- $(srcdir)/data/aarch64_be/main.elf \
- $(srcdir)/data/aarch64_be/main.elf.debug \
- $(srcdir)/data/armeb/main.elf \
- $(srcdir)/data/armeb/main.elf.debug \
- $(srcdir)/data/x86/main.elf \
- $(srcdir)/data/x86/main.elf.debug \
- $(srcdir)/data/x86_64/main.elf \
- $(srcdir)/data/x86_64/main.elf.debug \
- $(srcdir)/data/pic/hello.exec \
- $(srcdir)/data/pic/hello.pie \
- $(srcdir)/data/pic/hello.pic \
- $(srcdir)/data/pic/hello.c \
- $(srcdir)/data/pic/libhello.c
+ $(srcdir)/data \
+ README.md
dist_bin_SCRIPTS = lttng-gen-tp
-EXTRA_DIST = lttng-gen-tp
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(EXTRA_DIST); do \
+ for script in $(dist_bin_SCRIPTS); do \
cp -f $(srcdir)/$$script $(builddir); \
done; \
fi
clean-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(EXTRA_DIST); do \
+ for script in $(dist_bin_SCRIPTS); do \
rm -f $(builddir)/$$script; \
done; \
fi