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