X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-constructor%2FMakefile.am;h=5e9fd90f0aeca714808e38c5877c7f59e46c0291;hb=ed1b6b66f5b5d319e86aa7522edbf7517c7ed25d;hp=4e7e1e1021576da8db846e4d074b411ec9851608;hpb=a4cc1b1ff4fc661a3980bbe2ceba789acf05dfce;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 4e7e1e102..5e9fd90f0 100644 --- a/tests/utils/testapp/gen-ust-events-constructor/Makefile.am +++ b/tests/utils/testapp/gen-ust-events-constructor/Makefile.am @@ -24,7 +24,9 @@ FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \ endif noinst_LTLIBRARIES = libtp-so-provider.la libtp-so-define.la \ - libtp-a-provider.la libtp-a-define.la + libtp-so_c-provider.la libtp-so_c-define.la \ + libtp-a-provider.la libtp-a-define.la \ + libtp-a_c-provider.la libtp-a_c-define.la # dynamic libraries libtp_so_provider_la_SOURCES = \ @@ -39,6 +41,16 @@ libtp_so_define_la_SOURCES = \ libtp_so_define_la_LDFLAGS = \ $(FORCE_SHARED_LIB_OPTIONS) +libtp_so_c_provider_la_SOURCES = \ + tp-so_c-provider.c \ + tp-so_c.h +libtp_so_c_provider_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS) + +libtp_so_c_define_la_SOURCES = \ + tp-so_c-define.c \ + tp-so_c.h +libtp_so_c_define_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS) + # static archives libtp_a_provider_la_SOURCES = \ tp-a-provider.cpp \ @@ -48,9 +60,18 @@ libtp_a_define_la_SOURCES = \ tp-a-define.cpp \ tp-a.h -noinst_PROGRAMS = gen-ust-events-constructor -gen_ust_events_constructor_SOURCES = \ - main.cpp \ +libtp_a_c_provider_la_SOURCES = \ + tp-a_c-provider.c \ + tp-a_c.h + +libtp_a_c_define_la_SOURCES = \ + tp-a_c-define.c \ + tp-a_c.h + + +noinst_PROGRAMS = gen-ust-events-constructor \ + uses_heap +gen_ust_events_constructor_SOURCES = main.cpp \ 01-tp-before-define.cpp \ 02-define-tp.cpp \ 03-tp-after-define.cpp \ @@ -62,8 +83,14 @@ gen_ust_events_constructor_SOURCES = \ gen_ust_events_constructor_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 \ $(builddir)/libtp-a-define.la \ $(builddir)/libtp-a-provider.la \ + $(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