X-Git-Url: https://git.octo.it/?p=collection4.git;a=blobdiff_plain;f=src%2FMakefile.am;h=9b91a91578a88a836afff618e521b1c936443f18;hp=de0cb7ee597f5f528fb94046dc98d5bf73e91b02;hb=119de663a2fc33ea2f9303e0cbe59ab32460520b;hpb=0ab3085f89e64eecd67d3179ea87f0463e918a10 diff --git a/src/Makefile.am b/src/Makefile.am index de0cb7e..9b91a91 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 @@ -15,6 +19,7 @@ collection_fcgi_SOURCES = main.c \ action_list_graphs.c action_list_graphs.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 \