a7c4b8f3c0b1ff43985636d55ea22d55b0d2ed2d
[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 = muttng @DOTLOCK_TARGET@ @PGPAUX_TARGET@ @SMIMEAUX_TARGET@
125 muttng_SOURCES = $(BUILT_SOURCES)       addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c  compress.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 sidebar.c hcache.c
126
127
128 muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS)      $(INTLLIBS) $(LIBICONV)
129
130
131 muttng_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_muttng_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         sidebar.h
155
156
157 EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO         configure acconfig.h account.h  compress.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 muttng_OBJECTS =  patchlist.o addrbook.o alias.o attach.o base64.o \
192 browser.o buffy.o color.o compress.o crypt.o cryptglue.o commands.o \
193 complete.o compose.o copy.o curs_lib.o curs_main.o date.o edit.o \
194 enter.o flags.o init.o filter.o from.o getdomain.o handler.o hash.o \
195 hdrline.o headers.o help.o hook.o keymap.o main.o mbox.o menu.o mh.o \
196 mx.o pager.o parse.o pattern.o postpone.o query.o recvattach.o \
197 recvcmd.o rfc822.o rfc1524.o rfc2047.o rfc2231.o score.o send.o \
198 sendlib.o signal.o sort.o status.o system.o thread.o charset.o \
199 history.o lib.o muttlib.o editmsg.o utf8.o mbyte.o wcwidth.o url.o \
200 ascii.o mutt_idna.o sidebar.o hcache.o
201 muttng_LDFLAGS = 
202 SCRIPTS =  $(bin_SCRIPTS)
203
204 CFLAGS = @CFLAGS@
205 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206 CCLD = $(CC)
207 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
208 DIST_COMMON =  README ./stamp-h.in ABOUT-NLS ChangeLog INSTALL \
209 Makefile.am Makefile.in Muttrc.head.in NEWS TODO acconfig.h aclocal.m4 \
210 config.guess config.h.in config.sub configure configure.in install-sh \
211 missing mkinstalldirs muttbug.sh.in strcasecmp.c strdup.c
212
213
214 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
215
216 TAR = tar
217 GZIP_ENV = --best
218 DIST_SUBDIRS =  m4 po intl doc contrib imap
219 SOURCES = $(mutt_dotlock_SOURCES) $(pgpring_SOURCES) $(makedoc_SOURCES) $(muttng_SOURCES) $(EXTRA_muttng_SOURCES)
220 OBJECTS = $(mutt_dotlock_OBJECTS) $(pgpring_OBJECTS) $(makedoc_OBJECTS) $(muttng_OBJECTS)
221
222 all: all-redirect
223 .SUFFIXES:
224 .SUFFIXES: .S .c .o .s
225 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
226         cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
227
228 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
229         cd $(top_builddir) \
230           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
231
232 $(ACLOCAL_M4):  configure.in  m4/codeset.m4 m4/curslib.m4 m4/funcdecl.m4 \
233                 m4/gettext.m4 m4/glibc21.m4 m4/gssapi.m4 m4/iconv.m4 \
234                 m4/lcmessage.m4 m4/libesmtp.m4 m4/progtest.m4
235         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
236
237 config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
238         $(SHELL) ./config.status --recheck
239 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
240         cd $(srcdir) && $(AUTOCONF)
241
242 config.h: stamp-h
243         @if test ! -f $@; then \
244                 rm -f stamp-h; \
245                 $(MAKE) stamp-h; \
246         else :; fi
247 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
248         cd $(top_builddir) \
249           && CONFIG_FILES= CONFIG_HEADERS=config.h \
250              $(SHELL) ./config.status
251         @echo timestamp > stamp-h 2> /dev/null
252 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
253         @if test ! -f $@; then \
254                 rm -f $(srcdir)/stamp-h.in; \
255                 $(MAKE) $(srcdir)/stamp-h.in; \
256         else :; fi
257 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
258         cd $(top_srcdir) && $(AUTOHEADER)
259         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
260
261 mostlyclean-hdr:
262
263 clean-hdr:
264
265 distclean-hdr:
266         -rm -f config.h
267
268 maintainer-clean-hdr:
269 muttbug.sh: $(top_builddir)/config.status muttbug.sh.in
270         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
271 Muttrc.head: $(top_builddir)/config.status Muttrc.head.in
272         cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
273
274 mostlyclean-binPROGRAMS:
275
276 clean-binPROGRAMS:
277         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
278
279 distclean-binPROGRAMS:
280
281 maintainer-clean-binPROGRAMS:
282
283 install-binPROGRAMS: $(bin_PROGRAMS)
284         @$(NORMAL_INSTALL)
285         $(mkinstalldirs) $(DESTDIR)$(bindir)
286         @list='$(bin_PROGRAMS)'; for p in $$list; do \
287           if test -f $$p; then \
288             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
289              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
290           else :; fi; \
291         done
292
293 uninstall-binPROGRAMS:
294         @$(NORMAL_UNINSTALL)
295         list='$(bin_PROGRAMS)'; for p in $$list; do \
296           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
297         done
298
299 .c.o:
300         $(COMPILE) -c $<
301
302 .s.o:
303         $(COMPILE) -c $<
304
305 .S.o:
306         $(COMPILE) -c $<
307
308 mostlyclean-compile:
309         -rm -f *.o core *.core
310
311 clean-compile:
312
313 distclean-compile:
314         -rm -f *.tab.c
315
316 maintainer-clean-compile:
317
318 mutt_dotlock: $(mutt_dotlock_OBJECTS) $(mutt_dotlock_DEPENDENCIES)
319         @rm -f mutt_dotlock
320         $(LINK) $(mutt_dotlock_LDFLAGS) $(mutt_dotlock_OBJECTS) $(mutt_dotlock_LDADD) $(LIBS)
321
322 pgpring: $(pgpring_OBJECTS) $(pgpring_DEPENDENCIES)
323         @rm -f pgpring
324         $(LINK) $(pgpring_LDFLAGS) $(pgpring_OBJECTS) $(pgpring_LDADD) $(LIBS)
325
326 makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
327         @rm -f makedoc
328         $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
329
330 muttng: $(muttng_OBJECTS) $(muttng_DEPENDENCIES)
331         @rm -f muttng
332         $(LINK) $(muttng_LDFLAGS) $(muttng_OBJECTS) $(muttng_LDADD) $(LIBS)
333
334 install-binSCRIPTS: $(bin_SCRIPTS)
335         @$(NORMAL_INSTALL)
336         $(mkinstalldirs) $(DESTDIR)$(bindir)
337         @list='$(bin_SCRIPTS)'; for p in $$list; do \
338           if test -f $$p; then \
339             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
340             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
341           else if test -f $(srcdir)/$$p; then \
342             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
343             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
344           else :; fi; fi; \
345         done
346
347 uninstall-binSCRIPTS:
348         @$(NORMAL_UNINSTALL)
349         list='$(bin_SCRIPTS)'; for p in $$list; do \
350           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
351         done
352
353 # This directory's subdirectories are mostly independent; you can cd
354 # into them and run `make' without going through this Makefile.
355 # To change the values of `make' variables: instead of editing Makefiles,
356 # (1) if the variable is set in `config.status', edit `config.status'
357 #     (which will cause the Makefiles to be regenerated when you run `make');
358 # (2) otherwise, pass the desired values on the `make' command line.
359
360 @SET_MAKE@
361
362 all-recursive install-data-recursive install-exec-recursive \
363 installdirs-recursive install-recursive uninstall-recursive  \
364 check-recursive installcheck-recursive info-recursive dvi-recursive:
365         @set fnord $(MAKEFLAGS); amf=$$2; \
366         dot_seen=no; \
367         target=`echo $@ | sed s/-recursive//`; \
368         list='$(SUBDIRS)'; for subdir in $$list; do \
369           echo "Making $$target in $$subdir"; \
370           if test "$$subdir" = "."; then \
371             dot_seen=yes; \
372             local_target="$$target-am"; \
373           else \
374             local_target="$$target"; \
375           fi; \
376           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
377            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
378         done; \
379         if test "$$dot_seen" = "no"; then \
380           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
381         fi; test -z "$$fail"
382
383 mostlyclean-recursive clean-recursive distclean-recursive \
384 maintainer-clean-recursive:
385         @set fnord $(MAKEFLAGS); amf=$$2; \
386         dot_seen=no; \
387         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
388           rev="$$subdir $$rev"; \
389           test "$$subdir" = "." && dot_seen=yes; \
390         done; \
391         test "$$dot_seen" = "no" && rev=". $$rev"; \
392         target=`echo $@ | sed s/-recursive//`; \
393         for subdir in $$rev; do \
394           echo "Making $$target in $$subdir"; \
395           if test "$$subdir" = "."; then \
396             local_target="$$target-am"; \
397           else \
398             local_target="$$target"; \
399           fi; \
400           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
401            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
402         done && test -z "$$fail"
403 tags-recursive:
404         list='$(SUBDIRS)'; for subdir in $$list; do \
405           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
406         done
407
408 tags: TAGS
409
410 ID: $(HEADERS) $(SOURCES) $(LISP)
411         list='$(SOURCES) $(HEADERS)'; \
412         unique=`for i in $$list; do echo $$i; done | \
413           awk '    { files[$$0] = 1; } \
414                END { for (i in files) print i; }'`; \
415         here=`pwd` && cd $(srcdir) \
416           && mkid -f$$here/ID $$unique $(LISP)
417
418 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
419         tags=; \
420         here=`pwd`; \
421         list='$(SUBDIRS)'; for subdir in $$list; do \
422    if test "$$subdir" = .; then :; else \
423             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
424    fi; \
425         done; \
426         list='$(SOURCES) $(HEADERS)'; \
427         unique=`for i in $$list; do echo $$i; done | \
428           awk '    { files[$$0] = 1; } \
429                END { for (i in files) print i; }'`; \
430         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
431           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
432
433 mostlyclean-tags:
434
435 clean-tags:
436
437 distclean-tags:
438         -rm -f TAGS ID
439
440 maintainer-clean-tags:
441
442 distdir = $(PACKAGE)-$(VERSION)
443 top_distdir = $(distdir)
444
445 # This target untars the dist file and tries a VPATH configuration.  Then
446 # it guarantees that the distribution is self-contained by making another
447 # tarfile.
448 distcheck: dist
449         -rm -rf $(distdir)
450         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
451         mkdir $(distdir)/=build
452         mkdir $(distdir)/=inst
453         dc_install_base=`cd $(distdir)/=inst && pwd`; \
454         cd $(distdir)/=build \
455           && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
456           && $(MAKE) $(AM_MAKEFLAGS) \
457           && $(MAKE) $(AM_MAKEFLAGS) dvi \
458           && $(MAKE) $(AM_MAKEFLAGS) check \
459           && $(MAKE) $(AM_MAKEFLAGS) install \
460           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
461           && $(MAKE) $(AM_MAKEFLAGS) dist
462         -rm -rf $(distdir)
463         @banner="$(distdir).tar.gz is ready for distribution"; \
464         dashes=`echo "$$banner" | sed s/./=/g`; \
465         echo "$$dashes"; \
466         echo "$$banner"; \
467         echo "$$dashes"
468 dist: distdir
469         -chmod -R a+r $(distdir)
470         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
471         -rm -rf $(distdir)
472 dist-all: distdir
473         -chmod -R a+r $(distdir)
474         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
475         -rm -rf $(distdir)
476 distdir: $(DISTFILES)
477         -rm -rf $(distdir)
478         mkdir $(distdir)
479         -chmod 777 $(distdir)
480         @for file in $(DISTFILES); do \
481           d=$(srcdir); \
482           if test -d $$d/$$file; then \
483             cp -pr $$d/$$file $(distdir)/$$file; \
484           else \
485             test -f $(distdir)/$$file \
486             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
487             || cp -p $$d/$$file $(distdir)/$$file || :; \
488           fi; \
489         done
490         for subdir in $(DIST_SUBDIRS); do \
491           if test "$$subdir" = .; then :; else \
492             test -d $(distdir)/$$subdir \
493             || mkdir $(distdir)/$$subdir \
494             || exit 1; \
495             chmod 777 $(distdir)/$$subdir; \
496             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
497               || exit 1; \
498           fi; \
499         done
500         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
501 info-am:
502 info: info-recursive
503 dvi-am:
504 dvi: dvi-recursive
505 check-am: all-am
506 check: check-recursive
507 installcheck-am:
508 installcheck: installcheck-recursive
509 all-recursive-am: config.h
510         $(MAKE) $(AM_MAKEFLAGS) all-recursive
511
512 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
513                 install-exec-local
514 install-exec: install-exec-recursive
515
516 install-data-am: install-data-local
517 install-data: install-data-recursive
518
519 install-am: all-am
520         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
521 install: install-recursive
522 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS
523 uninstall: uninstall-recursive
524 all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h
525 all-redirect: all-recursive-am
526 install-strip:
527         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
528 installdirs: installdirs-recursive
529 installdirs-am:
530         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
531
532
533 mostlyclean-generic:
534
535 clean-generic:
536         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
537
538 distclean-generic:
539         -rm -f Makefile $(CONFIG_CLEAN_FILES)
540         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
541
542 maintainer-clean-generic:
543         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
544 mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
545                 mostlyclean-compile mostlyclean-tags \
546                 mostlyclean-generic
547
548 mostlyclean: mostlyclean-recursive
549
550 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
551                 clean-generic mostlyclean-am
552
553 clean: clean-recursive
554
555 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
556                 distclean-tags distclean-generic clean-am
557
558 distclean: distclean-recursive
559         -rm -f config.status
560
561 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
562                 maintainer-clean-compile maintainer-clean-tags \
563                 maintainer-clean-generic distclean-am
564         @echo "This command is intended for maintainers to use;"
565         @echo "it deletes files that may require special tools to rebuild."
566
567 maintainer-clean: maintainer-clean-recursive
568         -rm -f config.status
569
570 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
571 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
572 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
573 mostlyclean-compile distclean-compile clean-compile \
574 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
575 install-data-recursive uninstall-data-recursive install-exec-recursive \
576 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
577 all-recursive check-recursive installcheck-recursive info-recursive \
578 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
579 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
580 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
581 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
582 install-exec-local install-exec-am install-exec install-data-local \
583 install-data-am install-data install-am install uninstall-am uninstall \
584 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
585 distclean-generic clean-generic maintainer-clean-generic clean \
586 mostlyclean distclean maintainer-clean
587
588
589 mutt_dotlock.c: dotlock.c
590         cp $(srcdir)/dotlock.c mutt_dotlock.c
591
592 flea:   muttbug.sh
593         cp muttbug.sh flea
594         chmod +x flea
595
596 smime_keys: $(srcdir)/smime_keys.pl
597         cp $(srcdir)/smime_keys.pl smime_keys
598         chmod +x smime_keys
599
600 Makefile: $(BUILT_SOURCES)
601
602 keymap_defs.h: $(OPS) $(srcdir)/gen_defs
603         $(srcdir)/gen_defs $(OPS) > keymap_defs.h
604
605 keymap_alldefs.h: $(srcdir)/OPS $(srcdir)/OPS.PGP $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME $(srcdir)/gen_defs
606         $(srcdir)/gen_defs $(srcdir)/OPS $(srcdir)/OPS.PGP \
607                 $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME \
608                         > keymap_alldefs.h
609
610 reldate:
611         echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > $(srcdir)/reldate.h
612
613 patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh
614         $(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c
615
616 install-exec-local:
617         if test -f $(DESTDIR)$(bindir)/mutt.dotlock && test -f $(DESTDIR)$(bindir)/mutt_dotlock ; then  \
618                 rm -f $(DESTDIR)$(bindir)/mutt.dotlock ;                \
619                 ln -sf $(DESTDIR)$(bindir)/mutt_dotlock $(DESTDIR)$(bindir)/mutt.dotlock ; \
620         fi
621         if test -f $(DESTDIR)$(bindir)/mutt_dotlock && test x@DOTLOCK_GROUP@ != x ; then \
622                 chgrp @DOTLOCK_GROUP@ $(DESTDIR)$(bindir)/mutt_dotlock && \
623                 chmod @DOTLOCK_PERMISSION@ $(DESTDIR)$(bindir)/mutt_dotlock || \
624                 { echo "Can't fix mutt_dotlock's permissions!" >&2 ; exit 1 ; } \
625         fi
626
627 install-data-local: Muttngrc
628         $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
629         -if [ -f $(DESTDIR)$(pkgdatadir)/Muttngrc ] ; then \
630                 mv $(DESTDIR)$(pkgdatadir)/Muttngrc* $(DESTDIR)$(sysconfdir) ; \
631         elif [ -f $(DESTDIR)$(pkgdatadir)/../Muttngrc ] ; then \
632                 mv $(DESTDIR)$(pkgdatadir)/../Muttngrc* $(DESTDIR)$(sysconfdir) ; \
633         elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttngrc ] ; then \
634                 $(INSTALL) -m 644 $(srcdir)/Muttngrc $(DESTDIR)$(sysconfdir) ; \
635         fi
636         -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
637                 $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \
638         fi
639
640 # Don't make this one ChangeLog - it's intended to be
641 # used manually.
642
643 pclean:
644         cat /dev/null > PATCHES
645
646 check-security:
647         ./check_sec.sh
648
649 commit-real:
650         cvs commit
651
652 commit-changelog:
653         cvs commit -m "# changelog commit" ChangeLog
654
655 commit: pclean check-security commit-real changelog commit-changelog
656
657 changelog:
658         cvs update ChangeLog
659         sh ./mkchangelog.sh | fmt -c | cat  - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog
660         $${VISUAL:-vi} ChangeLog
661
662 ChangeLog: changelog
663
664 # kluge around automake problems.
665
666 dist-hook:
667         -for file in $(BUILT_SOURCES) ; do rm -f $(distdir)/$$file ; done
668
669 mutt-dist:
670         (cd $(srcdir) && ./build-release )
671
672 update-doc: stamp-doc-rc
673         (cd doc && $(MAKE) update-doc)
674
675 Muttrc: stamp-doc-rc
676
677 stamp-doc-rc: $(srcdir)/init.h makedoc Muttrc.head
678         -rm -f Muttrc stamp-doc-rc
679         $(CPP) $(INCLUDES) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \
680                 $(srcdir)/init.h | ./makedoc -c | cat Muttrc.head - > Muttrc
681         touch stamp-doc-rc
682
683 .PHONY: commit pclean check-security commit-real commit-changelog
684 .PHONY: changelog ChangeLog
685
686 # Tell versions [3.59,3.63) of GNU make to not export all variables.
687 # Otherwise a system limit (for SysV at least) may be exceeded.
688 .NOEXPORT: