summaryrefslogtreecommitdiff
path: root/gdtoa
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-17 07:34:16 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:36 -0400
commitafa7304095fa341c6153615e730990fb988830aa (patch)
treebf1dda5260a36273b7f5b802b4449716011e4507 /gdtoa
parent21bd83a2f9fb8ed3a515f46a15a5a6ecc35bdd14 (diff)
downloadfork-ledger-afa7304095fa341c6153615e730990fb988830aa.tar.gz
fork-ledger-afa7304095fa341c6153615e730990fb988830aa.tar.bz2
fork-ledger-afa7304095fa341c6153615e730990fb988830aa.zip
Got make distcheck working (yet again).
Diffstat (limited to 'gdtoa')
-rw-r--r--gdtoa/Makefile.am16
-rw-r--r--gdtoa/Makefile.in16
2 files changed, 16 insertions, 16 deletions
diff --git a/gdtoa/Makefile.am b/gdtoa/Makefile.am
index 2ea0ab3b..0f5b9104 100644
--- a/gdtoa/Makefile.am
+++ b/gdtoa/Makefile.am
@@ -1,6 +1,6 @@
lib_LTLIBRARIES = libgdtoa.la
-libgdtoa_la_CPPFLAGS = -I$(srcdir)
+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 \
g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c \
@@ -14,15 +14,15 @@ EXTRA_libgdtoa_la_SOURCES = arithchk.c qnan.c
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
arith.h: arithchk.c
- $(CC) $(CFLAGS) -o $(srcdir)/arithchk $< || \
- $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(srcdir)/arithchk $<
- $(srcdir)/arithchk > $(srcdir)/$@
- rm -f $(srcdir)/arithchk
+ $(CC) $(CFLAGS) -o $(top_builddir)/arithchk $< || \
+ $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(top_builddir)/arithchk $<
+ $(top_builddir)/arithchk > $(top_builddir)/$@
+ rm -f $(top_builddir)/arithchk
gd_qnan.h: qnan.c arith.h
- $(CC) $(CFLAGS) -o $(srcdir)/qnan -I$(srcdir) $<
- $(srcdir)/qnan > $(srcdir)/$@
- rm -f $(srcdir)/qnan
+ $(CC) $(CFLAGS) -o $(top_builddir)/qnan -I$(top_builddir) $<
+ $(top_builddir)/qnan > $(top_builddir)/$@
+ rm -f $(top_builddir)/qnan
libgdtoa_la_LDFLAGS = -release 1.0
diff --git a/gdtoa/Makefile.in b/gdtoa/Makefile.in
index 1db39664..6ca4b29d 100644
--- a/gdtoa/Makefile.in
+++ b/gdtoa/Makefile.in
@@ -219,7 +219,7 @@ target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
lib_LTLIBRARIES = libgdtoa.la
-libgdtoa_la_CPPFLAGS = -I$(srcdir)
+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 \
g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c \
@@ -1007,15 +1007,15 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
arith.h: arithchk.c
- $(CC) $(CFLAGS) -o $(srcdir)/arithchk $< || \
- $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(srcdir)/arithchk $<
- $(srcdir)/arithchk > $(srcdir)/$@
- rm -f $(srcdir)/arithchk
+ $(CC) $(CFLAGS) -o $(top_builddir)/arithchk $< || \
+ $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(top_builddir)/arithchk $<
+ $(top_builddir)/arithchk > $(top_builddir)/$@
+ rm -f $(top_builddir)/arithchk
gd_qnan.h: qnan.c arith.h
- $(CC) $(CFLAGS) -o $(srcdir)/qnan -I$(srcdir) $<
- $(srcdir)/qnan > $(srcdir)/$@
- rm -f $(srcdir)/qnan
+ $(CC) $(CFLAGS) -o $(top_builddir)/qnan -I$(top_builddir) $<
+ $(top_builddir)/qnan > $(top_builddir)/$@
+ rm -f $(top_builddir)/qnan
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: