projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
h/mh.h remove comma at the end of enum state
[mmh]
/
sbr
/
Makefile.in
diff --git
a/sbr/Makefile.in
b/sbr/Makefile.in
index
e5d8ffd
..
0787759
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/config.o
.SUFFIXES:
.SUFFIXES: .c .o
.SUFFIXES:
.SUFFIXES: .c .o
@@
-49,15
+51,15
@@
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 \
- discard.c dtime.c dtimep.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 \
folder_realloc.c gans.c getans.c getanswer.c \
error.c execprog.c ext_hook.c folder_addmsg.c folder_delmsgs.c \
folder_free.c folder_read.c \
folder_realloc.c gans.c getans.c getanswer.c \
- getarguments.c getcpy.c \
+ getarguments.c \
fmt_addr.c fmt_compile.c fmt_new.c fmt_rfc2047.c \
fmt_scan.c lock_file.c m_atoi.c \
fmt_addr.c fmt_compile.c fmt_new.c fmt_rfc2047.c \
fmt_scan.c lock_file.c m_atoi.c \
- m_convert.c m_draft.c m_getfld.c m_gmprot.c \
+ m_convert.c m_draft.c m_getfld2.c m_gmprot.c \
m_name.c \
makedir.c mts.c norm_charmap.c \
path.c pidwait.c pidstatus.c \
m_name.c \
makedir.c mts.c norm_charmap.c \
path.c pidwait.c pidstatus.c \
@@
-69,16
+71,12
@@
SRCS = addrsbr.c ambigsw.c brkstring.c \
seq_setprev.c seq_setunseen.c signals.c \
smatch.c snprintb.c strcasecmp.c \
strindex.c trim.c trimcpy.c uprf.c vfgets.c fmt_def.c \
seq_setprev.c seq_setunseen.c signals.c \
smatch.c snprintb.c strcasecmp.c \
strindex.c trim.c trimcpy.c uprf.c vfgets.c fmt_def.c \
- mf.c utils.c m_mktemp.c seq_msgstats.c
+ mf.c utils.c m_mktemp.c seq_msgstats.c \
+ unquote.c encode_rfc2047.c parse_msgs.c \
+ getthreadid.c
OBJS = $(SRCS:.c=.o)
OBJS = $(SRCS:.c=.o)
-# auxiliary files
-AUX = Makefile.in sigmsg.awk dtimep.lex
-
-# all files in this directory included in the distribution
-DIST = $(SRCS) $(AUX)
-
# ========= DEPENDENCIES FOR BUILDING ==========
# default target
# ========= DEPENDENCIES FOR BUILDING ==========
# default target
@@
-99,14
+97,16
@@
dtimep.c: dtimep.lex
pidstatus.o: sigmsg.h
pidstatus.o: sigmsg.h
-libmh.a: $(OBJS)
+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) ; \
+ $(LIBTOOL) -static -c -o libmh.a $(OBJS) $(LOCALLIBS) version.o; \
else \
else \
- ar cr libmh.a `$(LORDER) $(OBJS) | $(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:
@@
-133,11
+133,3
@@
subdir = sbr
Makefile: Makefile.in ../config.status
cd .. && ./config.status $(subdir)/$@
Makefile: Makefile.in ../config.status
cd .. && ./config.status $(subdir)/$@
-
-distdir = ../`cat ../distname`/$(subdir)
-mmhdist: $(DIST)
- @echo "Copying distribution files in $(subdir)"
- @for file in $(DIST); do \
- cp -p $(srcdir)/$$file $(distdir); \
- done
-