X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2FMakefile.in;h=f60bd9aa4245113c31ff8479cc1ccf85c911f577;hp=e5d8ffd99b54f9ec17b0193342a2e887fcdb227f;hb=88b2142594d5ea1e8385dae5eca81eed1018c555;hpb=fa591538beda05e6ce89323128705beabe4f543f diff --git a/sbr/Makefile.in b/sbr/Makefile.in index e5d8ffd..f60bd9a 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -33,7 +33,7 @@ LINTFLAGS = @LINTFLAGS@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) - +LOCALLIBS = ../config/version.o ../config/config.o .SUFFIXES: .SUFFIXES: .c .o @@ -50,14 +50,14 @@ SRCS = addrsbr.c ambigsw.c brkstring.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 \ + 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 \ - 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 \ - 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 \ @@ -69,16 +69,11 @@ 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 \ - 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 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 @@ -99,12 +94,12 @@ dtimep.c: dtimep.lex pidstatus.o: sigmsg.h -libmh.a: $(OBJS) +libmh.a: $(OBJS) $(LOCALLIBS) rm -f $@ 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) ; \ else \ - ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT) 2>/dev/null` ; \ + ar cr libmh.a `$(LORDER) $(OBJS) $(LOCALLIBS) | $(TSORT) 2>/dev/null` ; \ $(RANLIB) libmh.a ; \ fi @@ -134,10 +129,3 @@ subdir = sbr 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 -