-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
70 lines (58 loc) · 2.67 KB
/
Makefile.am
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
## Makefile for libsigsegv.
## Copyright (C) 2002-2003, 2007, 2009, 2011, 2016-2018, 2021-2023 Bruno Haible <[email protected]>
##
## 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 2 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 <https://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.7h gnu no-dependencies
# This package does not support parallel make.
# So, turn off parallel execution (at least in GNU make >= 4.0).
GNUMAKEFLAGS = -j1
SUBDIRS = src tests
EXTRA_DIST = \
ChangeLog.1 PORTING INSTALL.windows HACKING JOIN-GNU \
autogen.sh
DISTCLEANFILES = termbold termnorm
# Lead the user through the installation, in the hope that he will help us
# by sending his config.log.
TARGETSTACK =
AM_MAKEFLAGS = TARGETSTACK="$(TARGETSTACK) $@"
all-am: all-next
all-next:
@if echo "$(TARGETSTACK)" | grep check-recursive > /dev/null; then :; else \
if echo "$(TARGETSTACK)" | grep install-recursive > /dev/null; then :; else \
echo; echo "Now please type '"`cat termbold`"make check"`cat termnorm`"' to run a quick test suite. Hope it works."; echo; \
fi; \
fi
check-am: check-next
check-next:
@when="Now"; \
if grep '^@PLATFORM@ .* @VERSION@$$' $(srcdir)/PORTING > /dev/null; then :; else \
case '@PLATFORM@' in \
i?86-*-linux* | x86_64-*-linux* | *-apple-darwin*) ;; \
*) \
echo; \
echo "Please send the following summary line via email to the main author"; \
echo "Bruno Haible <[email protected]> for inclusion into the list of"; \
echo "successfully tested platforms (see PORTING file)."; echo; \
if test @HAVE_SIGSEGV_RECOVERY@ = 1; then have1=yes; else have1=no; fi; \
if test @HAVE_STACK_OVERFLOW_RECOVERY@ = 1; then have2=yes; else have2=no; fi; \
echo `cat termbold`"libsigsegv: @PLATFORM@ | $$have1 | $$have2 | @VERSION@"`cat termnorm`; \
when="Then"; \
;; \
esac; \
fi; \
echo; echo "$$when please type '"`cat termbold`"make install"`cat termnorm`"' to install the package."; echo
install-data-hook: install-next
install-next:
@echo; echo "Now use the package; you can remove it later via '"`cat termbold`"make uninstall"`cat termnorm`"'."; echo