From: Jan Kratochvil Date: Tue, 10 Dec 2013 14:28:00 +0000 (+0100) Subject: +src/Makefile.am X-Git-Url: https://git.jankratochvil.net/?p=staptrace.git;a=commitdiff_plain +src/Makefile.am --- diff --git a/.gitignore b/.gitignore index 4efb9c4..ae53783 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ config/missing configure src/.deps src/Makefile -src/Makefile.am src/Makefile.in src/staptrace src/staptrace.o diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..85965a2 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,25 @@ +# Process this file with automake to create Makefile.in +# +# Copyright (C) 2010 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 + +bin_PROGRAMS = staptrace +staptrace_CFLAGS = $(AM_CFLAGS) \ + -DSTAP_SCRIPT_FILENAME=$(pkgdatadir)/staptrace.stp + +pkgdata_SCRIPTS = staptrace.stp +EXTRA_DIST = $(pkgdata_SCRIPTS)