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