X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2FMakefile.am;h=96bbae789529d0a10855ef06c7010a216f17b083;hp=de0cb7ee597f5f528fb94046dc98d5bf73e91b02;hb=643c2293a8b65f8970e3ef9ea288b20d117592f2;hpb=0ab3085f89e64eecd67d3179ea87f0463e918a10 diff --git a/src/Makefile.am b/src/Makefile.am index de0cb7e..96bbae7 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,14 +16,27 @@ 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_data_json.c action_graph_data_json.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 \ graph_config.c graph_config.h \ graph_def.c graph_def.h \ 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