Use libtool for built ARGP and libmailutils
Showing
17 changed files
with
63 additions
and
23 deletions
1 | 2002-02-13 Jeff Bailey <jbailey@outpost.dnsalias.org> | ||
2 | |||
3 | This change permits linking on systems that don't support | ||
4 | interlibrary dependancies inherently like SCO Openserver. | ||
5 | |||
6 | * sieve/Makefile.am: Link in libtool-based libmailutils. | ||
7 | |||
8 | * readmsg/Makefile.am: Link in libtool-based libmailutils. | ||
9 | |||
10 | * pop3d/Makefile.am: Link in libtool-based libmailutils. | ||
11 | |||
12 | * mh/Makefile.am: Link in libtool-based libmailutils. | ||
13 | |||
14 | * messages/Makefile.am: Link in libtool-based libmailutils. | ||
15 | |||
16 | * mapi/Makefile.am: Link in libtool-based libmailutils. | ||
17 | |||
18 | * mail.local/Makefile.am: Link in libtool-based libmailutils. | ||
19 | |||
20 | * mail/Makefile.am: Link in libtool-based libmailutils. | ||
21 | |||
22 | * lib/Makefile.am: Generate libtool-based libmailutils. | ||
23 | |||
24 | * lib/.cvsignore: Add files that libtool generates | ||
25 | |||
26 | * imap4d/Makefile.am: Link in libtool-based libmailutils. | ||
27 | |||
28 | * guimb/Makefile.am: Link in libtool-based libmailutils. | ||
29 | |||
30 | * from/Makefile.am: Link in libtool-based libmailutils. | ||
31 | |||
32 | * frm/Makefile.am: Link in libtool-based libmailutils. | ||
33 | |||
34 | * argp/Makefile.am: Use libtool | ||
35 | |||
36 | * configure.in: Build libtool ARGP libraries | ||
37 | |||
1 | 2002-02-11 Sergey Poznyakoff | 38 | 2002-02-11 Sergey Poznyakoff |
2 | 39 | ||
3 | * imap4d/auth_gss.c (auth_gssapi): Use imap4d_gss_userok() to | 40 | * imap4d/auth_gss.c (auth_gssapi): Use imap4d_gss_userok() to | ... | ... |
... | @@ -2,16 +2,16 @@ AUTOMAKE_OPTIONS = ../lib/ansi2knr | ... | @@ -2,16 +2,16 @@ AUTOMAKE_OPTIONS = ../lib/ansi2knr |
2 | 2 | ||
3 | INCLUDES = -I${top_srcdir}/lib | 3 | INCLUDES = -I${top_srcdir}/lib |
4 | 4 | ||
5 | noinst_LIBRARIES = @ARGPLIB@ | 5 | noinst_LTLIBRARIES = @ARGPLIB@ |
6 | 6 | ||
7 | libargp_a_SOURCES = argp-ba.c argp-eexst.c argp-fmtstream.c argp-fs-xinl.c \ | 7 | libargp_la_SOURCES = argp-ba.c argp-eexst.c argp-fmtstream.c argp-fs-xinl.c \ |
8 | argp-help.c argp-parse.c argp-pv.c argp-pvh.c argp-xinl.c pin.c | 8 | argp-help.c argp-parse.c argp-pv.c argp-pvh.c argp-xinl.c pin.c |
9 | 9 | ||
10 | EXTRA_DIST = | 10 | EXTRA_DIST = |
11 | 11 | ||
12 | EXTRA_LIBRARIES = libargp.a | 12 | EXTRA_LTLIBRARIES = libargp.la |
13 | 13 | ||
14 | noinst_HEADERS = argp-fmtstream.h argp-namefrob.h argp.h | 14 | noinst_HEADERS = argp-fmtstream.h argp-namefrob.h argp.h |
15 | 15 | ||
16 | libargp_a_LIBADD = ../lib/libmailutils.a | 16 | libargp_la_LIBADD = ../lib/libmailutils.la |
17 | 17 | ... | ... |
... | @@ -181,8 +181,8 @@ dnl Check for libraries | ... | @@ -181,8 +181,8 @@ dnl Check for libraries |
181 | AC_CHECK_FUNCS(argp_parse) | 181 | AC_CHECK_FUNCS(argp_parse) |
182 | if test x"$ac_cv_func_argp_parse" != xyes; then | 182 | if test x"$ac_cv_func_argp_parse" != xyes; then |
183 | AC_REPLACE_FUNCS(strndup strnlen strchrnul) | 183 | AC_REPLACE_FUNCS(strndup strnlen strchrnul) |
184 | ARGPLIBS="../argp/libargp.a" | 184 | ARGPLIBS="../argp/libargp.la" |
185 | ARGPLIB="libargp.a" | 185 | ARGPLIB="libargp.la" |
186 | ARGPINCS='-I$(top_srcdir)/argp' | 186 | ARGPINCS='-I$(top_srcdir)/argp' |
187 | AC_SUBST(ARGPLIBS) | 187 | AC_SUBST(ARGPLIBS) |
188 | AC_SUBST(ARGPLIB) | 188 | AC_SUBST(ARGPLIB) | ... | ... |
... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib | ... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib |
4 | bin_PROGRAMS = frm | 4 | bin_PROGRAMS = frm |
5 | 5 | ||
6 | frm_DEPENDENCIES = ../mailbox/libmailbox.la | 6 | frm_DEPENDENCIES = ../mailbox/libmailbox.la |
7 | frm_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a | 7 | frm_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la | ... | ... |
... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib | ... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib |
4 | bin_PROGRAMS = from | 4 | bin_PROGRAMS = from |
5 | 5 | ||
6 | from_DEPENDENCIES = ../mailbox/libmailbox.la | 6 | from_DEPENDENCIES = ../mailbox/libmailbox.la |
7 | from_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a | 7 | from_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la | ... | ... |
... | @@ -8,5 +8,5 @@ bin_PROGRAMS=@GUIMB@ | ... | @@ -8,5 +8,5 @@ bin_PROGRAMS=@GUIMB@ |
8 | EXTRA_PROGRAMS=guimb | 8 | EXTRA_PROGRAMS=guimb |
9 | guimb_SOURCES=main.c collect.c util.c guimb.h | 9 | guimb_SOURCES=main.c collect.c util.c guimb.h |
10 | guimb_LDADD = ../libmu_scm/libmu_scm.a ../mailbox/libmailbox.la \ | 10 | guimb_LDADD = ../libmu_scm/libmu_scm.a ../mailbox/libmailbox.la \ |
11 | ../lib/libmailutils.a @GUILE_LIBS@ | 11 | ../lib/libmailutils.la @GUILE_LIBS@ |
12 | 12 | ... | ... |
... | @@ -3,12 +3,12 @@ INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include @ARGPINCS@ @AUTHINCS@ | ... | @@ -3,12 +3,12 @@ INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include @ARGPINCS@ @AUTHINCS@ |
3 | 3 | ||
4 | sbin_PROGRAMS = imap4d | 4 | sbin_PROGRAMS = imap4d |
5 | 5 | ||
6 | imap4d_LDADD = @AUTHOBJS@ @ARGPLIBS@ ../mailbox/libmailbox.la @AUTHLIBS@ ../lib/libmailutils.a | 6 | imap4d_LDADD = @AUTHOBJS@ @ARGPLIBS@ ../mailbox/libmailbox.la @AUTHLIBS@ ../lib/libmailutils.la |
7 | imap4d_SOURCES = append.c authenticate.c bye.c capability.c check.c close.c \ | 7 | imap4d_SOURCES = append.c authenticate.c bye.c capability.c check.c close.c \ |
8 | commands.c copy.c create.c delete.c examine.c expunge.c fetch.c imap4d.c \ | 8 | commands.c copy.c create.c delete.c examine.c expunge.c fetch.c imap4d.c \ |
9 | imap4d.h list.c logout.c login.c lsub.c namespace.c noop.c rename.c search.c \ | 9 | imap4d.h list.c logout.c login.c lsub.c namespace.c noop.c rename.c search.c \ |
10 | select.c signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c \ | 10 | select.c signal.c status.c store.c subscribe.c sync.c uid.c unsubscribe.c \ |
11 | util.c | 11 | util.c |
12 | imap4d_DEPENDENCIES = @AUTHOBJS@ ../mailbox/libmailbox.la ../lib/libmailutils.a | 12 | imap4d_DEPENDENCIES = @AUTHOBJS@ ../mailbox/libmailbox.la ../lib/libmailutils.la |
13 | 13 | ||
14 | EXTRA_DIST=auth_gss.c | 14 | EXTRA_DIST=auth_gss.c | ... | ... |
1 | AUTOMAKE_OPTIONS = ansi2knr | 1 | AUTOMAKE_OPTIONS = ansi2knr |
2 | noinst_LIBRARIES = libmailutils.a | 2 | noinst_LTLIBRARIES = libmailutils.la |
3 | 3 | ||
4 | SUBDIRS = posix | 4 | SUBDIRS = posix |
5 | 5 | ||
6 | INCLUDES = -I${top_srcdir}/include @ARGPINCS@ | 6 | INCLUDES = -I${top_srcdir}/include @ARGPINCS@ |
7 | libmailutils_a_SOURCES = basename.c daemon.c getopt.c getopt1.c md5.c \ | 7 | libmailutils_la_SOURCES = basename.c daemon.c getopt.c getopt1.c md5.c \ |
8 | mu_dbm.c getline.c xstrdup.c xmalloc.c argcv.c \ | 8 | mu_dbm.c getline.c xstrdup.c xmalloc.c argcv.c \ |
9 | mu_argp.c | 9 | mu_argp.c |
10 | 10 | ||
... | @@ -15,5 +15,5 @@ EXTRA_DIST = alloca.c fnmatch.c fgetpwent.c getpass.c malloc.c obstack.c \ | ... | @@ -15,5 +15,5 @@ EXTRA_DIST = alloca.c fnmatch.c fgetpwent.c getpass.c malloc.c obstack.c \ |
15 | noinst_HEADERS = argcv.h error.h fnmatch.h getline.h getopt.h md5.h mu_dbm.h\ | 15 | noinst_HEADERS = argcv.h error.h fnmatch.h getline.h getopt.h md5.h mu_dbm.h\ |
16 | regex.h snprintf.h xalloc.h xstrtol.h obstack.h mu_argp.h | 16 | regex.h snprintf.h xalloc.h xstrtol.h obstack.h mu_argp.h |
17 | 17 | ||
18 | libmailutils_a_LIBADD = @LIBOBJS@ @ALLOCA@ | 18 | libmailutils_la_LIBADD = @LIBOBJS@ @ALLOCA@ |
19 | 19 | ... | ... |
... | @@ -5,7 +5,7 @@ libexec_PROGRAMS = mail.local | ... | @@ -5,7 +5,7 @@ libexec_PROGRAMS = mail.local |
5 | mail_local_SOURCES = main.c mailquota.c script.c mail.local.h | 5 | mail_local_SOURCES = main.c mailquota.c script.c mail.local.h |
6 | 6 | ||
7 | mail_local_LDADD = @ARGPLIBS@ @LIBMU_SCM@ ../mailbox/libmailbox.la \ | 7 | mail_local_LDADD = @ARGPLIBS@ @LIBMU_SCM@ ../mailbox/libmailbox.la \ |
8 | @AUTHLIBS@ ../lib/libmailutils.a @GUILE_LIBS@ | 8 | @AUTHLIBS@ ../lib/libmailutils.la @GUILE_LIBS@ |
9 | 9 | ||
10 | 10 | ||
11 | install-exec-hook: | 11 | install-exec-hook: | ... | ... |
... | @@ -5,7 +5,7 @@ AM_CFLAGS = -DSITE_MAIL_RC=\"@SITE_MAIL_RC@\" | ... | @@ -5,7 +5,7 @@ AM_CFLAGS = -DSITE_MAIL_RC=\"@SITE_MAIL_RC@\" |
5 | 5 | ||
6 | bin_PROGRAMS = mail | 6 | bin_PROGRAMS = mail |
7 | 7 | ||
8 | mail_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.a \ | 8 | mail_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.la \ |
9 | @READLINE_LIBS@ | 9 | @READLINE_LIBS@ |
10 | 10 | ||
11 | EXTRA_DIST = msgset.c | 11 | EXTRA_DIST = msgset.c | ... | ... |
... | @@ -11,7 +11,7 @@ lib_LTLIBRARIES = libmapi.la | ... | @@ -11,7 +11,7 @@ lib_LTLIBRARIES = libmapi.la |
11 | /* FIXME: This should be part of the default includes. */ | 11 | /* FIXME: This should be part of the default includes. */ |
12 | EXTRA_DIST = mapi.h | 12 | EXTRA_DIST = mapi.h |
13 | 13 | ||
14 | libmapi_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a | 14 | libmapi_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la |
15 | 15 | ||
16 | libmapi_la_SOURCES = \ | 16 | libmapi_la_SOURCES = \ |
17 | MAPIAddress.c \ | 17 | MAPIAddress.c \ | ... | ... |
... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib @ARGPINCS@ | ... | @@ -4,4 +4,4 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib @ARGPINCS@ |
4 | bin_PROGRAMS = messages | 4 | bin_PROGRAMS = messages |
5 | 5 | ||
6 | messages_DEPENDENCIES = ../mailbox/libmailbox.la | 6 | messages_DEPENDENCIES = ../mailbox/libmailbox.la |
7 | messages_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.a | 7 | messages_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.la | ... | ... |
... | @@ -11,7 +11,7 @@ noinst_HEADERS = mh.h mh_getopt.h | ... | @@ -11,7 +11,7 @@ noinst_HEADERS = mh.h mh_getopt.h |
11 | scan_SOURCES = scan.c | 11 | scan_SOURCES = scan.c |
12 | inc_SOURCES = inc.c | 12 | inc_SOURCES = inc.c |
13 | INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib @ARGPINCS@ | 13 | INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib @ARGPINCS@ |
14 | mh_LIBS = ./libmh.a @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.a | 14 | mh_LIBS = ./libmh.a @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.la |
15 | scan_LDADD = $(mh_LIBS) -lcurses -ltermcap | 15 | scan_LDADD = $(mh_LIBS) -lcurses -ltermcap |
16 | inc_LDADD = $(mh_LIBS) | 16 | inc_LDADD = $(mh_LIBS) |
17 | YFLAGS=-vt | 17 | YFLAGS=-vt | ... | ... |
... | @@ -9,7 +9,7 @@ pop3d_SOURCES = apop.c auth.c capa.c dele.c extra.c pop3d.c pop3d.h \ | ... | @@ -9,7 +9,7 @@ pop3d_SOURCES = apop.c auth.c capa.c dele.c extra.c pop3d.c pop3d.h \ |
9 | list.c lock.c noop.c quit.c retr.c rset.c stat.c signal.c top.c uidl.c \ | 9 | list.c lock.c noop.c quit.c retr.c rset.c stat.c signal.c top.c uidl.c \ |
10 | user.c virtual.c | 10 | user.c virtual.c |
11 | 11 | ||
12 | pop3d_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la @AUTHLIBS@ ../lib/libmailutils.a | 12 | pop3d_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la @AUTHLIBS@ ../lib/libmailutils.la |
13 | 13 | ||
14 | popauth_SOURCES = popauth.c | 14 | popauth_SOURCES = popauth.c |
15 | popauth_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a | 15 | popauth_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la | ... | ... |
... | @@ -5,4 +5,4 @@ bin_PROGRAMS = readmsg | ... | @@ -5,4 +5,4 @@ bin_PROGRAMS = readmsg |
5 | 5 | ||
6 | readmsg_SOURCES = readmsg.c msglist.c readmsg.h | 6 | readmsg_SOURCES = readmsg.c msglist.c readmsg.h |
7 | readmsg_DEPENDENCIES = ../mailbox/libmailbox.la | 7 | readmsg_DEPENDENCIES = ../mailbox/libmailbox.la |
8 | readmsg_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a | 8 | readmsg_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la | ... | ... |
... | @@ -55,7 +55,7 @@ HDR = \ | ... | @@ -55,7 +55,7 @@ HDR = \ |
55 | util.h | 55 | util.h |
56 | 56 | ||
57 | sieve_DEPENDENCIES = ../mailbox/libmailbox.la | 57 | sieve_DEPENDENCIES = ../mailbox/libmailbox.la |
58 | sieve_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.a | 58 | sieve_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.la |
59 | sieve_SOURCES = \ | 59 | sieve_SOURCES = \ |
60 | sieve.c \ | 60 | sieve.c \ |
61 | ${SRC} $(HDR) | 61 | ${SRC} $(HDR) | ... | ... |
-
Please register or sign in to post a comment