#CPPFLAGS="$CPPFLAGS -I"
-lttplugindir="${libdir}/ltt/plugins"
-AC_SUBST(lttplugindir)
+lttvplugindir="${libdir}/lttv/plugins"
+AC_SUBST(lttvplugindir)
DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
AC_SUBST(DEFAULT_INCLUDES)
AC_CONFIG_FILES([Makefile
lttv/Makefile
lttv/plugins/Makefile
+ lttv/plugins/exemples/Makefile
lttd/Makefile
LibLTT/Makefile])
AC_OUTPUT
# Created by Mathieu Desnoyers on May 6, 2003
#
-libdir = ${lttplugindir}
+SUBDIRS = exemples
-#lib_LTLIBRARIES = samplemodule2.la
-#samplemodule2_la_LDFLAGS = -module
-#samplemodule2_la_SOURCES = samplemodule2.c
+libdir = ${lttvplugindir}
+
+#lib_LTLIBRARIES = sampledep.la
+#sampledep_la_LDFLAGS = -module
+#sampledep_la_SOURCES = sampledep.c
+++ /dev/null
-#
-# Makefile for LTT New generation user interface : test plugins.
-#
-# Created by Mathieu Desnoyers on May 6, 2003
-#
-
-libdir = ${lttplugindir}
-
-lib_LTLIBRARIES = sampledep.la samplemodule.la samplemodule2.la
-sampledep_la_LDFLAGS = -module
-sampledep_la_SOURCES = sampledep.c
-samplemodule_la_LDFLAGS = -module
-samplemodule_la_SOURCES = samplemodule.c
-samplemodule2_la_LDFLAGS = -module
-samplemodule2_la_SOURCES = samplemodule2.c
+++ /dev/null
-/* Sample module for Linux Trace Toolkit new generation User Interface */
-
-/* Created by Mathieu Desnoyers, may 2003 */
-
-#include <glib.h>
-#include <gmodule.h>
-
-/* Include module.h from lttv headers for module loading */
-#include <lttv/module.h>
-
-G_MODULE_EXPORT void init() {
- g_critical("Sample module dependant init()");
-
- lttv_module_load("samplemodule",0,NULL,DEPENDANT);
-}
-
-G_MODULE_EXPORT void destroy() {
- g_critical("Sample module dependant destroy()");
- lttv_module_unload_name("samplemodule",DEPENDANT);
-}
-
+++ /dev/null
-/* Sample module for Linux Trace Toolkit new generation User Interface */
-
-/* Created by Mathieu Desnoyers, may 2003 */
-
-#include <glib.h>
-#include <gmodule.h>
-
-G_MODULE_EXPORT void init() {
- g_critical("Sample module init()");
-}
-
-G_MODULE_EXPORT void destroy() {
- g_critical("Sample module destroy()");
-}
-
+++ /dev/null
-/* Sample module for Linux Trace Toolkit new generation User Interface */
-
-/* Created by Mathieu Desnoyers, may 2003 */
-
-#include <glib.h>
-#include <gmodule.h>
-
-G_MODULE_EXPORT void init() {
- g_critical("Sample module 2 init()");
-}
-
-G_MODULE_EXPORT void destroy() {
- g_critical("Sample module 2 destroy()");
-}
-