1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
63 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
65 CATOBJEXT = @CATOBJEXT@
67 DATADIRNAME = @DATADIRNAME@
70 DOTLOCK_GROUP = @DOTLOCK_GROUP@
71 DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
72 DOTLOCK_TARGET = @DOTLOCK_TARGET@
78 GPGME_CONFIG = @GPGME_CONFIG@
79 INSTOBJEXT = @INSTOBJEXT@
80 INTLBISON = @INTLBISON@
83 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
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@
93 LIBIMAPDEPS = @LIBIMAPDEPS@
95 MKINSTALLDIRS = @MKINSTALLDIRS@
98 MUTT_LIB_OBJECTS = @MUTT_LIB_OBJECTS@
100 PGPAUX_TARGET = @PGPAUX_TARGET@
105 SENDMAIL = @SENDMAIL@
106 SMIMEAUX_TARGET = @SMIMEAUX_TARGET@
107 SUBVERSION = @SUBVERSION@
109 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
113 mutt_libesmtp_config_path = @mutt_libesmtp_config_path@
115 AUTOMAKE_OPTIONS = foreign
116 EXTRA_PROGRAMS = muttng_dotlock pgpring makedoc
118 @BUILD_IMAP_TRUE@IMAP_SUBDIR = imap
119 @BUILD_IMAP_TRUE@IMAP_INCLUDES = -I$(top_srcdir)/imap
121 SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
123 bin_SCRIPTS = muttngbug fleang
125 BUILT_SOURCES = keymap_defs.h patchlist.c
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
131 muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
134 muttng_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAPDEPS) $(INTLDEPS)
137 makedoc_SOURCES = makedoc.c
139 makedoc_DEPENDENCIES =
141 # $(makedoc_OBJECTS): $(makedoc_SOURCES)
142 # $(HOST_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $<
144 # makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
146 # $(HOST_CC) $(AM_CFLAGS) $(LDFLAGS) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) -o makedoc
150 DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" -DHAVE_CONFIG_H=1
153 INCLUDES = -I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl
155 CPPFLAGS = @CPPFLAGS@ -I$(includedir)
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
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
163 muttng_dotlock_SOURCES = mutt_dotlock.c
164 muttng_dotlock_LDADD = @LIBOBJS@
165 muttng_dotlock_DEPENDENCIES = @LIBOBJS@
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)
171 CLEANFILES = mutt_dotlock.c stamp-doc-rc makedoc keymap_alldefs.h keymap_defs.h patchlist.c
174 ACLOCAL_AMFLAGS = -I m4
176 LDADD = @LIBOBJS@ @INTLLIBS@
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)
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 \
192 makedoc_OBJECTS = makedoc.o
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
205 SCRIPTS = $(bin_SCRIPTS)
208 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
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
217 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
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
231 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
233 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
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)
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)
247 @if test ! -f $@; then \
251 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
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; \
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
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
278 mostlyclean-binPROGRAMS:
281 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
283 distclean-binPROGRAMS:
285 maintainer-clean-binPROGRAMS:
287 install-binPROGRAMS: $(bin_PROGRAMS)
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)/'`; \
297 uninstall-binPROGRAMS:
299 list='$(bin_PROGRAMS)'; for p in $$list; do \
300 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
313 -rm -f *.o core *.core
320 maintainer-clean-compile:
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)
326 pgpring: $(pgpring_OBJECTS) $(pgpring_DEPENDENCIES)
328 $(LINK) $(pgpring_LDFLAGS) $(pgpring_OBJECTS) $(pgpring_LDADD) $(LIBS)
330 makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
332 $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
334 muttng: $(muttng_OBJECTS) $(muttng_DEPENDENCIES)
336 $(LINK) $(muttng_LDFLAGS) $(muttng_OBJECTS) $(muttng_LDADD) $(LIBS)
338 install-binSCRIPTS: $(bin_SCRIPTS)
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)'`; \
351 uninstall-binSCRIPTS:
353 list='$(bin_SCRIPTS)'; for p in $$list; do \
354 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
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.
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; \
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 \
376 local_target="$$target-am"; \
378 local_target="$$target"; \
380 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
381 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
383 if test "$$dot_seen" = "no"; then \
384 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
387 mostlyclean-recursive clean-recursive distclean-recursive \
388 maintainer-clean-recursive:
389 @set fnord $(MAKEFLAGS); amf=$$2; \
391 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
392 rev="$$subdir $$rev"; \
393 test "$$subdir" = "." && dot_seen=yes; \
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"; \
402 local_target="$$target"; \
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"
408 list='$(SUBDIRS)'; for subdir in $$list; do \
409 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
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)
422 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
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"; \
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)
444 maintainer-clean-tags:
446 distdir = $(PACKAGE)-$(VERSION)
447 top_distdir = $(distdir)
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
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
467 @banner="$(distdir).tar.gz is ready for distribution"; \
468 dashes=`echo "$$banner" | sed s/./=/g`; \
473 -chmod -R a+r $(distdir)
474 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
477 -chmod -R a+r $(distdir)
478 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
480 distdir: $(DISTFILES)
483 -chmod 777 $(distdir)
484 @for file in $(DISTFILES); do \
486 if test -d $$d/$$file; then \
487 cp -pr $$d/$$file $(distdir)/$$file; \
489 test -f $(distdir)/$$file \
490 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
491 || cp -p $$d/$$file $(distdir)/$$file || :; \
494 for subdir in $(DIST_SUBDIRS); do \
495 if test "$$subdir" = .; then :; else \
496 test -d $(distdir)/$$subdir \
497 || mkdir $(distdir)/$$subdir \
499 chmod 777 $(distdir)/$$subdir; \
500 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
504 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
510 check: check-recursive
512 installcheck: installcheck-recursive
513 all-recursive-am: config.h
514 $(MAKE) $(AM_MAKEFLAGS) all-recursive
516 install-exec-am: install-binPROGRAMS install-binSCRIPTS \
518 install-exec: install-exec-recursive
520 install-data-am: install-data-local
521 install-data: install-data-recursive
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
531 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
532 installdirs: installdirs-recursive
534 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
540 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
543 -rm -f Makefile $(CONFIG_CLEAN_FILES)
544 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
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 \
552 mostlyclean: mostlyclean-recursive
554 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
555 clean-generic mostlyclean-am
557 clean: clean-recursive
559 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
560 distclean-tags distclean-generic clean-am
562 distclean: distclean-recursive
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."
571 maintainer-clean: maintainer-clean-recursive
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
593 mutt_dotlock.c: dotlock.c
594 cp $(srcdir)/dotlock.c mutt_dotlock.c
600 smime_keys: $(srcdir)/smime_keys.pl
601 cp $(srcdir)/smime_keys.pl smime_keys
604 Makefile: $(BUILT_SOURCES)
606 keymap_defs.h: $(OPS) $(srcdir)/gen_defs
607 $(srcdir)/gen_defs $(OPS) > keymap_defs.h
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 \
615 echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > $(srcdir)/reldate.h
617 patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh
618 $(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c
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 ; \
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 ; } \
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) ; \
640 -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \
641 $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \
644 # Don't make this one ChangeLog - it's intended to be
648 cat /dev/null > $(top_srcdir)/PATCHES
651 (cd $(top_srcdir) && ./check_sec.sh)
654 (cd $(top_srcdir) && cvs commit)
657 (cd $(top_srcdir) && cvs commit -m "# changelog commit" ChangeLog)
659 commit: pclean check-security commit-real changelog commit-changelog
663 cvs update ChangeLog; \
664 sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \
665 $${VISUAL:-vi} ChangeLog)
669 # kluge around automake problems.
672 -for file in $(BUILT_SOURCES) ; do rm -f $(distdir)/$$file ; done
675 (cd $(srcdir) && ./build-release )
677 update-doc: stamp-doc-rc
678 (cd doc && $(MAKE) update-doc)
680 Muttngrc: stamp-doc-rc
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
688 .PHONY: commit pclean check-security commit-real commit-changelog
689 .PHONY: changelog ChangeLog
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.