Makefile.am revision 036fb18dc5e4a5ad2d3ab6e97c43acf83e406efd
1# This file is part of ltrace. 2# Copyright (C) 2012 Petr Machata, Red Hat Inc. 3# Copyright (C) 2010 Marc Kleine-Budde, Pengutronix 4# Copyright (C) 2010 Zachary T Welch, CodeSourcery 5# 6# This program is free software; you can redistribute it and/or 7# modify it under the terms of the GNU General Public License as 8# published by the Free Software Foundation; either version 2 of the 9# License, or (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, but 12# WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14# General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software 18# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 19# 02110-1301 USA 20 21ACLOCAL_AMFLAGS = -I config/m4 22 23SUBDIRS = \ 24 sysdeps \ 25 . \ 26 testsuite 27 28AM_CPPFLAGS += \ 29 $(libelf_CFLAGS) \ 30 -DSYSCONFDIR=\"$(sysconfdir)\" 31 32noinst_LTLIBRARIES = \ 33 libltrace.la 34 35libltrace_la_SOURCES = \ 36 breakpoints.c \ 37 debug.c \ 38 demangle.c \ 39 dict.c \ 40 ltrace-elf.c \ 41 execute_program.c \ 42 handle_event.c \ 43 libltrace.c \ 44 options.c \ 45 output.c \ 46 proc.c \ 47 read_config_file.c \ 48 summary.c \ 49 library.c \ 50 filter.c \ 51 glob.c \ 52 type.c \ 53 value.c \ 54 value_dict.c \ 55 expr.c \ 56 fetch.c \ 57 vect.c \ 58 param.c \ 59 printf.c \ 60 zero.c \ 61 lens.c \ 62 lens_default.c \ 63 lens_enum.c 64 65libltrace_la_LIBADD = \ 66 $(libelf_LIBS) \ 67 $(liberty_LIBS) \ 68 $(libsupcxx_LIBS) \ 69 $(libstdcxx_LIBS) \ 70 $(libunwind_LIBS) \ 71 sysdeps/libos.la 72 73 74bin_PROGRAMS = \ 75 ltrace 76 77ltrace_SOURCES = \ 78 main.c 79 80ltrace_LDADD = \ 81 libltrace.la 82 83 84noinst_HEADERS = \ 85 backend.h \ 86 breakpoint.h \ 87 common.h \ 88 debug.h \ 89 defs.h \ 90 demangle.h \ 91 dict.h \ 92 forward.h \ 93 ltrace-elf.h \ 94 ltrace.h \ 95 options.h \ 96 output.h \ 97 proc.h \ 98 read_config_file.h \ 99 library.h \ 100 filter.h \ 101 glob.h \ 102 vect.h \ 103 type.h \ 104 value.h \ 105 value_dict.h \ 106 callback.h \ 107 expr.h \ 108 fetch.h \ 109 vect.h \ 110 param.h \ 111 printf.h \ 112 zero.h \ 113 lens.h \ 114 lens_default.h \ 115 lens_enum.h 116 117dist_man1_MANS = ltrace.1 118dist_man5_MANS = ltrace.conf.5 119 120dist_doc_DATA = COPYING CREDITS INSTALL README TODO 121 122dist_sysconf_DATA = \ 123 etc/ltrace.conf 124 125EXTRA_DIST = \ 126 ltrace.spec \ 127 debian/changelog \ 128 debian/compat \ 129 debian/control \ 130 debian/copyright \ 131 debian/rules 132 133MAINTAINERCLEANFILES = \ 134 configure \ 135 Makefile.in \ 136 aclocal.m4 \ 137 config.h.in \ 138 config.h.in~ \ 139 config/autoconf/compile \ 140 config/autoconf/config.guess \ 141 config/autoconf/config.sub \ 142 config/autoconf/depcomp \ 143 config/autoconf/install-sh \ 144 config/autoconf/ltmain.sh \ 145 config/autoconf/mdate-sh \ 146 config/autoconf/missing \ 147 config/autoconf/texinfo.tex \ 148 libtool.m4 \ 149 ltoptions.m4 \ 150 ltsugar.m4 \ 151 ltversion.m4 \ 152 lt~obsolete.m4 \ 153 $(DIST_ARCHIVES) 154 155maintainer-clean-local: 156 -chmod -R a+rw $(distdir) 157 -rm -fr $(distdir) 158