Oops, forgot to remove that before moving mutt-ng to SVN.
[apps/madmutt.git] / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = .
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 AR = @AR@
63 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
64 CATALOGS = @CATALOGS@
65 CATOBJEXT = @CATOBJEXT@
66 CC = @CC@
67 DATADIRNAME = @DATADIRNAME@
68 DBX = @DBX@
69 DEBUGGER = @DEBUGGER@
70 DOTLOCK_GROUP = @DOTLOCK_GROUP@
71 DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
72 DOTLOCK_TARGET = @DOTLOCK_TARGET@
73 GDB = @GDB@
74 GENCAT = @GENCAT@
75 GLIBC21 = @GLIBC21@
76 GMOFILES = @GMOFILES@
77 GMSGFMT = @GMSGFMT@
78 HAVE_LIB = @HAVE_LIB@
79 INSTOBJEXT = @INSTOBJEXT@
80 INTLBISON = @INTLBISON@
81 INTLLIBS = @INTLLIBS@
82 INTLOBJS = @INTLOBJS@
83 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
84 ISPELL = @ISPELL@
85 KRB5CFGPATH = @KRB5CFGPATH@
86 LIB = @LIB@
87 LIBICONV = @LIBICONV@
88 LIBIMAP = @LIBIMAP@
89 LIBIMAPDEPS = @LIBIMAPDEPS@
90 LTLIB = @LTLIB@
91 MAKEINFO = @MAKEINFO@
92 MKINSTALLDIRS = @MKINSTALLDIRS@
93 MSGFMT = @MSGFMT@
94 MUTTLIBS = @MUTTLIBS@
95 MUTT_LIB_OBJECTS = @MUTT_LIB_OBJECTS@
96 PACKAGE = @PACKAGE@
97 PGPAUX_TARGET = @PGPAUX_TARGET@
98 POFILES = @POFILES@
99 POSUB = @POSUB@
100 RANLIB = @RANLIB@
101 SDB = @SDB@
102 SENDMAIL = @SENDMAIL@
103 SMIMEAUX_TARGET = @SMIMEAUX_TARGET@
104 SUBVERSION = @SUBVERSION@
105 U = @U@
106 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
107 USE_NLS = @USE_NLS@
108 VERSION = @VERSION@
109 docdir = @docdir@
110 mutt_libesmtp_config_path = @mutt_libesmtp_config_path@
111
112 AUTOMAKE_OPTIONS = foreign
113 EXTRA_PROGRAMS = mutt_dotlock pgpring makedoc
114
115 @BUILD_IMAP_TRUE@IMAP_SUBDIR = imap
116 @BUILD_IMAP_TRUE@IMAP_INCLUDES = -I$(top_srcdir)/imap
117
118 SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
119
120 bin_SCRIPTS = muttbug flea
121
122 BUILT_SOURCES = keymap_defs.h patchlist.c
123
124 bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@ @SMIMEAUX_TARGET@
125 mutt_SOURCES = $(BUILT_SOURCES)         addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c         crypt.c cryptglue.c      commands.c complete.c compose.c copy.c curs_lib.c curs_main.c date.c    edit.c enter.c flags.c init.c filter.c from.c getdomain.c       handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c     main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c        postpone.c query.c recvattach.c recvcmd.c       rfc822.c rfc1524.c rfc2047.c rfc2231.c  score.c send.c sendlib.c signal.c sort.c        status.c system.c thread.c charset.c history.c lib.c    muttlib.c editmsg.c utf8.c mbyte.c wcwidth.c    url.c ascii.c mutt_idna.c
126
127
128 mutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS)        $(INTLLIBS) $(LIBICONV)
129
130
131 mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAPDEPS)         $(INTLDEPS)
132
133
134 makedoc_SOURCES = makedoc.c
135 makedoc_LDADD = 
136 makedoc_DEPENDENCIES = 
137
138 # $(makedoc_OBJECTS): $(makedoc_SOURCES)
139 #       $(HOST_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $<
140
141 # makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
142 #       @rm -rf makedoc
143 #       $(HOST_CC) $(AM_CFLAGS) $(LDFLAGS) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) -o makedoc
144
145 CPP = @CPP@
146
147 DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\"    -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\"    -DHAVE_CONFIG_H=1
148
149
150 INCLUDES = -I. -I$(top_srcdir) $(IMAP_INCLUDES) -Iintl
151
152 CPPFLAGS = @CPPFLAGS@ -I$(includedir)
153
154 EXTRA_mutt_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.c      mutt_tunnel.c pop.c pop_auth.c pop_lib.c smime.c pgp.c pgpinvoke.c pgpkey.c     pgplib.c sha1.c pgpmicalg.c gnupgparse.c resize.c dotlock.c remailer.c  browser.h mbyte.h remailer.h url.h mutt_ssl_nss.c       pgppacket.c mutt_idna.h         nntp.c newsrc.c mutt_libesmtp.c
155
156
157 EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO         configure acconfig.h account.h  attach.h buffy.h charset.h copy.h dotlock.h functions.h gen_defs        globals.h hash.h history.h init.h keymap.h mutt_crypt.h         mailbox.h mapping.h md5.h mime.h mutt.h mutt_curses.h mutt_menu.h       mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h         mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h         rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare     nntp.h ChangeLog.nntp   _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h        mbyte.h lib.h extlib.c pgpewrap.c smime_keys.pl pgplib.h Muttrc.head Muttrc     makedoc.c stamp-doc-rc README.SSL smime.h       muttbug pgppacket.h depcomp ascii.h BEWARE PATCHES patchlist.sh         ChangeLog.old mkchangelog.sh cvslog2changelog.pl mutt_idna.h    snprintf.c regex.c mutt_libesmtp.h
158
159
160 mutt_dotlock_SOURCES = mutt_dotlock.c
161 mutt_dotlock_LDADD = @LIBOBJS@
162 mutt_dotlock_DEPENDENCIES = @LIBOBJS@
163
164 pgpring_SOURCES = pgppubring.c pgplib.c lib.c extlib.c sha1.c md5c.c pgppacket.c ascii.c
165 pgpring_LDADD = @LIBOBJS@ $(INTLLIBS) 
166 pgpring_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS)
167
168 CLEANFILES = mutt_dotlock.c stamp-doc-rc makedoc        keymap_alldefs.h keymap_defs.h patchlist.c
169
170
171 ACLOCAL_AMFLAGS = -I m4
172
173 LDADD = @LIBOBJS@ @INTLLIBS@
174
175 OPS = @OPS@
176 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
177 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
178 CONFIG_HEADER = config.h
179 CONFIG_CLEAN_FILES =  muttbug.sh Muttrc.head
180 PROGRAMS =  $(bin_PROGRAMS)
181
182 LDFLAGS = @LDFLAGS@
183 LIBS = @LIBS@
184 mutt_dotlock_OBJECTS =  mutt_dotlock.o
185 mutt_dotlock_LDFLAGS = 
186 pgpring_OBJECTS =  pgppubring.o pgplib.o lib.o extlib.o sha1.o md5c.o \
187 pgppacket.o ascii.o
188 pgpring_LDFLAGS = 
189 makedoc_OBJECTS =  makedoc.o
190 makedoc_LDFLAGS = 
191 mutt_OBJECTS =  patchlist.o addrbook.o alias.o attach.o base64.o \
192 browser.o buffy.o color.o crypt.o cryptglue.o commands.o complete.o \
193 compose.o copy.o curs_lib.o curs_main.o date.o edit.o enter.o flags.o \
194 init.o filter.o from.o getdomain.o handler.o hash.o hdrline.o headers.o \
195 help.o hook.o keymap.o main.o mbox.o menu.o mh.o mx.o pager.o parse.o \
196 pattern.o postpone.o query.o recvattach.o recvcmd.o rfc822.o rfc1524.o \
197 rfc2047.o rfc2231.o score.o send.o sendlib.o signal.o sort.o status.o \
198 system.o thread.o charset.o history.o lib.o muttlib.o editmsg.o utf8.o \
199 mbyte.o wcwidth.o url.o ascii.o mutt_idna.o
200 mutt_LDFLAGS = 
201 SCRIPTS =  $(bin_SCRIPTS)
202
203 CFLAGS = @CFLAGS@
204 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
205 CCLD = $(CC)
206 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
207 DIST_COMMON =  README ./stamp-h.in ABOUT-NLS ChangeLog INSTALL \
208 Makefile.am Makefile.in Muttrc.head.in NEWS TODO acconfig.h aclocal.m4 \
209 config.guess config.h.in config.sub configure configure.in install-sh \
210 missing mkinstalldirs muttbug.sh.in strcasecmp.c strdup.c
211
212
213 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
214
215 TAR = tar
216 GZIP_ENV = --best
217 DIST_SUBDIRS =  m4 po intl doc contrib imap
218 SOURCES = $(mutt_dotlock_SOURCES) $(pgpring_SOURCES) $(makedoc_SOURCES) $(mutt_SOURCES) $(EXTRA_mutt_SOURCES)
219 OBJECTS = $(mutt_dotlock_OBJECTS) $(pgpring_OBJECTS) $(makedoc_OBJECTS) $(mutt_OBJECTS)
220
221 all: all-redirect
222 .SUFFIXES:
223 .SUFFIXES: .S .c .o .s
224 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
225         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
226
227 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
228         cd $(top_builddir) \
229           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
230
231 $(ACLOCAL_M4):  configure.in  m4/codeset.m4 m4/curslib.m4 m4/funcdecl.m4 \
232                 m4/gettext.m4 m4/glibc21.m4 m4/gssapi.m4 m4/iconv.m4 \
233                 m4/lcmessage.m4 m4/libesmtp.m4 m4/progtest.m4
234         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
235
236 config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
237         $(SHELL) ./config.status --recheck
238 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
239         cd $(srcdir) && $(AUTOCONF)
240
241 config.h: stamp-h
242         @if test ! -f $@; then \
243                 rm -f stamp-h; \
244                 $(MAKE) stamp-h; \
245         else :; fi
246 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
247         cd $(top_builddir) \
248           && CONFIG_FILES= CONFIG_HEADERS=config.h \
249              $(SHELL) ./config.status
250         @echo timestamp > stamp-h 2> /dev/null
251 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
252         @if test ! -f $@; then \
253                 rm -f $(srcdir)/stamp-h.in; \
254                 $(MAKE) $(srcdir)/stamp-h.in; \
255         else :; fi
256 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
257         cd $(top_srcdir) && $(AUTOHEADER)
258         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
259
260 mostlyclean-hdr:
261
262 clean-hdr:
263
264 distclean-hdr:
265         -rm -f config.h
266
267 maintainer-clean-hdr:
268 muttbug.sh: $(top_builddir)/config.status muttbug.sh.in
269         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
270 Muttrc.head: $(top_builddir)/config.status Muttrc.head.in
271         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
272
273 mostlyclean-binPROGRAMS:
274
275 clean-binPROGRAMS:
276         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
277
278 distclean-binPROGRAMS:
279
280 maintainer-clean-binPROGRAMS:
281
282 install-binPROGRAMS: $(bin_PROGRAMS)
283         @$(NORMAL_INSTALL)
284         $(mkinstalldirs) $(DESTDIR)$(bindir)
285         @list='$(bin_PROGRAMS)'; for p in $$list; do \
286           if test -f $$p; then \
287             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
288              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
289           else :; fi; \
290         done
291
292 uninstall-binPROGRAMS:
293         @$(NORMAL_UNINSTALL)
294         list='$(bin_PROGRAMS)'; for p in $$list; do \
295           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
296         done
297
298 .c.o:
299         $(COMPILE) -c $<
300
301 .s.o:
302         $(COMPILE) -c $<
303
304 .S.o:
305         $(COMPILE) -c $<
306
307 mostlyclean-compile:
308         -rm -f *.o core *.core
309
310 clean-compile:
311
312 distclean-compile:
313         -rm -f *.tab.c
314
315 maintainer-clean-compile:
316
317 mutt_dotlock: $(mutt_dotlock_OBJECTS) $(mutt_dotlock_DEPENDENCIES)
318         @rm -f mutt_dotlock
319         $(LINK) $(mutt_dotlock_LDFLAGS) $(mutt_dotlock_OBJECTS) $(mutt_dotlock_LDADD) $(LIBS)
320
321 pgpring: $(pgpring_OBJECTS) $(pgpring_DEPENDENCIES)
322         @rm -f pgpring
323         $(LINK) $(pgpring_LDFLAGS) $(pgpring_OBJECTS) $(pgpring_LDADD) $(LIBS)
324
325 makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
326         @rm -f makedoc
327         $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
328
329 mutt: $(mutt_OBJECTS) $(mutt_DEPENDENCIES)
330         @rm -f mutt
331         $(LINK) $(mutt_LDFLAGS) $(mutt_OBJECTS) $(mutt_LDADD) $(LIBS)
332
333 install-binSCRIPTS: $(bin_SCRIPTS)
334         @$(NORMAL_INSTALL)
335         $(mkinstalldirs) $(DESTDIR)$(bindir)
336         @list='$(bin_SCRIPTS)'; for p in $$list; do \
337           if test -f $$p; then \
338             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
339             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
340           else if test -f $(srcdir)/$$p; then \
341             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
342             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
343           else :; fi; fi; \
344         done
345
346 uninstall-binSCRIPTS:
347         @$(NORMAL_UNINSTALL)
348         list='$(bin_SCRIPTS)'; for p in $$list; do \
349           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
350         done
351
352 # This directory's subdirectories are mostly independent; you can cd
353 # into them and run `make' without going through this Makefile.
354 # To change the values of `make' variables: instead of editing Makefiles,
355 # (1) if the variable is set in `config.status', edit `config.status'
356 #     (which will cause the Makefiles to be regenerated when you run `make');
357 # (2) otherwise, pass the desired values on the `make' command line.
358
359 @SET_MAKE@
360
361 all-recursive install-data-recursive install-exec-recursive \
362 installdirs-recursive install-recursive uninstall-recursive  \
363 check-recursive installcheck-recursive info-recursive dvi-recursive:
364         @set fnord $(MAKEFLAGS); amf=$$2; \
365         dot_seen=no; \
366         target=`echo $@ | sed s/-recursive//`; \
367         list='$(SUBDIRS)'; for subdir in $$list; do \
368           echo "Making $$target in $$subdir"; \
369           if test "$$subdir" = "."; then \
370             dot_seen=yes; \
371             local_target="$$target-am"; \
372           else \
373             local_target="$$target"; \
374           fi; \
375           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
376            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
377         done; \
378         if test "$$dot_seen" = "no"; then \
379           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
380         fi; test -z "$$fail"
381
382 mostlyclean-recursive clean-recursive distclean-recursive \
383 maintainer-clean-recursive:
384         @set fnord $(MAKEFLAGS); amf=$$2; \
385         dot_seen=no; \
386         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
387           rev="$$subdir $$rev"; \
388           test "$$subdir" = "." && dot_seen=yes; \
389         done; \
390         test "$$dot_seen" = "no" && rev=". $$rev"; \
391         target=`echo $@ | sed s/-recursive//`; \
392         for subdir in $$rev; do \
393           echo "Making $$target in $$subdir"; \
394           if test "$$subdir" = "."; then \
395             local_target="$$target-am"; \
396           else \
397             local_target="$$target"; \
398           fi; \
399           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
400            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
401         done && test -z "$$fail"
402 tags-recursive:
403         list='$(SUBDIRS)'; for subdir in $$list; do \
404           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
405         done
406
407 tags: TAGS
408
409 ID: $(HEADERS) $(SOURCES) $(LISP)
410         list='$(SOURCES) $(HEADERS)'; \
411         unique=`for i in $$list; do echo $$i; done | \
412           awk '    { files[$$0] = 1; } \
413                END { for (i in files) print i; }'`; \
414         here=`pwd` && cd $(srcdir) \
415           && mkid -f$$here/ID $$unique $(LISP)
416
417 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
418         tags=; \
419         here=`pwd`; \
420         list='$(SUBDIRS)'; for subdir in $$list; do \
421    if test "$$subdir" = .; then :; else \
422             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
423    fi; \
424         done; \
425         list='$(SOURCES) $(HEADERS)'; \
426         unique=`for i in $$list; do echo $$i; done | \
427           awk '    { files[$$0] = 1; } \
428                END { for (i in files) print i; }'`; \
429         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
430           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
431
432 mostlyclean-tags:
433
434 clean-tags:
435
436 distclean-tags:
437         -rm -f TAGS ID
438
439 maintainer-clean-tags:
440
441 distdir = $(PACKAGE)-$(VERSION)
442 top_distdir = $(distdir)
443
444 # This target untars the dist file and tries a VPATH configuration.  Then
445 # it guarantees that the distribution is self-contained by making another
446 # tarfile.
447 distcheck: dist
448         -rm -rf $(distdir)
449         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
450         mkdir $(distdir)/=build
451         mkdir $(distdir)/=inst
452         dc_install_base=`cd $(distdir)/=inst && pwd`; \
453         cd $(distdir)/=build \
454           && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
455           && $(MAKE) $(AM_MAKEFLAGS) \
456           && $(MAKE) $(AM_MAKEFLAGS) dvi \
457           && $(MAKE) $(AM_MAKEFLAGS) check \
458           && $(MAKE) $(AM_MAKEFLAGS) install \
459           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
460           && $(MAKE) $(AM_MAKEFLAGS) dist
461         -rm -rf $(distdir)
462         @banner="$(distdir).tar.gz is ready for distribution"; \
463         dashes=`echo "$$banner" | sed s/./=/g`; \
464         echo "$$dashes"; \
465         echo "$$banner"; \
466         echo "$$dashes"
467 dist: distdir
468         -chmod -R a+r $(distdir)
469         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
470         -rm -rf $(distdir)
471 dist-all: distdir
472         -chmod -R a+r $(distdir)
473         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
474         -rm -rf $(distdir)
475 distdir: $(DISTFILES)
476         -rm -rf $(distdir)
477         mkdir $(distdir)
478         -chmod 777 $(distdir)
479         @for file in $(DISTFILES); do \
480           d=$(srcdir); \
481           if test -d $$d/$$file; then \
482             cp -pr $$d/$$file $(distdir)/$$file; \
483           else \
484             test -f $(distdir)/$$file \
485             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
486             || cp -p $$d/$$file $(distdir)/$$file || :; \
487           fi; \
488         done
489         for subdir in $(DIST_SUBDIRS); do \
490           if test "$$subdir" = .; then :; else \
491             test -d $(distdir)/$$subdir \
492             || mkdir $(distdir)/$$subdir \
493             || exit 1; \
494             chmod 777 $(distdir)/$$subdir; \
495             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
496               || exit 1; \
497           fi; \
498         done
499         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
500 info-am:
501 info: info-recursive
502 dvi-am:
503 dvi: dvi-recursive
504 check-am: all-am
505 check: check-recursive
506 installcheck-am:
507 installcheck: installcheck-recursive
508 all-recursive-am: config.h
509         $(MAKE) $(AM_MAKEFLAGS) all-recursive
510
511 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
512                 install-exec-local
513 install-exec: install-exec-recursive
514
515 install-data-am: install-data-local
516 install-data: install-data-recursive
517
518 install-am: all-am
519         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
520 install: install-recursive
521 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS
522 uninstall: uninstall-recursive
523 all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h
524 all-redirect: all-recursive-am
525 install-strip:
526         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
527 installdirs: installdirs-recursive
528 installdirs-am:
529         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
530
531
532 mostlyclean-generic:
533
534 clean-generic:
535         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
536
537 distclean-generic:
538         -rm -f Makefile $(CONFIG_CLEAN_FILES)
539         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
540
541 maintainer-clean-generic:
542         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
543 mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
544                 mostlyclean-compile mostlyclean-tags \
545                 mostlyclean-generic
546
547 mostlyclean: mostlyclean-recursive
548
549 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
550                 clean-generic mostlyclean-am
551
552 clean: clean-recursive
553
554 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
555                 distclean-tags distclean-generic clean-am
556
557 distclean: distclean-recursive
558         -rm -f config.status
559
560 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
561                 maintainer-clean-compile maintainer-clean-tags \
562                 maintainer-clean-generic distclean-am
563         @echo "This command is intended for maintainers to use;"
564         @echo "it deletes files that may require special tools to rebuild."
565
566 maintainer-clean: maintainer-clean-recursive
567         -rm -f config.status
568
569 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
570 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
571 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
572 mostlyclean-compile distclean-compile clean-compile \
573 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
574 install-data-recursive uninstall-data-recursive install-exec-recursive \
575 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
576 all-recursive check-recursive installcheck-recursive info-recursive \
577 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
578 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
579 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
580 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
581 install-exec-local install-exec-am install-exec install-data-local \
582 install-data-am install-data install-am install uninstall-am uninstall \
583 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
584 distclean-generic clean-generic maintainer-clean-generic clean \
585 mostlyclean distclean maintainer-clean
586
587
588 mutt_dotlock.c: dotlock.c
589         cp $(srcdir)/dotlock.c mutt_dotlock.c
590
591 flea:   muttbug.sh
592         cp muttbug.sh flea
593         chmod +x flea
594
595 smime_keys: $(srcdir)/smime_keys.pl
596         cp $(srcdir)/smime_keys.pl smime_keys
597         chmod +x smime_keys
598
599 Makefile: $(BUILT_SOURCES)
600
601 keymap_defs.h: $(OPS) $(srcdir)/gen_defs
602         $(srcdir)/gen_defs $(OPS) > keymap_defs.h
603
604 keymap_alldefs.h: $(srcdir)/OPS $(srcdir)/OPS.PGP $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME $(srcdir)/gen_defs
605         $(srcdir)/gen_defs $(srcdir)/OPS $(srcdir)/OPS.PGP \
606                 $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME \
607                         > keymap_alldefs.h
608
609 reldate:
610         echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > $(srcdir)/reldate.h
611
612 patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh
613         $(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c
614
615 install-exec-local:
616         if test -f $(DESTDIR)$(bindir)/mutt.dotlock && test -f $(DESTDIR)$(bindir)/mutt_dotlock ; then  \
617                 rm -f $(DESTDIR)$(bindir)/mutt.dotlock ;                \
618                 ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
619         fi
620         if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x@DOTLOCK_GROUP@ != x ; then \
621                 chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock && \
622                 chmod @DOTLOCK_PERMISSION@ $(DESTDIR)$(bindir)/mutt_dotlock || \
623                 { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
624         fi
625
626 install-data-local: Muttrc
627         $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
628         -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
629                 mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
630         elif [ -f $(DESTDIR)$(pkgdatadir)/../Muttrc ] ; then \
631                 mv $(DESTDIR)$(pkgdatadir)/../Muttrc* $(DESTDIR)$(sysconfdir) ; \
632         elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
633                 $(INSTALL) -m 644 $(srcdir)/Muttrc $(DESTDIR)$(sysconfdir) ; \
634         fi
635         -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
636                 $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \
637         fi
638
639 # Don't make this one ChangeLog - it's intended to be
640 # used manually.
641
642 pclean:
643         cat /dev/null > PATCHES
644
645 check-security:
646         ./check_sec.sh
647
648 commit-real:
649         cvs commit
650
651 commit-changelog:
652         cvs commit -m "# changelog commit" ChangeLog
653
654 commit: pclean check-security commit-real changelog commit-changelog
655
656 changelog:
657         cvs update ChangeLog
658         sh ./mkchangelog.sh | fmt -c | cat  - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog
659         $${VISUAL:-vi} ChangeLog
660
661 ChangeLog: changelog
662
663 # kluge around automake problems.
664
665 dist-hook:
666         -for file in $(BUILT_SOURCES) ; do rm -f $(distdir)/$$file ; done
667
668 mutt-dist:
669         (cd $(srcdir) && ./build-release )
670
671 update-doc: stamp-doc-rc
672         (cd doc && $(MAKE) update-doc)
673
674 Muttrc: stamp-doc-rc
675
676 stamp-doc-rc: $(srcdir)/init.h makedoc Muttrc.head
677         -rm -f Muttrc stamp-doc-rc
678         $(CPP) $(INCLUDES) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \
679                 $(srcdir)/init.h | ./makedoc -c | cat Muttrc.head - > Muttrc
680         touch stamp-doc-rc
681
682 .PHONY: commit pclean check-security commit-real commit-changelog
683 .PHONY: changelog ChangeLog
684
685 # Tell versions [3.59,3.63) of GNU make to not export all variables.
686 # Otherwise a system limit (for SysV at least) may be exceeded.
687 .NOEXPORT: