blob: 12206359b85f48dcbd6a6051094bd54cadc4f739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# -*- Mode: makefile; indent-tabs-mode: t -*-
#
# This file is part of libminidump.
#
# Copyright 2012 Lennart Poettering
#
# libminidump is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# libminidump 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with libminidump; If not, see <http://www.gnu.org/licenses/>.
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
LIBMINIDUMP_CURRENT=0
LIBMINIDUMP_REVISION=0
LIBMINIDUMP_AGE=0
AM_CPPFLAGS = \
-include $(top_builddir)/config.h
AM_CFLAGS = $(WARNINGFLAGS)
lib_LTLIBRARIES = \
libminidump.la
libminidump_la_SOURCES = \
minidump.h \
minidump.c \
read-coredump.h \
read-coredump.c \
read-minidump.h \
read-minidump.c \
read-process.h \
read-process.c \
write-minicore.h \
write-minicore.c \
write-minidump.h \
write-minidump.c \
coredump-util.h \
coredump-util.c \
util.h \
util.c \
context.h \
format.h
libminidump_la_CFLAGS = \
$(AM_CFLAGS) \
-fvisibility=hidden
libminidump_la_LDFLAGS = \
$(AM_LDFLAGS) \
-shared \
-version-info $(LIBMINIDUMP_CURRENT):$(LIBMINIDUMP_REVISION):$(LIBMINIDUMP_AGE) \
-Wl,--version-script=$(top_srcdir)/libminidump.sym
bin_PROGRAMS = \
mkminidump
mkminidump_SOURCES = \
mkminidump.c
mkminidump_LDADD = \
libminidump.la
noinst_PROGRAMS = \
segfault
segfault_SOURCES = \
segfault.c
segfault_CFLAGS = \
$(AM_CFLAGS) \
-pthread
noinst_DATE = core
core: segfault
$( ./segfault ||:) > /dev/null 2>&1
EXTRA_DIST = \
libminidump.sym
CLEAN_FILES = \
core.* \
core
|