OSDN Git Service

*** empty log message ***
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / t-mips
1 # It is not a good idea for particlar targets to do peculiar things with ALL.
2 # --rms.
3 #ALL            = Makefile start.encap libgcc.a
4 EXTRA_PASSES    = mips-tfile mips-tdump ld
5 CCLIBFLAGS      = -O -G 0
6 LIBGCC2_CFLAGS  = -O2 $(GCC_CFLAGS) -g1 -G 0
7 CONFIG2_H       = $(srcdir)/config/mips.h
8
9 # Add additional dependencies to recompile selected modules whenever the
10 # tm.h file changes.  The files compiled are:
11 #
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)
26
27 gcc.o: $(CONFIG2_H)
28 toplev.o: $(CONFIG2_H)
29 sdbout.o: $(CONFIG2_H)
30 dbxout.o: $(CONFIG2_H)
31 dwarfout.o: $(CONFIG2_H)
32 final.o: $(CONFIG2_H)
33 varasm.o: $(CONFIG2_H)
34 cse.o: $(CONFIG2_H)
35 insn-output.o: $(CONFIG2_H)
36 regclass.o: $(CONFIG2_H)
37 cccp.o: $(CONFIG2_H)
38 explow.o: $(CONFIG2_H)
39 recog.o: $(CONFIG2_H)
40 reload.o: $(CONFIG2_H)
41
42 mips-tfile: mips-tfile.o version.o $(LIBDEPS)
43         $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
44
45 mips-tfile.o : mips-tfile.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H)
46
47 mips-tdump: mips-tdump.o version.o $(LIBDEPS)
48         $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tdump mips-tdump.o version.o $(LIBS)
49
50 mips-tdump.o : mips-tdump.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H)
51
52 # Build collect
53
54 ld: collect2
55         rm -f ld
56         ln collect2 ld