aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/machine/Makefile.am
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2001-12-19 23:41:46 +0000
committerThomas Fitzsimmons <fitzsim@redhat.com>2001-12-19 23:41:46 +0000
commit1f93c55ff7f7613d779ed770a60be13c14b0858f (patch)
tree2bf6cd9827015e6dd5b9a385085dfc6d82fde25c /newlib/libm/machine/Makefile.am
parent4b31ae795b3f7bc50b0b8ae9a94740a1d356ab1a (diff)
downloadnewlib-1f93c55ff7f7613d779ed770a60be13c14b0858f.zip
newlib-1f93c55ff7f7613d779ed770a60be13c14b0858f.tar.gz
newlib-1f93c55ff7f7613d779ed770a60be13c14b0858f.tar.bz2
* libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
* libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
Diffstat (limited to 'newlib/libm/machine/Makefile.am')
-rw-r--r--newlib/libm/machine/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/newlib/libm/machine/Makefile.am b/newlib/libm/machine/Makefile.am
index f72a8ee..4b972f7 100644
--- a/newlib/libm/machine/Makefile.am
+++ b/newlib/libm/machine/Makefile.am
@@ -4,9 +4,13 @@ AUTOMAKE_OPTIONS = cygnus
SUBDIRS = $(libm_machine_dir) .
+if HAVE_LIBM_MACHINE_DIR
+LIBM_MACHLIB = lib.a
+endif
+
if USE_LIBTOOL
else
-noinst_LIBRARIES = lib.a
+noinst_LIBRARIES = $(LIBM_MACHLIB)
lib.a: $(libm_machine_dir)/lib.a
rm -f $@
@@ -14,9 +18,9 @@ lib.a: $(libm_machine_dir)/lib.a
cp $(libm_machine_dir)/lib.a $@
endif # USE_LIBTOOL
-ACLOCAL_AMFLAGS = -I ../..
-CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
-
$(libm_machine_dir)/lib.a:
doc:
+
+ACLOCAL_AMFLAGS = -I ../..
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host