Hi, This is what I found during reading the Makefile. Main goal is using positive macro name to reduce confusing when dealing with #ifdef's.
You can get it from my tree too: git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git perf/makefile Any comments are welcome, thanks. Namhyung Namhyung Kim (12): perf tools: Move libdw availability check before arch Makefile perf tools: Remove unused PYRF_OBJS variable on Makefile perf tools: Convert to LIBELF_SUPPORT perf tools: Convert to LIBUNWIND_SUPPORT perf tools: Convert to LIBAUDIT_SUPPORT perf tools: Convert to NEWT_SUPPORT perf tools: Convert to GTK2_SUPPORT perf tools: Convert to LIBPERL_SUPPORT perf tools: Convert to LIBPYTHON_SUPPORT perf tools: Convert to DEMANGLE_SUPPORT perf tools: Convert to BACKTRACE_SUPPORT perf tools: Convert to HAVE_STRLCPY tools/perf/Makefile | 114 ++++++++++++-------------------- tools/perf/builtin-inject.c | 2 +- tools/perf/builtin-record.c | 14 ++-- tools/perf/builtin-script.c | 4 +- tools/perf/perf.c | 4 +- tools/perf/ui/gtk/util.c | 2 +- tools/perf/ui/helpline.h | 18 ++--- tools/perf/util/annotate.h | 8 +-- tools/perf/util/cache.h | 38 ++++++----- tools/perf/util/debug.c | 2 +- tools/perf/util/debug.h | 17 ++--- tools/perf/util/generate-cmdlist.sh | 4 +- tools/perf/util/hist.h | 27 ++++---- tools/perf/util/map.c | 2 +- tools/perf/util/path.c | 2 +- tools/perf/util/perf_regs.h | 4 +- tools/perf/util/symbol.h | 29 ++++---- tools/perf/util/trace-event-scripting.c | 20 +++--- tools/perf/util/unwind.h | 4 +- tools/perf/util/util.c | 4 +- 20 files changed, 149 insertions(+), 170 deletions(-) -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/