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