summaryrefslogtreecommitdiff
path: root/pstack
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-09-27 21:39:23 +0200
committerkent@mysql.com/kent-amd64.(none) <>2007-09-27 21:39:23 +0200
commit96b62a5c133845b270fc859fd864782ec18f1897 (patch)
treef1f721c659cf65293472074a09059c20919ae68a /pstack
parent1e5c06ea3470ee2158a1e72599a4c3bc024394a3 (diff)
downloadmariadb-git-96b62a5c133845b270fc859fd864782ec18f1897.tar.gz
Makefile.am, configure.in:
Handle pstack like other optional directories Check if a directory exists relative to $srcdir
Diffstat (limited to 'pstack')
-rw-r--r--pstack/Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/pstack/Makefile.am b/pstack/Makefile.am
index 70973bd36b0..870fed6ceeb 100644
--- a/pstack/Makefile.am
+++ b/pstack/Makefile.am
@@ -19,17 +19,14 @@
#
SUBDIRS = aout
+
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include
-noinst_HEADERS = bucomm.h debug.h ieee.h budbg.h demangle.h \
- linuxthreads.h pstack.h pstacktrace.h
-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
+libpstack_a_SOURCES = bucomm.c filemode.c linuxthreads.c rddbg.c \
+ debug.c ieee.c pstack.c stabs.c
+noinst_HEADERS = bucomm.h debug.h ieee.h budbg.h demangle.h \
+ linuxthreads.h pstack.h pstacktrace.h
# Don't update the files from bitkeeper
%::SCCS/s.%