From d1154eb460efe588eaed3d439c1caaca149fa362 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 18 Sep 2011 17:34:37 -0400 Subject: Shorten compile commands run by the build system The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and this was starting to cause some tools heartburn. It also made "make V=1" almost useless, since trying to following the individual commands run by make was lost in the noise of all of the defines. So fix this by putting the configure-generated defines in lib/config.h and the directory pathnames to lib/dirpaths.h. In addition, clean up some vestigal defines in configure.in and in the Makefiles to further shorten the cc command lines. Signed-off-by: "Theodore Ts'o" --- tests/progs/hold_inode.c | 1 + tests/progs/random_exercise.c | 1 + tests/progs/test_icount.c | 1 + tests/progs/test_rel.c | 1 + 4 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/progs/hold_inode.c b/tests/progs/hold_inode.c index debf4a4e..792aa71d 100644 --- a/tests/progs/hold_inode.c +++ b/tests/progs/hold_inode.c @@ -10,6 +10,7 @@ * %End-Header% */ +#include "config.h" #include #include #include diff --git a/tests/progs/random_exercise.c b/tests/progs/random_exercise.c index 0be389fb..38217ab5 100644 --- a/tests/progs/random_exercise.c +++ b/tests/progs/random_exercise.c @@ -13,6 +13,7 @@ * %End-Header% */ +#include "config.h" #include #include #include diff --git a/tests/progs/test_icount.c b/tests/progs/test_icount.c index 017cc4d8..d028a601 100644 --- a/tests/progs/test_icount.c +++ b/tests/progs/test_icount.c @@ -9,6 +9,7 @@ * %End-Header% */ +#include "config.h" #include #include #include diff --git a/tests/progs/test_rel.c b/tests/progs/test_rel.c index 954a7221..8f7280c7 100644 --- a/tests/progs/test_rel.c +++ b/tests/progs/test_rel.c @@ -9,6 +9,7 @@ * %End-Header% */ +#include "config.h" #include #include #include -- cgit v1.2.3