X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-constructor%2FMakefile.am;h=6c09cf58575cb5ec9be7d6fc76a663fbbb521229;hb=21b65d7fb06219571f42159b3667454c3104a8b7;hp=b68602b348a05f9f8c7fc0f2bcfc22aea5652e04;hpb=09a872ef0b4e1432329aa42fecc61f50e9baa367;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events-constructor/Makefile.am b/tests/utils/testapp/gen-ust-events-constructor/Makefile.am index b68602b34..6c09cf585 100644 --- a/tests/utils/testapp/gen-ust-events-constructor/Makefile.am +++ b/tests/utils/testapp/gen-ust-events-constructor/Makefile.am @@ -15,6 +15,7 @@ AM_CXXFLAGS += $(WARN_FLAGS) noinst_LTLIBRARIES = libtp-a-provider.la libtp-a-define.la \ libtp-a_c-provider.la libtp-a_c-define.la noinst_PROGRAMS = gen-ust-events-constructor-a \ + gen-ust-events-c-constructor-a \ uses_heap if NO_SHARED @@ -29,7 +30,8 @@ FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \ noinst_LTLIBRARIES += libtp-so-provider.la libtp-so-define.la \ libtp-so_c-provider.la libtp-so_c-define.la -noinst_PROGRAMS += gen-ust-events-constructor-so +noinst_PROGRAMS += gen-ust-events-constructor-so \ + gen-ust-events-c-constructor-so endif @@ -91,6 +93,21 @@ gen_ust_events_constructor_so_LDADD = $(UST_LIBS) \ $(top_builddir)/tests/utils/libtestutils.la \ $(DL_LIBS) +gen_ust_events_c_constructor_so_SOURCES = main_c-so.c \ + 01-c-tp-before-define.c \ + 02-c-define-tp.c \ + 03-c-tp-after-define.c \ + 04-c-tp-provider.c \ + 05-c-tp-after-provider.c \ + tp.h +gen_ust_events_c_constructor_so_LDADD = $(UST_LIBS) \ + $(builddir)/libtp-so-define.la \ + $(builddir)/libtp-so-provider.la \ + $(builddir)/libtp-so_c-define.la \ + $(builddir)/libtp-so_c-provider.la \ + $(top_builddir)/tests/utils/libtestutils.la \ + $(DL_LIBS) + gen_ust_events_constructor_a_SOURCES = main-a.cpp \ 01-tp-before-define.cpp \ 02-define-tp.cpp \ @@ -108,6 +125,19 @@ gen_ust_events_constructor_a_LDADD = $(UST_LIBS) \ $(top_builddir)/tests/utils/libtestutils.la \ $(DL_LIBS) +gen_ust_events_c_constructor_a_SOURCES = main_c-a.c \ + 01-c-tp-before-define.c \ + 02-c-define-tp.c \ + 03-c-tp-after-define.c \ + 04-c-tp-provider.c \ + 05-c-tp-after-provider.c \ + tp.h +gen_ust_events_c_constructor_a_LDADD = $(UST_LIBS) \ + $(builddir)/libtp-a_c-define.la \ + $(builddir)/libtp-a_c-provider.la \ + $(top_builddir)/tests/utils/libtestutils.la \ + $(DL_LIBS) + uses_heap_SOURCES = uses_heap.cpp endif