--- /dev/null
+# 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 <http://www.gnu.org/licenses/>.
+
+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)