commit 266537b6365692fee81af96035202a012f72a376
parent 775e858942d6e063e562af2db4608c19d2168038
Author: geoff <devnull@localhost>
Date: Sat, 30 Jun 2007 11:06:31 +0000
Allowed CFLAGS to be overridden on the command line.
Added dependency information to the Makefile.
Updated README to specify Fuse 2.6 as a prerequisite.
Minor improvement to usage information.
Version 20070630.
Diffstat:
5 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
@@ -23,9 +23,9 @@ INSTALL = install
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
-CFLAGS = -Wall -W -Werror -std=c99 -pedantic -O \
- -I$(SAMBA)/include -D_BSD_SOURCE -DFUSE_USE_VERSION=26 \
- -DHAVE_UTIME_H
+CFLAGS += -Wall -W -Werror -std=c99 -pedantic -O \
+ -I$(SAMBA)/include -D_BSD_SOURCE -DFUSE_USE_VERSION=26 \
+ -DHAVE_UTIME_H
LDLIBS = -lsmbclient
LDFLAGS = -L$(SAMBA)/lib
@@ -48,7 +48,7 @@ all: $(PROGRAM)
conffile.c: config.rng.h
config.rng.h: config.rng
sed -e 's/"/\\"/g' -e 's/\(.*\)/ "\1" \\/' \
- -e '1istatic const char *rng_$(^:.rng=) =' $^ > config.rng.h
+ -e '1istatic const char *rng_$(^:.rng=) =' $^ > config.rng.h
echo ' "";' >> config.rng.h
debug: CFLAGS += -ggdb -DDEBUG
@@ -94,3 +94,13 @@ tar:
.PHONY: all debug install install-strip uninstall clean distclean tar
+
+conffile.o: conffile.c utils.h xml.h config.rng.h
+options.o: options.c options.h utils.h version.h
+usmb.o: usmb.c conffile.h options.h usmb.h usmb_dir.h usmb_file.h \
+ utils.h version.h
+usmb_dir.o: usmb_dir.c usmb_dir.h usmb.h utils.h
+usmb_file.o: usmb_file.c usmb_file.h usmb.h utils.h
+utils.o: utils.c utils.h
+version.o: version.c version.h
+xml.o: xml.c xml.h utils.h
diff --git a/README b/README
@@ -42,7 +42,7 @@ Pre-Requisites
glib 2.6 or later - www.gtk.org.
libxml2 - ftp.gnome.org.
-FUSE 2.5 or later - fuse.sourgeforge.net.
+FUSE 2.6 or later - fuse.sourgeforge.net.
libsmbclient 3.0 (part of Samba) - www.samba.org.
diff --git a/doc/README b/doc/README
@@ -42,7 +42,7 @@ Pre-Requisites
glib 2.6 or later - www.gtk.org.
libxml2 - ftp.gnome.org.
-FUSE 2.5 or later - fuse.sourgeforge.net.
+FUSE 2.6 or later - fuse.sourgeforge.net.
libsmbclient 3.0 (part of Samba) - www.samba.org.
diff --git a/version.c b/version.c
@@ -41,7 +41,7 @@ void show_about (FILE *fp)
"for details please see\n"
"http://www.gnu.org/licenses/gpl.txt\n"
"\n"
- "Please send bugs, patches etc. to %s@%s.org\n",
+ "Please send bug reports, patches etc. to %s@%s.org\n",
"geoffjohnstone", "acm"); // anti-spam.
}
diff --git a/version.h b/version.h
@@ -21,7 +21,7 @@
#include <stdio.h>
- #define USMB_VERSION 0x20070629
+ #define USMB_VERSION 0x20070630
// a - alpha, b - beta, p - pre-release, s - stable
#define USMB_VERSION_STATUS 'b'