projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused code
[mmh]
/
sbr
/
Makefile.in
diff --git
a/sbr/Makefile.in
b/sbr/Makefile.in
index
f60bd9a
..
02038e7
100644
(file)
--- a/
sbr/Makefile.in
+++ b/
sbr/Makefile.in
@@
-8,6
+8,8
@@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
+VERSION = `$(top_srcdir)/version.sh $(top_srcdir)`
+
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@@
-33,7
+35,7
@@
LINTFLAGS = @LINTFLAGS@
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
-LOCALLIBS = ../config/version.o ../config/config.o
+LOCALLIBS = ../config/config.o
.SUFFIXES:
.SUFFIXES: .c .o
.SUFFIXES:
.SUFFIXES: .c .o
@@
-49,7
+51,7
@@
SRCS = addrsbr.c ambigsw.c brkstring.c \
charset.c concat.c context_del.c \
context_find.c context_read.c \
context_replace.c context_save.c \
charset.c concat.c context_del.c \
context_find.c context_read.c \
context_replace.c context_save.c \
- cpydata.c cpydgst.c crawl_folders.c \
+ cpydata.c crawl_folders.c \
dtime.c dtimep.c \
error.c execprog.c ext_hook.c folder_addmsg.c folder_delmsgs.c \
folder_free.c folder_read.c \
dtime.c dtimep.c \
error.c execprog.c ext_hook.c folder_addmsg.c folder_delmsgs.c \
folder_free.c folder_read.c \
@@
-94,14
+96,16
@@
dtimep.c: dtimep.lex
pidstatus.o: sigmsg.h
pidstatus.o: sigmsg.h
-libmh.a: $(OBJS) $(LOCALLIBS)
+libmh.a: $(OBJS) $(LOCALLIBS) version.c
rm -f $@
rm -f $@
+ $(COMPILE) -DVERSION="\"$(VERSION)\"" -o version.o $(srcdir)/version.c
if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \
- $(LIBTOOL) -static -c -o libmh.a $(OBJS) $(LOCALLIBS) ; \
+ $(LIBTOOL) -static -c -o libmh.a $(OBJS) $(LOCALLIBS) version.o; \
else \
else \
- ar cr libmh.a `$(LORDER) $(OBJS) $(LOCALLIBS) | $(TSORT) 2>/dev/null` ; \
+ ar cr libmh.a `$(LORDER) $(OBJS) $(LOCALLIBS) version.o | $(TSORT) 2>/dev/null` ; \
$(RANLIB) libmh.a ; \
fi
$(RANLIB) libmh.a ; \
fi
+ rm -f version.o
install:
install:
@@
-128,4
+132,3
@@
subdir = sbr
Makefile: Makefile.in ../config.status
cd .. && ./config.status $(subdir)/$@
Makefile: Makefile.in ../config.status
cd .. && ./config.status $(subdir)/$@
-