From 5584c8417c5230ab0aae1ab7ecb3f681f65c0c42 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 4 Dec 2007 22:54:32 +0000 Subject: 2007-11-26 Thiago Jung Bauermann * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies and substitute $< for the source file in compilation command. (decimal64.o): Likewise. (decimal128.o): Likewise. (bid2dpd_dpd2bid.o): Likewise. (host-ieee32.o): Likewise. (host-ieee64.o): Likewise. (host-ieee128.o): Likewise. --- libdecnumber/ChangeLog | 11 +++++++++++ libdecnumber/Makefile.in | 42 +++++++++++++++++++++--------------------- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index 162b762..939e00e 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,14 @@ +2007-11-26 Thiago Jung Bauermann + + * Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies + and substitute $< for the source file in compilation command. + (decimal64.o): Likewise. + (decimal128.o): Likewise. + (bid2dpd_dpd2bid.o): Likewise. + (host-ieee32.o): Likewise. + (host-ieee64.o): Likewise. + (host-ieee128.o): Likewise. + 2007-10-31 Thiago Jung Bauermann * configure.ac: Add ADDITIONAL_OBJS variable. diff --git a/libdecnumber/Makefile.in b/libdecnumber/Makefile.in index a2134da..7e0b6ac 100644 --- a/libdecnumber/Makefile.in +++ b/libdecnumber/Makefile.in @@ -115,30 +115,30 @@ decContext.o: decContext.c decContext.h decNumberLocal.h \ decContextSymbols.h decNumber.o: decNumber.c decNumber.h decContext.h decNumberLocal.h \ decNumberSymbols.h -decimal32.o: $(enable_decimal_float)/decimal32.c \ - $(enable_decimal_float)/decimal32.h \ - $(enable_decimal_float)/decimal32Symbols.h \ +decimal32.o: $(srcdir)/$(enable_decimal_float)/decimal32.c \ + $(srcdir)/$(enable_decimal_float)/decimal32.h \ + $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \ decNumber.h decContext.h decNumberLocal.h - $(COMPILE) $< -decimal64.o: $(enable_decimal_float)/decimal64.c \ - $(enable_decimal_float)/decimal64.h \ - $(enable_decimal_float)/decimal64Symbols.h \ + $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c +decimal64.o: $(srcdir)/$(enable_decimal_float)/decimal64.c \ + $(srcdir)/$(enable_decimal_float)/decimal64.h \ + $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \ decNumber.h decContext.h decNumberLocal.h - $(COMPILE) $< -decimal128.o: $(enable_decimal_float)/decimal128.c \ - $(enable_decimal_float)/decimal128.h \ - $(enable_decimal_float)/decimal128Symbols.h\ - $(enable_decimal_float)/decimal128Local.h\ + $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c +decimal128.o: $(srcdir)/$(enable_decimal_float)/decimal128.c \ + $(srcdir)/$(enable_decimal_float)/decimal128.h \ + $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\ + $(srcdir)/$(enable_decimal_float)/decimal128Local.h\ decNumber.h decContext.h decNumberLocal.h - $(COMPILE) $< -bid2dpd_dpd2bid.o : bid/bid2dpd_dpd2bid.c bid/bid2dpd_dpd2bid.h - $(COMPILE) $< -host-ieee32.o : bid/host-ieee32.c bid/decimal32.h - $(COMPILE) $< -host-ieee64.o : bid/host-ieee64.c bid/decimal64.h - $(COMPILE) $< -host-ieee128.o : bid/host-ieee128.c bid/decimal128.h - $(COMPILE) $< + $(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c +bid2dpd_dpd2bid.o : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h + $(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c +host-ieee32.o : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h + $(COMPILE) $(srcdir)/bid/host-ieee32.c +host-ieee64.o : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h + $(COMPILE) $(srcdir)/bid/host-ieee64.c +host-ieee128.o : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h + $(COMPILE) $(srcdir)/bid/host-ieee128.c # Other miscellaneous targets. mostlyclean: -- cgit v1.1