projects
/
lttv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2a9b7ad
)
Makefile.am fixed
author
compudj
<compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 25 Aug 2003 18:05:56 +0000
(18:05 +0000)
committer
compudj
<compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 25 Aug 2003 18:05:56 +0000
(18:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@184
04897980
-b3bd-0310-b5e0-
8ef037075253
ltt/branches/poly/configure.in
patch
|
blob
|
blame
|
history
ltt/branches/poly/include/ltt/ltt.h
patch
|
blob
|
blame
|
history
ltt/branches/poly/ltt/Makefile.am
patch
|
blob
|
blame
|
history
ltt/branches/poly/lttv/Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/ltt/branches/poly/configure.in
b/ltt/branches/poly/configure.in
index 9435ae8e6a443acf2c64d573082f9c9fe9f72745..43621d254bef03ce4cc9dfb259b4ceeeb91b69d9 100644
(file)
--- a/
ltt/branches/poly/configure.in
+++ b/
ltt/branches/poly/configure.in
@@
-45,7
+45,10
@@
lttlibdir="${libdir}/ltt"
AC_SUBST(lttlibdir)
AC_SUBST(lttlibdir)
-DEFAULT_INCLUDES="-I\$(top_srcdir)/include"
+top_includedir="\$(top_srcdir)/include"
+AC_SUBST(top_includedir)
+
+DEFAULT_INCLUDES="-I\$(top_includedir)"
AC_SUBST(DEFAULT_INCLUDES)
#CPPFLAGS="${GLIB_CFLAGS}"
AC_SUBST(DEFAULT_INCLUDES)
#CPPFLAGS="${GLIB_CFLAGS}"
diff --git
a/ltt/branches/poly/include/ltt/ltt.h
b/ltt/branches/poly/include/ltt/ltt.h
index d177e946d331e6b61c552efd230eb0f8e06df912..fc00a14d78888728966de71933f30437c0496674 100644
(file)
--- a/
ltt/branches/poly/include/ltt/ltt.h
+++ b/
ltt/branches/poly/include/ltt/ltt.h
@@
-124,6
+124,23
@@
do \
}\
} while(0)
}\
} while(0)
+/* (T2 = T1 * FLOAT) */
+/* WARNING : use this multiplicator carefully : on 32 bits, multiplying
+ * by more than 4 could overflow the tv_nsec.
+ */
+#define TimeMul(T2, T1, FLOAT) \
+do \
+{\
+ (T2).tv_sec = (T1).tv_sec * (FLOAT); \
+ (T2).tv_nsec = (T1).tv_nsec * (FLOAT); \
+ if((T2).tv_nsec >= 1000000000)\
+ {\
+ (T2).tv_sec += (T3).tv_nsec / 1000000000;\
+ (T2).tv_nsec = (T3).tv_nsec % 1000000000;\
+ }\
+} while(0)
+
+
#include <ltt/ltt-private.h>
#include <ltt/ltt-private.h>
diff --git
a/ltt/branches/poly/ltt/Makefile.am
b/ltt/branches/poly/ltt/Makefile.am
index 995d3e0021ffd7fc0e0c6f4c0d61f1d592e2a184..8af7e869ecff81529f715d1f77cf67dcee3844ec 100644
(file)
--- a/
ltt/branches/poly/ltt/Makefile.am
+++ b/
ltt/branches/poly/ltt/Makefile.am
@@
-15,6
+15,6
@@
lib_LTLIBRARIES = libtraceread.la
libtraceread_la_SOURCES = event.c facility.c parser.c tracefile.c type.c \
parser.h
libtraceread_la_SOURCES = event.c facility.c parser.c tracefile.c type.c \
parser.h
-libtraceread_la_DEPENDENCIES = $
(DEFAULT_INCLUDES)
/ltt/LTTTypes.h
+libtraceread_la_DEPENDENCIES = $
{top_includedir}
/ltt/LTTTypes.h
EXTRA_DIST = crc32.tab
EXTRA_DIST = crc32.tab
diff --git
a/ltt/branches/poly/lttv/Makefile.am
b/ltt/branches/poly/lttv/Makefile.am
index 0b603eaf54a4f1b3d93a6f54729d104cd97f62c7..0ef152ea9790fc99ceedae450a619c601a22f802 100644
(file)
--- a/
ltt/branches/poly/lttv/Makefile.am
+++ b/
ltt/branches/poly/lttv/Makefile.am
@@
-12,15
+12,15
@@
bin_PROGRAMS = lttv
lttv_SOURCES = main.c module.c option.c hook.c attribute.c \
iattribute.c processTrace.c state.c traceset.c
lttv_SOURCES = main.c module.c option.c hook.c attribute.c \
iattribute.c processTrace.c state.c traceset.c
-
#lttv_DEPENDENCIES = $(DEFAULT_INCLUDES
)/lttv/lttv.h \
-
# $(DEFAULT_INCLUDES
)/lttv/module.h \
-
# $(DEFAULT_INCLUDES
)/lttv/option.h \
-
# $(DEFAULT_INCLUDES
)/lttv/hook.h \
-
# $(DEFAULT_INCLUDES
)/lttv/attribute.h \
-
# $(DEFAULT_INCLUDES
)/lttv/iattribute.h \
-
# $(DEFAULT_INCLUDES
)/lttv/processTrace.h \
-
# $(DEFAULT_INCLUDES
)/lttv/state.h \
-
# $(DEFAULT_INCLUDES
)/lttv/traceset.h
+
lttv_DEPENDENCIES = $(top_includedir
)/lttv/lttv.h \
+
$(top_includedir
)/lttv/module.h \
+
$(top_includedir
)/lttv/option.h \
+
$(top_includedir
)/lttv/hook.h \
+
$(top_includedir
)/lttv/attribute.h \
+
$(top_includedir
)/lttv/iattribute.h \
+
$(top_includedir
)/lttv/processTrace.h \
+
$(top_includedir
)/lttv/state.h \
+
$(top_includedir
)/lttv/traceset.h
libdir = ${lttvplugindir}
libdir = ${lttvplugindir}
This page took
0.029462 seconds
and
4
git commands to generate.