From e48a1b5cbc786b3741f9f3d23a9d7bfe84ff0c56 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 10 Dec 2013 15:28:00 +0100 Subject: [PATCH] +src/Makefile.am --- .gitignore | 1 - src/Makefile.am | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 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) -- 1.8.3.1