X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=6ef1f82e75d3dccb2dfe285852c80d1c90c52665;hb=6997bcaa3a362fd4c48a0909e0b88a4e1db5bf6a;hp=9b235bac0e8f26b37c660f0422d4a9de55199eb0;hpb=2c85f876c1b9d5c161694cfb03cf20773b74c844;p=collection4.git diff --git a/src/Makefile.am b/src/Makefile.am index 9b235ba..6ef1f82 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 @@ -13,6 +17,12 @@ collection_fcgi_SOURCES = main.c \ oconfig.c oconfig.h aux_types.h scanner.l parser.y \ action_graph.c action_graph.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 \ filesystem.c filesystem.h \ graph_types.h \ @@ -22,5 +32,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