diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-05-12 13:14:04 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:26 +0900 |
commit | 9eb41ffe978f0cf0483bbc6bdfbe277424f3626a (patch) | |
tree | c43a78f6bee893647d3aa3c0ed01b1e9861ab18a /Makefile.am | |
parent | 2b1c30351b63c4cdbd6baefa56d463fc32eb0f74 (diff) | |
download | ltrace-9eb41ffe978f0cf0483bbc6bdfbe277424f3626a.tar.gz ltrace-9eb41ffe978f0cf0483bbc6bdfbe277424f3626a.tar.bz2 ltrace-9eb41ffe978f0cf0483bbc6bdfbe277424f3626a.zip |
I only build the dwarf_prototypes if we have libdw
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 6570cea..6ab11f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,10 @@ libltrace_la_SOURCES = bits.c breakpoints.c debug.c demangle.c dict.c \ options.c output.c proc.c read_config_file.c summary.c \ library.c filter.c glob.c type.c value.c value_dict.c expr.c \ fetch.c vect.c param.c printf.c zero.c lens.c lens_default.c \ - lens_enum.c memstream.c prototype.c dwarf_prototypes.c + lens_enum.c memstream.c prototype.c +if HAVE_LIBDW +libltrace_la_SOURCES += dwarf_prototypes.c +endif libltrace_la_LIBADD = \ $(libelf_LIBS) \ @@ -58,8 +61,10 @@ noinst_HEADERS = bits.h backend.h breakpoint.h common.h debug.h \ options.h output.h proc.h read_config_file.h summary.h \ library.h filter.h glob.h vect.h type.h value.h value_dict.h \ callback.h expr.h fetch.h vect.h param.h printf.h zero.h \ - lens.h lens_default.h lens_enum.h memstream.h prototype.h \ - dwarf_prototypes.h + lens.h lens_default.h lens_enum.h memstream.h prototype.h +if HAVE_LIBDW +noinst_HEADERS += dwarf_prototypes.h +endif dist_man1_MANS = ltrace.1 dist_man5_MANS = ltrace.conf.5 |