index f7965b15e2324ec1f62342ca11d37a3e244ebbdb..75a29d57d2326772ddfe8cc643ee8c288136887c 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
#
#ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4
#AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
-
+DEFS += -DMAKE_TIMESTAMP=\""$(shell date)"\"
if USE_INSTALLED_libcgi
CGI_LIB = -lcgi
else
if USE_INSTALLED_libcgi
CGI_LIB = -lcgi
else
rrd_afm.c rrd_afm_data.c \
getopt.h ntconfig.h parsetime.h \
rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_hw.h rrd_rpncalc.h \
rrd_afm.c rrd_afm_data.c \
getopt.h ntconfig.h parsetime.h \
rrd_format.h rrd_tool.h rrd_xport.h rrd.h rrd_hw.h rrd_rpncalc.h \
- rrd_nan_inf.h fnv.h rrd_graph.h rrd_afm.h rrd_afm_data.h
+ rrd_tool.c \
+ rrd_nan_inf.h fnv.h rrd_graph.h rrd_afm.h rrd_afm_data.h \
+ rrd_is_thread_safe.h
# Build two libraries. One is a public one that gets installed in
# $prefix/lib. Libtool does not create an archive of the PIC compiled
# Build two libraries. One is a public one that gets installed in
# $prefix/lib. Libtool does not create an archive of the PIC compiled
noinst_LTLIBRARIES = librrd_private.la
librrd_la_SOURCES = $(RRD_C_FILES) rrd_not_thread_safe.c
noinst_LTLIBRARIES = librrd_private.la
librrd_la_SOURCES = $(RRD_C_FILES) rrd_not_thread_safe.c
-librrd_private_la_SOURCES = $(RRD_C_FILES)
+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
librrd_la_LIBADD = $(RRD_LIBS)
librrd_la_LDFLAGS = -version-info 1:2:0
rrdupdate_SOURCES =
rrdupdate_LDADD = rrdupdate.o librrd.la
rrdupdate_SOURCES =
rrdupdate_LDADD = rrdupdate.o librrd.la
-
rrdupdate.c: rrd_update.c
-ln -s rrd_update.c rrdupdate.c
rrdupdate.o: rrdupdate.c
$(COMPILE) -DSTANDALONE -c rrdupdate.c
rrdupdate.c: rrd_update.c
-ln -s rrd_update.c rrdupdate.c
rrdupdate.o: rrdupdate.c
$(COMPILE) -DSTANDALONE -c rrdupdate.c
-rrdtool_SOURCES = rrd_tool.c
+rrdtool_SOURCES =
+rrdtool_DEPENDENCIES = rrd_tool.o
rrdtool_LDADD = librrd.la
EXTRA_DIST= rrdtool.dsp rrdtool.dsw
rrdtool_LDADD = librrd.la
EXTRA_DIST= rrdtool.dsp rrdtool.dsw