X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=1612608a6858678f7d356f3cdf6875ce70a6d82c;hb=9e6db622e8756105c1322481b34650ecbe15da1a;hp=6f3928c86d25b9549bc8c20b99be78c2d68fc520;hpb=f9e5bd6a9d41c4607291cbbd88280129184ab325;p=rrdtool.git diff --git a/src/Makefile.am b/src/Makefile.am index 6f3928c..1612608 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,14 +4,13 @@ # #ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4 #AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config -DEFS += -DMAKE_TIMESTAMP=\""$(shell date)"\" fontsdir = $(datadir)/rrdtool/fonts -fonts_DATA = VeraMono.ttf +fonts_DATA = DejaVuSansMono-Roman.ttf -#INCLUDES = $(CGI_INCLUDES) $(FREETYPE_INCLUDES) $(ART_INCLUDES) \ +#INCLUDES = $(FREETYPE_INCLUDES) $(ART_INCLUDES) \ # $(PNG_INCLUDES) $(ZLIB_INCLUDES) RRD_DEFAULT_FONT=@RRD_DEFAULT_FONT@ -AM_CPPFLAGS = -DRRD_DEFAULT_FONT=\"$(RRD_DEFAULT_FONT)\" +AM_CPPFLAGS = -DRRD_DEFAULT_FONT=\"$(RRD_DEFAULT_FONT)\" -DNUMVERS=@NUMVERS@ RRD_C_FILES = \ getopt.c \ @@ -37,13 +36,12 @@ RRD_C_FILES = \ rrd_rpncalc.c \ rrd_tune.c \ rrd_update.c \ + rrd_version.c \ rrd_xport.c \ rrd_nan_inf.c \ - art_rgba_rgba_affine.c \ art_rgba_svp.c \ - art_rgb_affine_private.h \ - art_rgba_rgba_affine.h \ art_rgba_svp.h \ + unused.h \ rrd_gfx.c rrd_gfx.h \ rrd_afm.c rrd_afm_data.c \ getopt.h parsetime.h \ @@ -63,12 +61,45 @@ librrd_la_SOURCES = $(RRD_C_FILES) rrd_not_thread_safe.c #librrd_private_la_SOURCES = $(RRD_C_FILES) rrd_not_thread_safe.c # librrd_la_LIBADD = $(RRD_LIBS) + +# This flag accepts an argument of the form current[:revision[:age]]. So, +# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to 1. +# +# If either revision or age are omitted, they default to 0. Also note that +# age must be less than or equal to the current interface number. +# +# Here are a set of rules to help you update your library version information: +# +# 1. Start with version information of 0:0:0 for each libtool library. +# +# 2. Update the version information only immediately before a public +# release of your software. More frequent updates are unnecessary, and +# only guarantee that the current interface number gets larger faster. +# +# 3. If the library source code has changed at all since the last update, +# then increment revision (c:r:a becomes c:r+1:a). +# +# 4. If any interfaces have been added, removed, or changed since the last +# update, increment current, and set revision to 0. +# +# 5. If any interfaces have been added since the last public release, then +# increment age. +# +# 6. If any interfaces have been removed since the last public release, +# then set age to 0. +# +# Never try to set the interface numbers so that they correspond to the +# release number of your package. This is an abuse that only fosters +# misunderstanding of the purpose of library versions. Instead, use the +# -release flag (see Release numbers), but be warned that every release of +# your package will not be binary compatible with any other release. +# # see http://www.gnu.org/software/libtool/manual.html#SEC32 for explanation -librrd_la_LDFLAGS = -version-info 1:0:0 +librrd_la_LDFLAGS = -version-info 2:8:0 librrd_th_la_SOURCES = $(RRD_C_FILES) rrd_thread_safe.c librrd_th_la_CFLAGS = $(MULTITHREAD_CFLAGS) -librrd_th_la_LDFLAGS = $(MULTITHREAD_LDFLAGS) -version-info 1:0:0 +librrd_th_la_LDFLAGS = $(MULTITHREAD_LDFLAGS) -version-info 2:8:0 include_HEADERS = rrd.h @@ -77,6 +108,7 @@ include_HEADERS = rrd.h #librrd_private_la_LDFLAGS = -static bin_PROGRAMS = rrdtool rrdupdate + if BUILD_RRDCGI bin_PROGRAMS += rrdcgi endif @@ -94,9 +126,11 @@ rrdupdate.o: rrd_update.c $(COMPILE) -DSTANDALONE -c -o $@ $^ rrdtool_SOURCES = -rrdtool_DEPENDENCIES = rrd_tool.o +rrdtool_DEPENDENCIES = rrd_tool.o librrd.la rrdtool_LDADD = librrd.la # strftime is here because we do not usually need it. unices have propper # iso date support -EXTRA_DIST= rrdtool.dsp rrdtool.dsw strftime.c strftime.h $(fonts_DATA) +EXTRA_DIST= rrdtool.dsp rrdtool.dsw strftime.c strftime.h rrd.dsp $(fonts_DATA) \ + Makefile.Win32 Makefile.NetWare get_ver.awk win32comp.c rrd_thread_safe_nt.c +