Makefile.am 2.38 KB
## Process this file with GNU Automake to create Makefile.in

##   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
##
##   GNU Mailutils is free software; you can redistribute it and/or
##   modify it under the terms of the GNU General Public License as
##   published by the Free Software Foundation; either version 2, or (at
##   your option) any later version.
##
##   This program is distributed in the hope that it will be useful, but
##   WITHOUT ANY WARRANTY; without even the implied warranty of
##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
##   General Public License for more details.
##
##   You should have received a copy of the GNU General Public License
##   along with this program; if not, write to the Free Software
##   Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA
##   02110-1301 USA

SUBDIRS = config cpp scheme

noinst_PROGRAMS = \
 addr\
 base64\
 listop\
 url-parse\
 sfrom\
 iconv\
 mimetest\
 murun\
 muemail\
 msg-send\
 http\
 mta\
 decode2047\
 mailcap\
 pop3client \
 nntpclient

## NOTE: Numaddr must be an installable target, otherwise libtool
## will not create a shared library and `make check' will fail in
## sieve. Pity.
## -Sergey
moddir=@SIEVE_MODDIR@
mod_LTLIBRARIES = numaddr.la

INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib\
 -I$(top_builddir)/include/mailutils/gnu\
 -I$(top_srcdir)/mailbox @INTLINCS@

AM_LDFLAGS = ../mailbox/libmailbox.la ../lib/libmailutils.la @MU_COMMON_LIBRARIES@

numaddr_la_SOURCES = numaddr.c
numaddr_la_LIBADD = ../libsieve/libsieve.la
numaddr_la_LDFLAGS = -module -avoid-version -no-undefined

mimetest_LDADD =\
 ../mailbox/mbox/libmu_mbox.la\
 ../mailbox/imap/libmu_imap.la\
 ../mailbox/pop/libmu_pop.la\
 ../mailbox/libmailbox.la\
 ../lib/libmailutils.la\
 @AUTHLIBS@

mta_LDADD =\
 ../mailbox/mbox/libmu_mbox.la\
 ../mailbox/libmailbox.la\
 ../lib/libmailutils.la

sfrom_LDADD =\
 ../mailbox/mbox/libmu_mbox.la\
 ../mailbox/imap/libmu_imap.la\
 ../mailbox/pop/libmu_pop.la\
 ../mailbox/nntp/libmu_nntp.la\
 ../mailbox/mh/libmu_mh.la\
 ../mailbox/maildir/libmu_maildir.la\
 ../mailbox/libmailbox.la\
 ../lib/libmailutils.la\
 @AUTHLIBS@

pop3client_LDADD = \
 ../mailbox/pop/libmu_pop.la\
 ../mailbox/libmailbox.la\
 ../lib/libmailutils.la\
 @AUTHLIBS@ @READLINE_LIBS@

nntpclient_LDADD = \
 ../mailbox/nntp/libmu_nntp.la\
 ../mailbox/libmailbox.la\
 ../lib/libmailutils.la\
 @AUTHLIBS@ @READLINE_LIBS@