X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=420aeab365a65bea2f92d3939c5c5178052e41cf;hb=9fdbe9791602575288cd890ea57b9d4f51b80520;hp=ea4cb207575386c86ce71e0a472605d88fd86c37;hpb=e7ed2184c07c7fd2d758bca6acd6e6d580c84589;p=rrdtool.git diff --git a/src/Makefile.am b/src/Makefile.am index ea4cb20..420aeab 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,8 +14,6 @@ RRD_DEFAULT_FONT=@RRD_DEFAULT_FONT@ AM_CPPFLAGS = -DRRD_DEFAULT_FONT=\"$(RRD_DEFAULT_FONT)\" -DNUMVERS=@NUMVERS@ UPD_C_FILES = \ - rrd_getopt.c \ - rrd_getopt1.c \ rrd_parsetime.c \ rrd_hw.c \ rrd_hw_math.c \ @@ -44,6 +42,7 @@ RRD_C_FILES = \ rrd_xport.c \ rrd_gfx.c \ rrd_dump.c \ + rrd_flush.c \ rrd_fetch.c \ rrd_resize.c \ rrd_tune.c @@ -51,12 +50,17 @@ RRD_C_FILES = \ noinst_HEADERS = \ unused.h \ rrd_getopt.h rrd_parsetime.h \ - rrd_i18n.h \ + rrd_config_bottom.h rrd_i18n.h \ rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_rpncalc.h \ rrd_hw.h rrd_hw_math.h rrd_hw_update.h \ fnv.h rrd_graph.h \ rrd_is_thread_safe.h +if BUILD_GETOPT +noinst_HEADERS += rrd_getopt.h +UPD_C_FILES += rrd_getopt.c rrd_getopt1.c +endif + noinst_LTLIBRARIES = librrdupd.la lib_LTLIBRARIES = librrd.la @@ -105,6 +109,6 @@ rrdcached_LDADD = librrd.la # strftime is here because we do not usually need it. unices have propper # iso date support -EXTRA_DIST= strftime.c strftime.h \ +EXTRA_DIST= strftime.c strftime.h rrd_getopt.c rrd_getopt1.c rrd_getopt.h \ win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym