+src/Makefile.am master
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 10 Dec 2013 14:28:00 +0000 (15:28 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 10 Dec 2013 14:28:00 +0000 (15:28 +0100)
.gitignore
src/Makefile.am [new file with mode: 0644]

index 4efb9c4..ae53783 100644 (file)
@@ -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 (file)
index 0000000..85965a2
--- /dev/null
@@ -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 <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)