I don't find a proper way to let the libtool Automake magic automatically
link against the initializer object as well. Therefore I need to add it
manually to each testcase.
Signed-off-by: Jan Blunck <jblunck@suse.de>
noinst_PROGRAMS = basic
basic_SOURCES = basic.c
-basic_LDADD = $(top_builddir)/libust/libust.la
+basic_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
noinst_SCRIPTS = run
EXTRA_DIST = run
return 0;
}
-
-MARKER_LIB;
noinst_PROGRAMS = basic_long
basic_long_SOURCES = basic_long.c
-basic_long_LDADD = $(top_builddir)/libust/libust.la
+basic_long_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
noinst_SCRIPTS = run
EXTRA_DIST = run
return 0;
}
-
-MARKER_LIB;
noinst_PROGRAMS = fork fork2
fork_SOURCES = fork.c
-fork_LDADD = $(top_builddir)/libust/libust.la
+fork_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
fork2_SOURCES = fork2.c
-fork2_LDADD = $(top_builddir)/libust/libust.la
+fork2_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
noinst_SCRIPTS = run
EXTRA_DIST = run
return 0;
}
-
-MARKER_LIB;
return 0;
}
-
-MARKER_LIB;
noinst_PROGRAMS = hello
hello_SOURCES = hello.c tp.c tp.h
-hello_LDADD = $(top_builddir)/libust/libust.la
+hello_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
noinst_SCRIPTS = run
EXTRA_DIST = run
return 0;
}
-
-MARKER_LIB;
-TRACEPOINT_LIB;
noinst_PROGRAMS = hello2
hello2_SOURCES = hello2.c
-hello2_LDADD = $(top_builddir)/libust/libust.la
+hello2_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o
noinst_SCRIPTS = run
EXTRA_DIST = run