summaryrefslogtreecommitdiff
path: root/gdtoa/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-17 02:56:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:35 -0400
commite43f54f24936a0fd93ae9dba8a163982ede0e1ab (patch)
tree49524c2bccb740f362c25eebce6c7808e8a74222 /gdtoa/Makefile.am
parente7f9486f6e524947a29b8e7d20bc834a240a3b23 (diff)
downloadfork-ledger-e43f54f24936a0fd93ae9dba8a163982ede0e1ab.tar.gz
fork-ledger-e43f54f24936a0fd93ae9dba8a163982ede0e1ab.tar.bz2
fork-ledger-e43f54f24936a0fd93ae9dba8a163982ede0e1ab.zip
Started adding commodity tests
Diffstat (limited to 'gdtoa/Makefile.am')
-rw-r--r--gdtoa/Makefile.am17
1 files changed, 8 insertions, 9 deletions
diff --git a/gdtoa/Makefile.am b/gdtoa/Makefile.am
index 1ff9dea3..2ea0ab3b 100644
--- a/gdtoa/Makefile.am
+++ b/gdtoa/Makefile.am
@@ -1,6 +1,6 @@
lib_LTLIBRARIES = libgdtoa.la
-libgdtoa_la_CPPFLAGS = -I$(includedir)
+libgdtoa_la_CPPFLAGS = -I$(srcdir)
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,16 +14,15 @@ EXTRA_libgdtoa_la_SOURCES = arithchk.c qnan.c
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
arith.h: arithchk.c
- mkdir -p $(includedir)
- $(CC) $(CFLAGS) -o $(prefix)/arithchk $< || \
- $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(prefix)/arithchk $<
- $(prefix)/arithchk > $(includedir)/$@
- rm -f $(prefix)/arithchk
+ $(CC) $(CFLAGS) -o $(srcdir)/arithchk $< || \
+ $(CC) -DNO_LONG_LONG $(CFLAGS) -o $(srcdir)/arithchk $<
+ $(srcdir)/arithchk > $(srcdir)/$@
+ rm -f $(srcdir)/arithchk
gd_qnan.h: qnan.c arith.h
- $(CC) $(CFLAGS) -o $(prefix)/qnan -I$(includedir) $<
- $(prefix)/qnan > $(includedir)/$@
- rm -f $(prefix)/qnan
+ $(CC) $(CFLAGS) -o $(srcdir)/qnan -I$(srcdir) $<
+ $(srcdir)/qnan > $(srcdir)/$@
+ rm -f $(srcdir)/qnan
libgdtoa_la_LDFLAGS = -release 1.0