X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=Makefile.am;h=50d6bad32b33d7055d8276da46aa45f16a9dddf4;hp=ca0d2dc36fdc3f9ae8a3da2207ec3c73b52bece1;hb=c7ceecd31e97891dd5cf48536d4bddf2c1d7d9dd;hpb=8dea1e97637d64ca1bd59251720e1c790237c8a8 diff --git a/Makefile.am b/Makefile.am index ca0d2dc..50d6bad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ## Use aclocal -I m4; automake --foreign AUTOMAKE_OPTIONS = foreign -EXTRA_PROGRAMS = muttng_dotlock pgpring makedoc +EXTRA_PROGRAMS = muttng_dotlock pgpringng pgpewrapng makedoc if BUILD_IMAP IMAP_SUBDIR = imap @@ -27,8 +27,8 @@ muttng_SOURCES = $(BUILT_SOURCES) \ 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 \ - url.c ascii.c mutt_idna.c sidebar.c hcache.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 muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS) \ $(INTLLIBS) $(LIBICONV) @@ -53,7 +53,7 @@ DEFS=-DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \ -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \ -DHAVE_CONFIG_H=1 -INCLUDES=-I. -I$(top_srcdir) $(IMAP_INCLUDES) -Iintl +INCLUDES=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl CPPFLAGS=@CPPFLAGS@ -I$(includedir) @@ -63,12 +63,12 @@ EXTRA_muttng_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.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 + sidebar.h crypt-mod-pgp-classic.c crypt-mod-smime-classic.c 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 dotlock.h functions.h gen_defs \ + 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 \ @@ -80,15 +80,19 @@ EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO \ 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 + snprintf.c regex.c mutt_libesmtp.h crypt-gpgme.h muttng_dotlock_SOURCES = mutt_dotlock.c muttng_dotlock_LDADD = @LIBOBJS@ muttng_dotlock_DEPENDENCIES = @LIBOBJS@ -pgpring_SOURCES = pgppubring.c pgplib.c lib.c extlib.c sha1.c md5c.c pgppacket.c ascii.c -pgpring_LDADD = @LIBOBJS@ $(INTLLIBS) -pgpring_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS) +pgpringng_SOURCES = pgppubring.c pgplib.c lib.c extlib.c sha1.c md5c.c pgppacket.c ascii.c +pgpringng_LDADD = @LIBOBJS@ $(INTLLIBS) +pgpringng_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS) + +pgpewrapng_SOURCES = pgpewrap.c +pgpewrapng_LDADD = +pgpewrapng_DEPENDENCIES = mutt_dotlock.c: dotlock.c cp $(srcdir)/dotlock.c mutt_dotlock.c @@ -106,9 +110,9 @@ fleang: muttbug.sh cp muttbug.sh fleang chmod +x fleang -smime_keys: $(srcdir)/smime_keys.pl - cp $(srcdir)/smime_keys.pl smime_keys - chmod +x smime_keys +smime_keysng: $(srcdir)/smime_keys.pl + cp $(srcdir)/smime_keys.pl smime_keysng + chmod +x smime_keysng Makefile: $(BUILT_SOURCES) @@ -146,8 +150,8 @@ install-data-local: Muttngrc elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttngrc ] ; then \ $(INSTALL) -m 644 $(srcdir)/Muttngrc $(DESTDIR)$(sysconfdir) ; \ fi - -if [ ! -f $(DESTDIR)$(sysconfdir)/mime.types ]; then \ - $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir); \ + -if [ ! -f $(DESTDIR)$(sysconfdir)/muttng-mime.types ]; then \ + $(INSTALL) -m 644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir)/muttng-mime.types; \ fi @@ -155,23 +159,24 @@ install-data-local: Muttngrc # used manually. pclean: - cat /dev/null > PATCHES + cat /dev/null > $(top_srcdir)/PATCHES check-security: - ./check_sec.sh + (cd $(top_srcdir) && ./check_sec.sh) commit-real: - cvs commit + (cd $(top_srcdir) && cvs commit) commit-changelog: - cvs commit -m "# changelog commit" ChangeLog + (cd $(top_srcdir) && cvs commit -m "# changelog commit" ChangeLog) commit: pclean check-security commit-real changelog commit-changelog changelog: - cvs update ChangeLog - sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog - $${VISUAL:-vi} ChangeLog + (cd $(top_srcdir); \ + cvs update ChangeLog; \ + sh ./mkchangelog.sh | fmt -c | cat - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \ + $${VISUAL:-vi} ChangeLog) ChangeLog: changelog