|
From: Nicholas N. <nj...@ca...> - 2004-10-18 18:07:52
|
CVS commit by nethercote:
Arch-abstraction: fix up valgrind.h for future inclusion of other
architectures. Had to recast it as valgrind.h.in; now at configure time the
appropriate #define is set so that the appropriate snippet of assembly code is
chosen. It's done this way rather than with x86/ etc. directories like the
rest of Valgrind, because this header file must stand alone for inclusion by
other programs.
A include/valgrind.h.in 1.1
M +1 -0 configure.in 1.129
M +5 -4 include/Makefile.am 1.9
R include/valgrind.h 1.27
--- valgrind/configure.in #1.128:1.129
@@ -397,4 +397,5 @@
tests/vg_regtest
tests/unused/Makefile
+ include/valgrind.h
include/Makefile
include/x86/Makefile
--- valgrind/include/Makefile.am #1.8:1.9
@@ -3,6 +3,7 @@
EXTRA_DIST = \
- vg_profile.c \
- tool.h.base
+ tool.h.base \
+ valgrind.h.in \
+ vg_profile.c
incincdir = $(includedir)/valgrind
@@ -15,6 +16,6 @@
vg_skin.h
-BUILT_SOURCES = tool.h
-CLEANFILES = tool.h
+BUILT_SOURCES = tool.h valgrind.h
+CLEANFILES = tool.h valgrind.h
tool.h: $(srcdir)/tool.h.base \
|