Changeset 4733:73e789d5427a
- Timestamp:
- 2006-07-18 11:04:14 (2 years ago)
- Author:
- Matthias Andree <matthias.andree@…>
- Branch:
- HEAD
- Message:
-
Long-overdue build system overhaul.
- Files:
-
- 3 added
- 3 removed
- 8 modified
Legend:
- Unmodified
- Added
- Removed
-
|
r4682
|
r4733
|
|
| 19 | 19 | mutt_SOURCES = $(BUILT_SOURCES) \ |
| 20 | 20 | addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c \ |
| 21 | | crypt.c cryptglue.c \ |
| | 21 | crypt.c cryptglue.c \ |
| 22 | 22 | commands.c complete.c compose.c copy.c curs_lib.c curs_main.c date.c \ |
| 23 | 23 | edit.c enter.c flags.c init.c filter.c from.c \ |
| … |
… |
|
| 43 | 43 | |
| 44 | 44 | # $(makedoc_OBJECTS): $(makedoc_SOURCES) |
| 45 | | # $(HOST_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $< |
| | 45 | # $(HOST_CC) $(DEFS) $(AM_CPPFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $< |
| 46 | 46 | |
| 47 | 47 | # makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES) |
| … |
… |
|
| 55 | 55 | -DHAVE_CONFIG_H=1 |
| 56 | 56 | |
| 57 | | INCLUDES=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl |
| | 57 | AM_CPPFLAGS=-I. -I$(top_srcdir) $(IMAP_INCLUDES) $(LIBGPGME_CFLAGS) -Iintl |
| 58 | 58 | |
| 59 | 59 | CPPFLAGS=@CPPFLAGS@ -I$(includedir) |
| … |
… |
|
| 100 | 100 | reldate.h |
| 101 | 101 | |
| | 102 | DISTCLEANFILES= flea Muttrc smime_keys |
| | 103 | |
| 102 | 104 | ACLOCAL_AMFLAGS = -I m4 |
| 103 | 105 | |
| … |
… |
|
| 114 | 116 | chmod +x smime_keys |
| 115 | 117 | |
| 116 | | Makefile: $(BUILT_SOURCES) |
| 117 | | |
| 118 | 118 | keymap_defs.h: $(OPS) $(srcdir)/gen_defs |
| 119 | 119 | $(srcdir)/gen_defs $(OPS) > keymap_defs.h |
| 120 | 120 | |
| 121 | | keymap_alldefs.h: $(srcdir)/OPS $(srcdir)/OPS.PGP $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME $(srcdir)/gen_defs |
| | 121 | $(srcdir)/keymap_alldefs.h: $(srcdir)/OPS $(srcdir)/OPS.PGP $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME $(srcdir)/gen_defs |
| | 122 | chmod u+w $(srcdir) |
| | 123 | rm -f $@ |
| 122 | 124 | $(srcdir)/gen_defs $(srcdir)/OPS $(srcdir)/OPS.PGP \ |
| 123 | 125 | $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME \ |
| … |
… |
|
| 143 | 145 | install-data-local: Muttrc |
| 144 | 146 | $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) |
| | 147 | $(INSTALL) -m644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist |
| | 148 | $(INSTALL) -m644 $(srcdir)/mime.types $(DESTDIR)$(sysconfdir)/mime.types.dist |
| 145 | 149 | -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \ |
| 146 | 150 | mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \ |
| … |
… |
|
| 154 | 158 | fi |
| 155 | 159 | |
| | 160 | uninstall-local: |
| | 161 | for i in Muttrc mime.types ; do \ |
| | 162 | if cmp -s $(DESTDIR)$(sysconfdir)/$$i.dist $(DESTDIR)$(sysconfdir)/$$i ; then \ |
| | 163 | rm $(DESTDIR)$(sysconfdir)/$$i ; \ |
| | 164 | fi ; \ |
| | 165 | rm $(DESTDIR)$(sysconfdir)/$${i}.dist ; \ |
| | 166 | done |
| 156 | 167 | |
| 157 | 168 | # Don't make this one ChangeLog - it's intended to be |
| … |
… |
|
| 193 | 204 | stamp-doc-rc: $(srcdir)/init.h makedoc Muttrc.head |
| 194 | 205 | -rm -f Muttrc stamp-doc-rc |
| 195 | | $(CPP) $(INCLUDES) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \ |
| | 206 | $(CPP) $(AM_CPPFLAGS) $(DEFS) $(CPPFLAGS) -D_MAKEDOC -C \ |
| 196 | 207 | $(srcdir)/init.h | ./makedoc -c | cat Muttrc.head - > Muttrc |
| 197 | 208 | touch stamp-doc-rc |
-
|
r4638
|
r4733
|
|
| 51 | 51 | # now, prepare the distribution tar balls |
| 52 | 52 | |
| 53 | | (cd m4 && rm -f Makefile Makefile.in Makefile.am && make -f Makefile.am.in) |
| 54 | 53 | automake |
| 55 | 54 | touch configure.in |
-
-
|
r4727
|
r4733
|
|
| 1 | 1 | Makefile |
| | 2 | Makefile.in |
| 2 | 3 | *.html |
| 3 | 4 | muttrc.man |
-
|
r3919
|
r4733
|
|
| 17 | 17 | EXTRA_DIST = BUGS README TODO auth_anon.c auth_cram.c auth_gss.c auth_sasl.c |
| 18 | 18 | |
| 19 | | INCLUDES = -I$(top_srcdir) -I../intl |
| | 19 | AM_CPPFLAGS = -I$(top_srcdir) -I../intl |
| 20 | 20 | |
| 21 | 21 | noinst_LIBRARIES = libimap.a |
-
|
r2771
|
r4733
|
|
| 3 | 3 | used by autoconf to create the configure script at the the top level in |
| 4 | 4 | this distribution. |
| 5 | | |
| 6 | | The Makefile.am file in this directory is automatically generated |
| 7 | | from the template file, Makefile.am.in. |
| 8 | | |
-
|
r4331
|
r4733
|
|
| 87 | 87 | |
| 88 | 88 | $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in |
| | 89 | chmod u+w $(srcdir) |
| | 90 | rm -f $@ |
| 89 | 91 | $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ |
| 90 | 92 | --add-comments --keyword=_ --keyword=N_ \ |
-
|
r3767
|
r4733
|
|
| 8 | 8 | fi |
| 9 | 9 | |
| 10 | | if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \ |
| | 10 | if aclocal -I m4 && autoheader \ |
| 11 | 11 | && automake $include_deps && autoconf && ./configure "$@" |
| 12 | 12 | then |