git-svn-id: http://ltt.polymtl.ca/svn@289 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / lttv / Makefile.am
index 37a9fc3914e51c4d745d0af4759fe48f5390aded..cdaeeaebfbc853d8a70890bc731c2044eba7b5e3 100644 (file)
@@ -1,11 +1,26 @@
-bin_PROGRAMS = textui
+AM_CFLAGS = $(GLIB_CFLAGS) 
+LIBS += $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
+#LIBS += $(GLIB_LIBS) -lgobject-2.0 -lltt
 
-# Includes will have to be changed in the .c files if we want to
-# remove the top_srcdir from the includes path.
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/lttv \
-       -I$(top_srcdir)
+bin_PROGRAMS = lttv
+
+#AM_CPPFLAGS = \
+#      -I$(top_srcdir)/include
+#INCLUDES=$(top_srcdir)/include
+
+lttv_SOURCES = main.c module.c option.c hook.c attribute.c \
+               iattribute.c processTrace.c state.c traceset.c
+
+libdir = ${lttvplugindir}
+
+lib_LTLIBRARIES = libtextDump.la libbatchAnalysis.la
+libtextDump_la_LDFLAGS = -module
+libtextDump_la_SOURCES = textDump.c
+libbatchAnalysis_la_LDFLAGS = -module
+libbatchAnalysis_la_SOURCES = batchAnalysis.c
+
+
+# WARNING : must be done at the end, so modules can dynamically link themselves
+# to libraries compiled here but not installed in the system.
+SUBDIRS = modules
 
-# MD //FIXME add headers dependancy
-textui_SOURCES = main.c module.c option.c hook.c attribute.c
-textui_LDFLAGS = -lpopt -lgmodule-2.0 -ldl -lglib-2.0
This page took 0.023098 seconds and 4 git commands to generate.