Commit | Line | Data |
---|---|---|
ea838f99 SS |
1 | # Makefile fragment for GAS. |
2 | ||
3 | s = "{srcdir}" | |
4 | ||
5 | o = : | |
6 | ||
7 | C = C -d MPW_C | |
8 | ||
9 | CROSS = -d CROSS_COMPILE | |
10 | ||
6d15011d | 11 | CFLAGS = -w -mc68020 -mc68881 -model far {CROSS} -d MPW -d TARGET_BYTES_BIG_ENDIAN -d BFD_ASSEMBLER -i "{topsrcdir}"include: -i "{topsrcdir}"bfd:,"{srcdir}",::bfd: |
ea838f99 SS |
12 | # debug options: -mbg on -sym on |
13 | ||
0f8cb88d | 14 | "{o}" \Option-f : "{s}" |
ea838f99 SS |
15 | |
16 | # Default rule that puts each file into separate segment. | |
17 | ||
0f8cb88d | 18 | .c.o \Option-f .c |
ea838f99 SS |
19 | {C} {DepDir}{Default}.c {CFLAGS} {SymOptions} -s gas-{Default} -o {TargDir}{Default}.c.o |
20 | ||
0f8cb88d SS |
21 | OBJECTS = \Option-d |
22 | "{o}"app.c.o \Option-d | |
23 | "{o}"as.c.o \Option-d | |
24 | "{o}"atof-generic.c.o \Option-d | |
25 | "{o}"bignum-copy.c.o \Option-d | |
26 | "{o}"cond.c.o \Option-d | |
27 | "{o}"expr.c.o \Option-d | |
28 | "{o}"flonum-konst.c.o \Option-d | |
29 | "{o}"flonum-copy.c.o \Option-d | |
30 | "{o}"flonum-mult.c.o \Option-d | |
31 | "{o}"frags.c.o \Option-d | |
32 | "{o}"hash.c.o \Option-d | |
33 | "{o}"hex-value.c.o \Option-d | |
34 | "{o}"input-file.c.o \Option-d | |
35 | "{o}"input-scrub.c.o \Option-d | |
36 | "{o}"listing.c.o \Option-d | |
37 | "{o}"messages.c.o \Option-d | |
38 | "{o}"output-file.c.o \Option-d | |
39 | "{o}"read.c.o \Option-d | |
40 | "{o}"stabs.c.o \Option-d | |
41 | "{o}"subsegs.c.o \Option-d | |
42 | "{o}"symbols.c.o \Option-d | |
43 | "{o}"write.c.o \Option-d | |
44 | "{o}"ecoff.c.o \Option-d | |
45 | "{o}"xmalloc.c.o \Option-d | |
ea838f99 SS |
46 | |
47 | INCLUDES = | |
48 | # host.h | |
49 | #"{s}".h | |
50 | ||
0f8cb88d | 51 | all \Option-f as.new |
ea838f99 | 52 | |
0f8cb88d SS |
53 | as.new \Option-f\Option-f {OBJECTS} "{o}"obj-format.c.o "{o}"targ-cpu.c.o "{o}"atof-targ.c.o \Option-d |
54 | ::libiberty:libiberty.o \Option-d | |
55 | ::bfd:libbfd.o \Option-d | |
ea838f99 | 56 | ::opcodes:libopcodes.o |
0f8cb88d SS |
57 | Link -d -model far -c 'MPS ' -t MPST \Option-d |
58 | {OBJECTS} \Option-d | |
59 | "{o}"obj-format.c.o "{o}"targ-cpu.c.o "{o}"atof-targ.c.o \Option-d | |
60 | ::libiberty:libiberty.o \Option-d | |
61 | ::bfd:libbfd.o \Option-d | |
62 | ::opcodes:libopcodes.o \Option-d | |
63 | #"{CLibraries}"CSANELib.o \Option-d | |
64 | #"{CLibraries}"Math.o \Option-d | |
65 | #"{CLibraries}"Complex.o \Option-d | |
66 | "{CLibraries}"StdClib.o \Option-d | |
67 | "{Libraries}"Stubs.o \Option-d | |
68 | "{Libraries}"Runtime.o \Option-d | |
69 | "{Libraries}"Interface.o \Option-d | |
70 | #"{Libraries}"ToolLibs.o \Option-d | |
ea838f99 SS |
71 | -o as.new |
72 | ||
0f8cb88d SS |
73 | "{o}"app.c.o \Option-f "{s}"app.c {INCLUDES} |
74 | "{o}"as.c.o \Option-f "{s}"as.c {INCLUDES} | |
75 | "{o}"atof-generic.c.o \Option-f "{s}"atof-generic.c {INCLUDES} | |
76 | "{o}"bifnum-copy.c.o \Option-f "{s}"bignum-copy.c {INCLUDES} | |
77 | "{o}"cond.c.o \Option-f "{s}"cond.c {INCLUDES} | |
78 | "{o}"expr.c.o \Option-f "{s}"expr.c {INCLUDES} | |
79 | "{o}"flonum-konst.c.o \Option-f "{s}"flonum-konst.c {INCLUDES} | |
80 | "{o}"flonum-copy.c.o \Option-f "{s}"flonum-copy.c {INCLUDES} | |
81 | "{o}"flonum-mult.c.o \Option-f "{s}"flonum-mult.c {INCLUDES} | |
82 | "{o}"frags.c.o \Option-f "{s}"frags.c {INCLUDES} | |
83 | "{o}"hash.c.o \Option-f "{s}"hash.c {INCLUDES} | |
84 | "{o}"hex-value.c.o \Option-f "{s}"hex-value.c {INCLUDES} | |
85 | "{o}"input-file.c.o \Option-f "{s}"input-file.c {INCLUDES} | |
86 | "{o}"input-scrub.c.o \Option-f "{s}"input-scrub.c {INCLUDES} | |
87 | "{o}"listing.c.o \Option-f "{s}"listing.c {INCLUDES} | |
88 | "{o}"messages.c.o \Option-f "{s}"messages.c {INCLUDES} | |
89 | "{o}"output-file.c.o \Option-f "{s}"output-file.c {INCLUDES} | |
90 | "{o}"read.c.o \Option-f "{s}"read.c {INCLUDES} | |
91 | "{o}"subsegs.c.o \Option-f "{s}"subsegs.c {INCLUDES} | |
92 | "{o}"symbols.c.o \Option-f "{s}"symbols.c {INCLUDES} | |
93 | "{o}"write.c.o \Option-f "{s}"write.c {INCLUDES} | |
94 | "{o}"ecoff.c.o \Option-f "{s}"ecoff.c {INCLUDES} | |
95 | "{o}"xmalloc.c.o \Option-f "{s}"xmalloc.c {INCLUDES} |