#
#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
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_tool.c \
rrd_nan_inf.h fnv.h rrd_graph.h rrd_afm.h rrd_afm_data.h
# Build two libraries. One is a public one that gets installed in
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
-rrdtool_SOURCES = rrd_tool.c
+rrdtool_SOURCES =
+rrdtool_DEPENDENCIES = rrd_tool.o
rrdtool_LDADD = librrd.la
EXTRA_DIST= rrdtool.dsp rrdtool.dsw
{
char help_main[] =
- "RRDtool 1.1.x Copyright 1997-2001 by Tobias Oetiker <tobi@oetiker.ch>\n\n"
+ "RRDtool 1.1.x Copyright 1997-2003 by Tobias Oetiker <tobi@oetiker.ch>\n"
+ " Compiled " MAKE_TIMESTAMP "\n\n"
"Usage: rrdtool [options] command command_options\n\n";
char help_list[] =
strcmp("v", argv[1]) == 0 ||
strcmp("-v", argv[1]) == 0 ||
strcmp("-version", argv[1]) == 0 )
- printf("RRDtool 1.1.x Copyright (C) 1997-2001 by Tobias Oetiker <tobi@oetiker.ch>\n");
+ printf("RRDtool 1.1.x Copyright (C) 1997-2003 by Tobias Oetiker <tobi@oetiker.ch>\n");
else if (strcmp("restore", argv[1]) == 0)
rrd_restore(argc-1, &argv[1]);
else if (strcmp("resize", argv[1]) == 0)