forked from allinurl/goaccess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
87 lines (79 loc) · 2.03 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = goaccess
AUTOMAKE_OPTIONS = subdir-objects
confdir = $(sysconfdir)
dist_conf_DATA = config/goaccess.conf
goaccess_SOURCES = \
src/browsers.c \
src/browsers.h \
src/color.c \
src/color.h \
src/commons.c \
src/commons.h \
src/csv.c \
src/csv.h \
src/error.c \
src/error.h \
src/gdashboard.c \
src/gdashboard.h \
src/gdns.c \
src/gdns.h \
src/gholder.c \
src/gholder.h \
src/gmenu.c \
src/gmenu.h \
src/goaccess.c \
src/goaccess.h \
src/gstorage.c \
src/gstorage.h \
src/json.c \
src/json.h \
src/opesys.c \
src/opesys.h \
src/options.c \
src/options.h \
src/output.c \
src/output.h \
src/parser.c \
src/parser.h \
src/sort.c \
src/sort.h \
src/settings.c \
src/settings.h \
src/ui.c \
src/ui.h \
src/util.c \
src/util.h \
src/xmalloc.c \
src/xmalloc.h
if TCB
goaccess_SOURCES += \
src/tcabdb.c \
src/tcabdb.h \
src/tcbtdb.c \
src/tcbtdb.h
else
goaccess_SOURCES += \
src/khash.h \
src/gkhash.c \
src/gkhash.h
endif
if GEOLOCATION
goaccess_SOURCES += \
src/geolocation.c \
src/geolocation.h
endif
if DEBUG
AM_CFLAGS = -DDEBUG -O0 -g -DSYSCONFDIR=\"$(sysconfdir)\"
else
AM_CFLAGS = -O2 -DSYSCONFDIR=\"$(sysconfdir)\"
endif
if WITH_RDYNAMIC
AM_LDFLAGS = -rdynamic
endif
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
dist_man_MANS = goaccess.1