Makefile.in (libbackend.o): Depend on version files; add custom generation command.

2005-03-26  Andrew Pinski  <pinskia@physics.uc.edu>

        * Makefile.in (libbackend.o): Depend on version files;
        add custom generation command.

From-SVN: r97086
This commit is contained in:
Andrew Pinski 2005-03-26 22:23:08 +00:00 committed by Andrew Pinski
parent 9486db4fb6
commit f2c7956853
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-03-26 Andrew Pinski <pinskia@physics.uc.edu>
* Makefile.in (libbackend.o): Depend on version files;
add custom generation command.
2005-03-26 Andrew Pinski <pinskia@physics.uc.edu>
PR target/20636

View file

@ -2227,11 +2227,13 @@ mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h $(TM_H)
# FIXME: writing proper dependencies for this is a *LOT* of work.
libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
insn-config.h insn-flags.h insn-codes.h insn-constants.h \
insn-attr.h
insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-DTARGET_NAME=\"$(target_noncanonical)\" \
-DLOCALEDIR=\"$(localedir)\" \
-c $(filter %.c,$^) -o $@ -combine
-c $(filter %.c,$^) -o $@ \
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
-DDEVPHASE=$(DEVPHASE_s) -combine
#
# Generate header and source files from the machine description,