summaryrefslogtreecommitdiff
path: root/pstack
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-09-18 15:24:14 +0300
committermonty@hundin.mysql.fi <>2001-09-18 15:24:14 +0300
commit1ffff55f85cecab3184eae5ab2a7b9330b2f4772 (patch)
tree4b25f7508790da8982dae62b3719ae7f815f230f /pstack
parent6c314240c34dc45198396910516a9d8efe236b3c (diff)
downloadmariadb-git-1ffff55f85cecab3184eae5ab2a7b9330b2f4772.tar.gz
Another attempt to get pstack into the binary distribution
Fixed that --enable-assembler works on newer Linux system
Diffstat (limited to 'pstack')
-rw-r--r--pstack/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/pstack/Makefile.am b/pstack/Makefile.am
index 1c0978379d0..86dddcb6f03 100644
--- a/pstack/Makefile.am
+++ b/pstack/Makefile.am
@@ -14,12 +14,22 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# As pstack doesn't work on all configurations, we have to use
+# the USE_PSTACK hack to get all files into distribution
+#
+
INCLUDES = -I$(srcdir)/../include -I../include
-pkglib_LIBRARIES = libpstack.a
noinst_HEADERS = bucomm.h debug.h ieee.h budbg.h demangle.h \
linuxthreads.h pstack.h pstacktrace.h
-libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c \
+SRC= bucomm.c filemode.c linuxthreads.c rddbg.c \
debug.c ieee.c pstack.c stabs.c
+EXTRA_DIST= $SRC
+
+if COMPILE_PSTACK
+pkglib_LIBRARIES = libpstack.a
+libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c debug.c ieee.c pstack.c stabs.c
+endif
# Don't update the files from bitkeeper
%::SCCS/s.%