forked from allinurl/goaccess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
69 lines (64 loc) · 1.47 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
#AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = goaccess
goaccess_SOURCES = \
browsers.c \
browsers.h \
commons.c \
commons.h \
csv.c \
csv.h \
error.c \
error.h \
gdashboard.c \
gdashboard.h \
gdns.c \
gdns.h \
gmenu.c \
gmenu.h \
goaccess.c \
goaccess.h \
json.c \
json.h \
opesys.c \
opesys.h \
options.c \
options.h \
output.c \
output.h \
parser.c \
parser.h \
settings.c \
settings.h \
ui.c \
ui.h \
util.c \
util.h \
xmalloc.c \
xmalloc.h
if TCB
goaccess_SOURCES += \
tcabinet.c \
tcabinet.h
else
goaccess_SOURCES += \
glibht.c \
glibht.h
endif
if GEOLOCATION
goaccess_SOURCES += \
geolocation.c \
geolocation.h
endif
if DEBUG
AM_CFLAGS = -DDEBUG -O0 -g
else
AM_CFLAGS = -O2
endif
AM_CFLAGS += @GLIB2_CFLAGS@
AM_CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
AM_CFLAGS += -Wredundant-decls -Wbad-function-cast -Winline -Wcast-align -Wextra
AM_CFLAGS += -Wdeclaration-after-statement -Wno-missing-field-initializers
goaccess_LDADD = -lm
dist_man_MANS = goaccess.1