X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2FMakefile.am;h=05d75b007475c6fc617f2850c55b0d576d0747b3;hp=820acf6eebe407408b48de0979c48a63dd611f05;hb=7511bfc9687b6bc108efc67f67772b89a6fde06a;hpb=4a7a0cdd2f86e3a121a26b8b014949ac53596026 diff --git a/src/Makefile.am b/src/Makefile.am index 820acf6..05d75b0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,6 +28,7 @@ UPD_C_FILES = \ rrd_client.c \ rrd_nan_inf.c \ rrd_rpncalc.c \ + rrd_utils.c \ rrd_update.c RRD_C_FILES = \ @@ -44,13 +45,14 @@ RRD_C_FILES = \ rrd_xport.c \ rrd_gfx.c \ rrd_dump.c \ - rrd_flush.c \ + rrd_flushcached.c \ rrd_fetch.c \ rrd_resize.c \ rrd_tune.c noinst_HEADERS = \ unused.h \ + gettext.h \ rrd_getopt.h rrd_parsetime.h \ rrd_config_bottom.h rrd_i18n.h \ rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_rpncalc.h \ @@ -58,6 +60,10 @@ noinst_HEADERS = \ fnv.h rrd_graph.h \ rrd_is_thread_safe.h +if BUILD_LIBDBI +RRD_C_FILES += rrd_fetch_libdbi.c +endif + if BUILD_GETOPT noinst_HEADERS += rrd_getopt.h UPD_C_FILES += rrd_getopt.c rrd_getopt1.c @@ -109,8 +115,14 @@ rrdcached_DEPENDENCIES = librrd_th.la rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"' -DLOCALSTATEDIR='"$(localstatedir)"' rrdcached_LDADD = librrd_th.la +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = librrd.pc + # strftime is here because we do not usually need it. unices have propper # iso date support -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 +EXTRA_DIST= librrd.pc.in 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.in.in plbasename.c plbasename.h + +librrd.sym: librrd.sym.in + $(AM_V_GEN)grep -v LIBC_HAS_GETOPT_LONG librrd.sym.in >$@