Fix use after free of name_tables
[lttv.git] / lttv / lttv / Makefile.am
index 170f4d5bd3d48d35c52538da70cf0435bb7bd1f9..b0bc52f4c1d0ed2ccd78ad4e289fbf82b520f2b5 100644 (file)
@@ -1,7 +1,5 @@
-AM_CFLAGS = $(GLIB_CFLAGS) 
-LIBS += $(THREAD_LIBS)
-LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L${top_builddir}/ltt\
-          -llttvtraceread
+AM_CFLAGS= $(PACKAGE_CFLAGS)
+LDADD = $(POPT_LIBS) ${top_builddir}/ltt/liblttvtraceread.la
 
 bin_PROGRAMS = lttv.real
 
@@ -24,25 +22,10 @@ lttv-gui: lttv-gui.sh
 
 INCLUDES = \
        -DPACKAGE_PLUGIN_DIR=\""$(lttvplugindir)"\" \
-       @PACKAGE_CFLAGS@ \
        $(DEFAULT_INCLUDES)
 
 libdir = ${lttvplugindir}
 
-lttvinclude_HEADERS = \
-       attribute.h\
-       hook.h\
-       iattribute.h\
-       lttv.h\
-       module.h\
-       option.h\
-       state.h\
-       stats.h\
-       tracecontext.h\
-       traceset.h\
-       filter.h\
-       print.h
-
 #noinst_HEADERS = \
 #      filter.h
 
@@ -62,6 +45,6 @@ lttv_real_SOURCES = batchtest.c main.c module.c option.c \
 lttv_real_LDFLAGS = -export-dynamic
 
 if LTTVSTATIC
-  lttv_real_LDFLAGS += -profile -static
+  lttv_real_LDFLAGS += -static
 endif
 
This page took 0.023206 seconds and 4 git commands to generate.