summaryrefslogtreecommitdiff
path: root/gdtoa/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gdtoa/Makefile.am')
-rw-r--r--gdtoa/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/gdtoa/Makefile.am b/gdtoa/Makefile.am
index af0503da..232bc721 100644
--- a/gdtoa/Makefile.am
+++ b/gdtoa/Makefile.am
@@ -1,5 +1,6 @@
lib_LTLIBRARIES = libgdtoa.la
+libgdtoa_la_LDFLAGS = -release 1.0
libgdtoa_la_CPPFLAGS = -I$(top_builddir)
libgdtoa_la_SOURCES = \
dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c g_ffmt.c \
@@ -11,7 +12,8 @@ libgdtoa_la_SOURCES = \
EXTRA_libgdtoa_la_SOURCES = arithchk.c qnan.c
-$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
+BUILT_SOURCES = arith.h gd_qnan.h
+CLEANFILES = arith.h gd_qnan.h arithchk qnan
arith.h: arithchk.c
$(CC) $(CFLAGS) -o $(top_builddir)/arithchk $< || \
@@ -24,9 +26,4 @@ gd_qnan.h: qnan.c arith.h
$(top_builddir)/qnan > $(top_builddir)/$@
rm -f $(top_builddir)/qnan
-libgdtoa_la_LDFLAGS = -release 1.0
-
-pkginclude_HEADERS = gdtoa.h gdtoaimp.h
-
-CLEANFILES = arithchk qnan
-DISTCLEANFILES = arithchk arith.h qnan gd_qnan.h
+pkginclude_HEADERS = gdtoa.h gdtoaimp.h arith.h gd_qnan.h