]> git.lttng.org Git - lttng-ust.git/commitdiff
Remove unbuild and unused (deprecated) make_shared_lib test
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Mar 2012 19:06:49 +0000 (14:06 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Mar 2012 19:06:49 +0000 (14:06 -0500)
Was for UST 0.x.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/make_shared_lib/Makefile [deleted file]
tests/make_shared_lib/basic_lib.c [deleted file]
tests/make_shared_lib/prog.c [deleted file]

diff --git a/tests/make_shared_lib/Makefile b/tests/make_shared_lib/Makefile
deleted file mode 100644 (file)
index 5164ba9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#all: libbasic.so prog libbasic-noscript.so prog_noscript
-all: libbasic.so prog
-
-libbasic.so: basic_lib.o
-       gcc -g $(LDFLAGS) -fPIC -o libbasic.so -shared -lust basic_lib.o
-libbasic-noscript.so: basic_lib_noscript.o
-       gcc -g $(LDFLAGS) -fPIC -o libbasic-noscript.so -shared basic_lib_noscript.o /usr/local/lib/libust.so.0 /usr/local/lib/libust-initializer.o
-
-basic_lib.o: basic_lib.c
-       gcc -g $(CFLAGS) -fPIC -c basic_lib.c
-basic_lib_noscript.o: basic_lib.c
-       gcc -g -fPIC -o basic_lib_noscript.o -c basic_lib.c
-
-prog: prog.c
-       gcc -g $(CFLAGS) $(LDFLAGS) -o prog -L . -lbasic -lust prog.c
-prog_noscript: prog.c
-       gcc -g -o prog_noscript -L . -lbasic-noscript prog.c /usr/local/lib/libust.so.0 /usr/local/lib/libust-initializer.o
-
-.PHONY: clean
-clean:
-       rm -f basic_lib.o libbasic.so prog basic_lib_noscript.o libbasic-noscript.so
diff --git a/tests/make_shared_lib/basic_lib.c b/tests/make_shared_lib/basic_lib.c
deleted file mode 100644 (file)
index 4facd9d..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <stdio.h>
-#include <ust/marker.h>
-
-void myfunc(void)
-{
-       ust_marker(in_lib, MARK_NOARGS);
-       printf("testfunc\n");
-}
-
-//UST_MARKER_LIB
diff --git a/tests/make_shared_lib/prog.c b/tests/make_shared_lib/prog.c
deleted file mode 100644 (file)
index 7b7357a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <ust/marker.h>
-
-extern myfunc(void);
-
-int main(void)
-{
-       myfunc();
-       ust_marker(in_prog, MARK_NOARGS);
-       return 0;
-}
This page took 0.029847 seconds and 4 git commands to generate.