X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2FMakefile.am;h=2923d0451284091cc74df62ef5a85df32cc4a2dd;hp=9b235bac0e8f26b37c660f0422d4a9de55199eb0;hb=2ef734476e3511b6f1c2611875e340b6b8ca2d4c;hpb=2c85f876c1b9d5c161694cfb03cf20773b74c844 diff --git a/src/Makefile.am b/src/Makefile.am index 9b235ba..2923d04 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,8 +1,12 @@ AUTOMAKE_OPTIONS = foreign no-dependencies +AM_CPPFLAGS = -DPREFIX='"${prefix}"' +AM_CPPFLAGS += -DCONFIGFILE='"${sysconfdir}/collection.conf"' + if COMPILER_IS_GCC AM_CFLAGS = -Wall -Wextra endif + AM_YFLAGS = -d BUILT_SOURCES = parser.h @@ -12,8 +16,17 @@ bin_PROGRAMS = collection.fcgi collection_fcgi_SOURCES = main.c \ oconfig.c oconfig.h aux_types.h scanner.l parser.y \ action_graph.c action_graph.h \ + action_graph_def_json.c action_graph_def_json.h \ action_list_graphs.c action_list_graphs.h \ + action_list_hosts.c action_list_hosts.h \ + action_search.c action_search.h \ + action_search_json.c action_search_json.h \ + action_show_graph.c action_show_graph.h \ + action_show_graph_json.c action_show_graph_json.h \ + action_show_instance.c action_show_instance.h \ common.c common.h \ + data_provider.c data_provider.h \ + dp_rrdtool.c dp_rrdtool.h \ filesystem.c filesystem.h \ graph_types.h \ graph.c graph.h \ @@ -22,5 +35,7 @@ collection_fcgi_SOURCES = main.c \ graph_ident.c graph_ident.h \ graph_instance.c graph_instance.h \ graph_list.c graph_list.h \ + rrd_args.c rrd_args.h \ utils_array.c utils_array.h \ - utils_params.c utils_params.h + utils_cgi.c utils_cgi.h \ + utils_search.c utils_search.h