X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=5ec27da8b96e07b54012bbcf15f92d0b24b59d78;hb=470b43490f698918399f0fb5505a9dfd5df6a4e2;hp=9998e4afdefe9506398c19233badfc82d8fd90d1;hpb=2b72081966e6aa5a5c09fb3c706583430a479eae;p=rrdtool.git diff --git a/src/Makefile.am b/src/Makefile.am index 9998e4a..5ec27da 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,24 +32,27 @@ UPD_C_FILES = \ rrd_update.c RRD_C_FILES = \ - hash_32.c \ - pngsize.c \ rrd_create.c \ - rrd_graph.c \ - rrd_graph_helper.c \ + hash_32.c \ rrd_version.c \ rrd_last.c \ rrd_lastupdate.c \ rrd_first.c \ rrd_restore.c \ - rrd_xport.c \ - rrd_gfx.c \ rrd_dump.c \ rrd_flushcached.c \ rrd_fetch.c \ rrd_resize.c \ rrd_tune.c +if BUILD_RRDGRAPH +RRD_C_FILES += rrd_graph.c \ + rrd_graph_helper.c \ + rrd_xport.c \ + rrd_gfx.c \ + pngsize.c +endif + noinst_HEADERS = \ unused.h \ gettext.h \