summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-01 14:27:00 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-01 14:27:00 +0000
commit5b996c7c7a989fae5102cfc291bc7a6603004d71 (patch)
treec203d4dd2a1c1a4ba24dc201cc65a43656877aa8
parent4edfeeec3caf3500943dd0820e809f7016eec476 (diff)
downloadmailutils-5b996c7c7a989fae5102cfc291bc7a6603004d71.tar.gz
mailutils-5b996c7c7a989fae5102cfc291bc7a6603004d71.tar.bz2
Build the targets conditionally
-rw-r--r--mail.remote/Makefile.am4
-rw-r--r--mh/Makefile.am9
2 files changed, 10 insertions, 3 deletions
diff --git a/mail.remote/Makefile.am b/mail.remote/Makefile.am
index 0d79e101a..99f10a355 100644
--- a/mail.remote/Makefile.am
+++ b/mail.remote/Makefile.am
@@ -5,7 +5,9 @@
AUTOMAKE_OPTIONS = ../lib/ansi2knr
INCLUDES =-I$(srcdir) -I$(top_srcdir)/lib -I$(top_srcdir)/include -I$(top_srcdir)/libmu_scm
-libexec_PROGRAMS = mail.remote
+SMTP_PROGRAMS = mail.remote
+EXTRA_PROGRAMS = mail.remote
+libexec_PROGRAMS = @SMTP_PROGRAMS@
mail_remote_SOURCES = mail.remote.c
mail_remote_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la
diff --git a/mh/Makefile.am b/mh/Makefile.am
index 422358734..cb826753d 100644
--- a/mh/Makefile.am
+++ b/mh/Makefile.am
@@ -2,8 +2,13 @@
# Copyright (C) 2000,2001,2002 Free Software Foundation
# See file COPYING in the distribution root directory for copying conditions.
-bin_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
-noinst_LIBRARIES = libmh.a
+MH_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
+EXTRA_PROGRAMS = scan inc rmm refile mhpath folder rmf fmtcheck repl
+MH_LIBRARIES = libmh.a
+EXTRA_LIBRARIES = libmh.a
+
+bin_PROGRAMS = @MH_PROGRAMS@
+noinst_LIBRARIES = @MH_LIBRARIES@
libmh_a_SOURCES= \
mh_argp.c\
mh_ctx.c\

Return to:

Send suggestions and report system problems to the System administrator.