-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.am
97 lines (73 loc) · 2.95 KB
/
common.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# This is stuff common to all our makefiles
#=================================================================
# Based on Peter Millers well known paper "Recursive Make Considered Harmful"
# (at http://miller.emu.id.au/pmiller/books/rmch/), we have the whole system
# described and built with this one Makefile.
#=================================================================
# We specify all the source directories and all of the directories we
# install to in configure.in. We could just as sensibly defined everything
# here, but we just chose to do it there.
#=================================================================
# Tell automake to put the object file for foo/bar.c in dir foo
# Also, don't include -I. and I$(srcdir). This causes a problem with source that
# includes the C++ file "list", because libtool has a script with the same name
AUTOMAKE_OPTIONS = subdir-objects nostdinc
# Don't worry about Makefile portability warnings. We can assume that we
# are using GNU make. Pretty much any modern system will have GNU make on it.
AUTOMAKE_OPTIONS += --warnings=no-portability
# Local autoconf packages
ACLOCAL_AMFLAGS = -I config/m4
# no operations command
noop =
# Build these up as we go
lib_LTLIBRARIES =
noinst_LTLIBRARIES =
bin_PROGRAMS =
dist_bin_SCRIPTS =
AM_LDFLAGS =
BUILT_SOURCES =
include_HEADERS =
EXTRA_DIST =
CYTHON_SRC =
pkgconfig_DATA =
AM_CPPFLAGS=
#=================================================================
# Some flags needed for GCC compilers.
#Not used yet
#if HAVE_GCC
#AM_CFLAGS = -Wall
# By default, gfortran ignores characters past column 72. Much of the fortan
# code in this system goes past that column, so tell gfortran to allow this.
#AM_FFLAGS = -ffixed-line-length-none
#endif
# hooks for installing. We collect this in one place so automake doesn't
# complain
INSTALL_DATA_HOOK=
install-data-hook: $(INSTALL_DATA_HOOK)
UNINSTALL_HOOK=
uninstall-hook: $(UNINSTALL_HOOK)
CLEAN_HOOK=
clean-local: $(CLEAN_HOOK)
INSTALLCHECK_HOOK=
installcheck-local: $(INSTALLCHECK_HOOK)
CHECK_HOOK=
check-local: $(CHECK_HOOK)
TESTS=
check_PROGRAM=
check_DATA=
# ========================================================================
# An error we run into every once in a while is somebody trying to build
# after having doing a setup_afids_env. The problem with this is that
# the AFIDS distribution contains a program "sort" that interfers with the
# unix sort.
complain_if_afids:
@if test -n "${AFIDSTOP}"; then \
echo "${red}You have sourced setup_afids_env.sh or setup_afids_env.csh."; \
echo "This will cause the build to *fail*, because MIPL has"; \
echo "a program called 'sort' that interferes with the unix"; \
echo "sort command. You need to restart the build *without*"; \
echo "sourcing setup_afids_env.sh or setup_afids_env.csh${default}"; \
exit 1; \
fi
# No longer needed, but leave in place to document this change
#BUILT_SOURCES += complain_if_afids