Commit 5b996c7c 5b996c7c7a989fae5102cfc291bc7a6603004d71 by Sergey Poznyakoff

Build the targets conditionally

1 parent 4edfeeec
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
5 AUTOMAKE_OPTIONS = ../lib/ansi2knr 5 AUTOMAKE_OPTIONS = ../lib/ansi2knr
6 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include -I$(top_srcdir)/libmu_scm 6 INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include -I$(top_srcdir)/libmu_scm
7 7
8 libexec_PROGRAMS = mail.remote 8 SMTP_PROGRAMS = mail.remote
9 EXTRA_PROGRAMS = mail.remote
10 libexec_PROGRAMS = @SMTP_PROGRAMS@
9 mail_remote_SOURCES = mail.remote.c 11 mail_remote_SOURCES = mail.remote.c
10 12
11 mail_remote_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la 13 mail_remote_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la
......
...@@ -2,8 +2,13 @@ ...@@ -2,8 +2,13 @@
2 # Copyright (C) 2000,2001,2002 Free Software Foundation 2 # Copyright (C) 2000,2001,2002 Free Software Foundation
3 # See file COPYING in the distribution root directory for copying conditions. 3 # See file COPYING in the distribution root directory for copying conditions.
4 4
5 bin_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl 5 MH_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
6 noinst_LIBRARIES = libmh.a 6 EXTRA_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
7 MH_LIBRARIES = libmh.a
8 EXTRA_LIBRARIES = libmh.a
9
10 bin_PROGRAMS = @MH_PROGRAMS@
11 noinst_LIBRARIES = @MH_LIBRARIES@
7 libmh_a_SOURCES= \ 12 libmh_a_SOURCES= \
8 mh_argp.c\ 13 mh_argp.c\
9 mh_ctx.c\ 14 mh_ctx.c\
......