summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a677a0a)
raw | patch | inline | side by side (parent: a677a0a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:36:05 +0000 (18:36 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:36:05 +0000 (18:36 +0000) |
program/src/Makefile.am | patch | blob | history |
index eb027a3797dbe95627ab37747ba05979e817ce16..1f1ff3af846240b4ec2e46410e5188ff0b1d4004 100644 (file)
--- a/program/src/Makefile.am
+++ b/program/src/Makefile.am
#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
#INCLUDES = $(CGI_INCLUDES) $(FREETYPE_INCLUDES) $(ART_INCLUDES) \
# $(PNG_INCLUDES) $(ZLIB_INCLUDES)
+INCLUDES = -DRRD_DEFAULT_FONT=\"$(fontsdir)/$(fonts_DATA)\"
RRD_C_FILES = \
getopt.c \
#librrd_private_la_SOURCES = $(RRD_C_FILES) rrd_not_thread_safe.c
# librrd_la_LIBADD = $(RRD_LIBS)
-librrd_la_LDFLAGS = -version-info 1:2:0
+# see http://www.gnu.org/software/libtool/manual.html#SEC32 for explanation
+librrd_la_LDFLAGS = -version-info 1:0: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:2:0
+librrd_th_la_LDFLAGS = $(MULTITHREAD_LDFLAGS) -version-info 1:0:0
include_HEADERS = rrd.h
rrdtool_DEPENDENCIES = rrd_tool.o
rrdtool_LDADD = librrd.la
-EXTRA_DIST= rrdtool.dsp rrdtool.dsw
+EXTRA_DIST= rrdtool.dsp rrdtool.dsw $(fonts_DATA)