X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=Makefile.am;h=6d514b8e87c5d14df43711c3ef6461cb537c7887;hp=a1279fbd548aa878d7d091c7f992613fdf9716a6;hb=fb0de7e2db97b1fe0882a31135b2fe4c1bae1821;hpb=2fea7732a573b94a4d5dcf7e641ef067472e9cab diff --git a/Makefile.am b/Makefile.am index a1279fb..6d514b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,16 +15,16 @@ SUBDIRS = tools intl m4 po \ BUILT_SOURCES = keymap_defs.h charset.gperf DISTCLEANFILES = $(BUILT_SOURCES) -bin_PROGRAMS = madmutt madmutt_dotlock smime_keysng +bin_PROGRAMS = madmutt madmutt_dotlock madmutt_SOURCES = $(BUILT_SOURCES) \ alias.c attach.c base64.c browser.c buffy.c charset.c commands.c \ - compose.c copy.c crypt.c editmsg.c init.c keymap.c \ - flags.c from.c handler.c headers.c help.c hook.c \ - main.c muttlib.c mutt_idna.c pager.c pattern.c postpone.c recvattach.c recvcmd.c \ - score.c send.c sendlib.c sort.c state.c thread.c account.c remailer.c + compose.c copy.c crypt.c editmsg.c init.c keymap.c flags.c from.c \ + handler.c headers.c help.c hook.c main.c muttlib.c mutt_idna.c \ + pager.c pattern.c postpone.c recvattach.c recvcmd.c score.c send.c \ + sendlib.c send_smtp.c sort.c state.c thread.c account.c remailer.c \ + mutt_sasl.c -madmutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \ - $(top_builddir)/lib-mime/libmime.a \ +madmutt_LDADD = $(top_builddir)/lib-mime/libmime.a \ $(top_builddir)/lib-mx/libmx.a \ $(top_builddir)/imap/libimap.a \ $(top_builddir)/pop/libpop.a \ @@ -36,10 +36,7 @@ madmutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \ $(top_builddir)/lib-lib/liblib.a \ $(MUTTLIBS) $(INTLLIBS) $(LIBICONV) -madmutt_DEPENDENCIES = \ - \ - @MUTT_LIB_OBJECTS@ @LIBOBJS@ \ - $(top_builddir)/lib-lib/liblib.a \ +madmutt_DEPENDENCIES = $(top_builddir)/lib-lib/liblib.a \ $(top_builddir)/lib-mime/libmime.a \ $(top_builddir)/lib-hash/libhash.a \ $(top_builddir)/lib-sys/libsys.a \ @@ -61,37 +58,27 @@ INCLUDES=-I$(top_srcdir) $(GPGME_CFLAGS) -Iintl CPPFLAGS=@CPPFLAGS@ -I$(includedir) -EXTRA_madmutt_SOURCES = \ - account.c mutt_sasl.c dotlock.c remailer.c \ - alias.h browser.h remailer.h state.h \ - mutt_idna.h mutt_libesmtp.c state.h - EXTRA_DIST = config.rpath COPYRIGHT GPL OPS TODO \ configure account.h alias.h attach.h recvattach.h handler.h thread.h \ - buffy.h charset.h copy.h crypt.c dotlock.h functions.def gen_defs \ - recvattach.h handler.h thread.h globals.h init.h keymap.h \ - mime.h mutt.h mutt_sasl.h pager.h protos.h \ - sort.h autogen.sh remailer.c remailer.h browser.h state.h \ - smime_keys.pl Madmuttrc.head Madmuttrc \ - README.SSL depcomp mutt_idna.h mutt_libesmtp.h + alias.h browser.h remailer.h state.h mutt_idna.h state.h buffy.h \ + charset.h copy.h dotlock.h functions.def gen_defs recvattach.h handler.h \ + thread.h globals.h init.h keymap.h mime.h mutt.h mutt_sasl.h pager.h \ + protos.h sort.h autogen.sh remailer.h browser.h state.h README.SSL \ + depcomp mutt_idna.h send_smtp.h madmutt_dotlock_SOURCES = dotlock.c -madmutt_dotlock_LDADD = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a -madmutt_dotlock_DEPENDENCIES = @LIBOBJS@ $(top_builddir)/lib-lib/liblib.a +madmutt_dotlock_LDADD = $(top_builddir)/lib-lib/liblib.a +madmutt_dotlock_DEPENDENCIES = $(top_builddir)/lib-lib/liblib.a -CLEANFILES = keymap_defs.h Madmuttrc +CLEANFILES = keymap_defs.h ACLOCAL_AMFLAGS = -I m4 -LDADD = @LIBOBJS@ @LIBINTL@ +LDADD = @LIBINTL@ charset.gperf: charset.def sh $< > $@ -smime_keysng: $(srcdir)/smime_keys.pl - cp $(srcdir)/smime_keys.pl smime_keysng - chmod +x smime_keysng - keymap_defs.h: OPS $(srcdir)/gen_defs $^ > keymap_defs.h @@ -106,16 +93,6 @@ install-exec-hook: { echo "Can't fix madmutt_dotlock's permissions!" >&2 ; } \ fi -install-data-local: Madmuttrc - $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) - -if [ -f $(DESTDIR)$(pkgdatadir)/Madmuttrc ] ; then \ - mv $(DESTDIR)$(pkgdatadir)/Madmuttrc* $(DESTDIR)$(sysconfdir) ; \ - elif [ -f $(DESTDIR)$(pkgdatadir)/../Madmuttrc ] ; then \ - mv $(DESTDIR)$(pkgdatadir)/../Madmuttrc* $(DESTDIR)$(sysconfdir) ; \ - elif [ ! -f $(DESTDIR)$(sysconfdir)/Madmuttrc ] ; then \ - $(INSTALL) -m 644 Madmuttrc $(DESTDIR)$(sysconfdir) ; \ - fi - include tools/cpkg2c.mk -include tools/cflags.mk