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