1 # It is not a good idea for particlar targets to do peculiar things with ALL.
3 #ALL = Makefile start.encap libgcc.a
4 EXTRA_PASSES = mips-tfile mips-tdump ld
6 LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -G 0
7 CONFIG2_H = $(srcdir)/config/mips.h
9 # Add additional dependencies to recompile selected modules whenever the
10 # tm.h file changes. The files compiled are:
12 # gcc.c (*_SPEC changes)
13 # toplev.c (new switches + assembly output changes)
14 # sdbout.c (debug format changes)
15 # dbxout.c (debug format changes)
16 # dwarfout.c (debug format changes)
17 # final.c (assembly output changes)
18 # varasm.c (assembly output changes)
19 # cse.c (cost functions)
20 # insn-output.c (possible ifdef changes in tm.h)
21 # regclass.c (fixed/call used register changes)
22 # cccp.c (new preprocessor macros, -v version #)
23 # explow.c (GO_IF_LEGITIMATE_ADDRESS)
24 # recog.c (GO_IF_LEGITIMATE_ADDRESS)
25 # reload.c (GO_IF_LEGITIMATE_ADDRESS)
28 toplev.o: $(CONFIG2_H)
29 sdbout.o: $(CONFIG2_H)
30 dbxout.o: $(CONFIG2_H)
31 dwarfout.o: $(CONFIG2_H)
33 varasm.o: $(CONFIG2_H)
35 insn-output.o: $(CONFIG2_H)
36 regclass.o: $(CONFIG2_H)
38 explow.o: $(CONFIG2_H)
40 reload.o: $(CONFIG2_H)
42 mips-tfile: mips-tfile.o version.o $(LIBDEPS)
43 $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
45 mips-tfile.o : mips-tfile.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H)
47 mips-tdump: mips-tdump.o version.o $(LIBDEPS)
48 $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tdump mips-tdump.o version.o $(LIBS)
50 mips-tdump.o : mips-tdump.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H)