X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=ea4e837985ad2e30559b52c2fee2c95ffd6fb056;hb=11c35f96040b5cfc9f842ed27a555a6f15318472;hp=de0cb7ee597f5f528fb94046dc98d5bf73e91b02;hpb=0ab3085f89e64eecd67d3179ea87f0463e918a10;p=collection4.git diff --git a/src/Makefile.am b/src/Makefile.am index de0cb7e..ea4e837 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,8 +17,11 @@ 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_search_json.c action_search_json.h \ + action_show_graph.c action_show_graph.h \ common.c common.h \ filesystem.c filesystem.h \ + graph_types.h \ graph.c graph.h \ graph_config.c graph_config.h \ graph_def.c graph_def.h \ @@ -22,4 +29,4 @@ collection_fcgi_SOURCES = main.c \ graph_instance.c graph_instance.h \ graph_list.c graph_list.h \ utils_array.c utils_array.h \ - utils_params.c utils_params.h + utils_cgi.c utils_cgi.h