]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libdecnumber/Makefile.in
* Makefile.in (decimal32.o): Prepend $(srcdir) to dependencies
[thirdparty/gcc.git] / libdecnumber / Makefile.in
index 730e1eb43fa5e2dba0137478aaa03f2a45486cb5..7e0b6acfd54c505dfe907095a7ce9511ac44fbbf 100644 (file)
@@ -50,23 +50,21 @@ libdir = @libdir@
 localedir = $(datadir)/locale
 prefix = @prefix@
 
+ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
+
 enable_decimal_float= @enable_decimal_float@
 
 INCLUDES = -I$(srcdir) -I.
 
 ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
 
-libdecnumber_a_OBJS = decNumber.o decContext.o decUtility.o \
-       decimal32.o decimal64.o decimal128.o
+bid_OBJS = bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o host-ieee128.o
 
-ifeq ($(enable_decimal_float),bid)
-libdecnumber_a_OBJS+=bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o \
-       host-ieee128.o
-endif
+libdecnumber_a_OBJS = decNumber.o decContext.o \
+       decimal32.o decimal64.o decimal128.o $(ADDITIONAL_OBJS)
 
 libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
        decNumber.c decNumber.h decNumberLocal.h \
-       decUtility.c decUtility.h \
        dpd/decimal128.c dpd/decimal128.h \
        dpd/decimal32.c dpd/decimal32.h \
        dpd/decimal64.c dpd/decimal64.h \
@@ -113,28 +111,34 @@ $(srcdir)/config.in: @MAINT@ $(srcdir)/configure
 
 # Dependencies.
 
-decContext.o: decContext.c decContext.h decNumberLocal.h
-decNumber.o:  decNumber.c decNumber.h decContext.h decNumberLocal.h
-decimal32.o:  $(enable_decimal_float)/decimal32.c \
-   $(enable_decimal_float)/decimal32.h \
-   decNumber.h decContext.h decNumberLocal.h decUtility.h
-       $(COMPILE) $<
-decimal64.o:  $(enable_decimal_float)/decimal64.c \
-   $(enable_decimal_float)/decimal64.h \
-   decNumber.h decContext.h decNumberLocal.h decUtility.h
-       $(COMPILE) $<
-decimal128.o:  $(enable_decimal_float)/decimal128.c \
-   $(enable_decimal_float)/decimal128.h \
-   decNumber.h decContext.h decNumberLocal.h decUtility.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) $<
+decContext.o: decContext.c decContext.h decNumberLocal.h \
+       decContextSymbols.h
+decNumber.o:  decNumber.c decNumber.h decContext.h decNumberLocal.h \
+       decNumberSymbols.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) $(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) $(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) $(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: