-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile.am
73 lines (57 loc) · 1.82 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
71
72
AM_CXXFLAGS = @ASAN_CXXFLAGS@
AM_CXXFLAGS += -std=c++20
#AM_CXXFLAGS += -Wno-psabi # turn off ABI 7.1 changes
#AM_CXXFLAGS += -Wno-write-strings # activate to supress warnings about const char*
AM_CXXFLAGS += -DDATADIR="\"$(datadir)\""
AM_CXXFLAGS += @COVERAGE_CXXFLAGS@
AM_CXXFLAGS += @FORTIFY_CXXFLAGS@ # simulate Arch Linux build (--with-fortify)
AM_CXXFLAGS += -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS
AM_CXXFLAGS += -Wuninitialized
#AM_CXXFLAGS += -Wfatal-errors # aborts compilation on first error
AM_CXXFLAGS += -Wno-psabi # ignore warnings about GCC 7.1 ABI breakage
AM_CXXFLAGS += -Wall
#AM_CXXFLAGS += -Wuse-after-free # Slackware 15.0 doesn't like this flag
#AM_CXXFLAGS += -Werror # treats warnings as errors. See "-Werror is not your friend":
# https://embeddedartistry.com/blog/2017/05/22/werror-is-not-your-friend/
#YFLAGS = -d
#EXTRA_DIST = $(srcdir)/neoleo.i
bin_PROGRAMS = neoleo
dist_man_MANS = neoleo.1
#BUILT_SOURCES = parse.cc parse.hh
#CLEANFILES = $(BUILT_SOURCES)
neoleo_LDADD = @COVERAGE_LDADD@ @ASAN_LIBS@ -lm @CURSES_LIBS@ -lpanel -lform
neoleo_SOURCES = \
basic.cc \
cell.cc cmd.cc convert.cc \
errors.cc format.cc \
input.cc \
io-2019.cc io-headless.cc io-curses.cc io-term.cc \
io-utils.cc \
logging.cc \
oleofile.cc \
parser-2019.cc \
ref.cc regions.cc \
sheet.cc spans.cc \
tbl.cc \
utils.cc \
window.cc \
main.cc \
tests.cc \
value.cc
noinst_HEADERS = basic.h cell.h \
cmd.h convert.h \
errors.h format.h \
global.h \
input.h \
io-2019.h io-abstract.h io-headless.h io-curses.h \
io-term.h io-utils.h \
logging.h \
neotypes.h \
oleofile.h \
parser-2019.h \
ref.h regions.h \
sheet.h spans.h \
tbl.h tests.h \
utils.h \
value.h \
window.h