|
From: Julian S. <js...@ac...> - 2003-12-13 03:08:14
|
CVS commit by jseward:
Un-break 'make distcheck' yet again. I guess someone somewhere understands
how autoconf/automake really work, but not me :-) What's the difference
between $(srcdir) and $(top_srcdir) (eg in coregrind/Makefile.am) ?
M +1 -1 corecheck/tests/Makefile.am 1.17
M +1 -1 corecheck/tests/vgprintf.c 1.2
M +1 -1 coregrind/Makefile.am 1.60
M +1 -1 coregrind/vg_startup.S 1.19
--- valgrind/corecheck/tests/Makefile.am #1.16:1.17
@@ -38,5 +38,5 @@
vgprintf
-AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O0
+AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O0 -I$(top_srcdir)/include
AM_CXXFLAGS = $(AM_CFLAGS)
--- valgrind/corecheck/tests/vgprintf.c #1.1:1.2
@@ -1,3 +1,3 @@
-#include <include/valgrind.h>
+#include "valgrind.h"
#include <stdio.h>
--- valgrind/coregrind/Makefile.am #1.59:1.60
@@ -7,5 +7,5 @@
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fno-omit-frame-pointer \
@PREFERRED_STACK_BOUNDARY@ -g -fpic
-AM_CCASFLAGS = $(add_includes)
+AM_CCASFLAGS = $(add_includes) -I..
valdir = $(libdir)/valgrind
--- valgrind/coregrind/vg_startup.S #1.18:1.19
@@ -31,5 +31,5 @@
#include "vg_constants.h"
-#include "../config.h"
+#include "config.h"
|