apply tim fixes
[lttv.git] / ltt / branches / poly / lttv / lttv / Makefile.am
index 961551d9b3b299081f001938fbc0b8e948951fd7..f96f418f4c3b0c34e3d611764ea6caac7cea5560 100644 (file)
@@ -1,6 +1,6 @@
 AM_CFLAGS = $(GLIB_CFLAGS) 
-#LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L$(top_srcdir)/ltt -ltraceread
-LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L${top_srcdir}/ltt -ltraceread
+LIBS += $(POPT_LIBS) $(GLIB_LIBS) -lgobject-2.0 -L${top_builddir}/ltt\
+          -llttvtraceread
 
 bin_PROGRAMS = lttv.real
 
@@ -11,13 +11,13 @@ EXTRA_DIST = lttv.sh lttv-gui.sh
 lttv: lttv.sh
        rm -f lttv
        echo "#!"$(BASH) > lttv
-       cat lttv.sh >> lttv
+       cat $(srcdir)/lttv.sh >> lttv
        chmod ugo+x lttv
 
 lttv-gui: lttv-gui.sh
        rm -f lttv-gui
        echo "#!"$(BASH) > lttv-gui
-       cat lttv-gui.sh >> lttv-gui
+       cat $(srcdir)/lttv-gui.sh >> lttv-gui
        chmod ugo+x lttv-gui
 
 
@@ -50,6 +50,17 @@ lttv_real_SOURCES = batchtest.c main.c module.c option.c \
                iattribute.c state.c stats.c \
               tracecontext.c traceset.c filter.c print.c
 
+#man_MANS = lttv.1
+#EXTRA_DIST = lttv.1
+
+#install-data-hook:
+#      cd $(DESTDIR)$(mandir)/man1 && \
+#              $(LN_S) -f lttv.1 lttv-gui.1 \
+#              $(LN_S) -f lttv.1 lttv.real.1
+
+lttv_real_LDFLAGS = -export-dynamic
+
 if LTTVSTATIC
-  lttv_real_LDFLAGS = -profile -static
+  lttv_real_LDFLAGS += -profile -static
 endif
+
This page took 0.023926 seconds and 4 git commands to generate.