Subversion Repositories Spectranet

[/] [branches/] [gnubinutils/] [rom/] [Makefile] - Blame information for rev 384

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 383 winston
MAP2SYM = ../buildtools/map2sym
2
 
3 384 winston
P0OBJS = zeropage.o reset.o trapdispatch.o w5100_ifconfig.o w5100_genintfunc.o w5100_buffer.o w5100_sockalloc.o w5100_sockctrl.o w5100_rxtx.o dns.o utility.o ui_input.o ui_output_stub.o progtrap.o basicextn.o pagealloc.o vfs.o w5100_sockinfo.o
4
P0OUT = page0.bin
5
P0LDFLAGS = -T page0.ld -Map $(P0OUT).map -L ../syslib
6
P0LIBS = -lpager
7
 
8
P1OBJS = ui_charset.o ui_keyscan.o ui_output.o ui_lookup.o
9 382 winston
P1OUT = page1.bin
10 383 winston
P1LDFLAGS = -T page1.ld -Map $(P1OUT).map
11 382 winston
 
12
P2OBJS = utilromvectors.o utility_impl.o utilnmi.o save7ffd.o utilnmi_en.o
13
P2OUT = page2.bin
14 383 winston
P2LDFLAGS = -T ../modules/modules.ld -Map $(P2OUT).map -L ../syslib
15 382 winston
P2LIBS = -lromui
16
 
17 381 winston
P3OBJS = tnfs_vectors.o tnfs_init.o tnfs_core.o tnfs_mount.o tnfs_file.o tnfs_directory.o inetinit.o dhcpclient.o dhcp_data.o basstart.o startmsg.o
18
P3OUT = page3.bin
19 383 winston
P3LDFLAGS = -T ../modules/modules.ld -Map $(P3OUT).map
20 382 winston
 
21
MODMANOBJS = romconfigmain.o romconfstrings_en.o
22
MODMANOUT = modman.bin
23 383 winston
MODMANLDFLAGS = -T modman.ld -L ../syslib -Map $(MODMANOUT).map
24 382 winston
MODMANLIBS = -lromui -lflashwrite
25
 
26 384 winston
JPTABLEOBJS = jumptable.o
27
JPTABLEOUT = jumptable.bin
28
JPTABLELDFLAGS = -Ttext 0x0000
29
 
30 381 winston
DATEFILE = date.xinc
31
VERFILE = ver.xinc
32 383 winston
P3SYMS = page3.xinc
33
P2SYMS = page2.xinc
34
P1SYMS = page1.xinc
35 384 winston
P0SYMS = page0.xinc
36 381 winston
 
37 384 winston
all:    page0 page1 page2 page3 jptable
38 381 winston
 
39 384 winston
page0:  ver p1syms p2syms p3syms $(P0OBJS)
40
        $(LD) -o $(P0OUT) $(P0OBJS) $(P0LDFLAGS) $(P0LIBS)
41
 
42 383 winston
page1:  $(P1OBJS)
43
        $(LD) -o $(P1OUT) $(P1OBJS) $(P1LDFLAGS) $(P1LIBS)
44
 
45
page2:  modman $(P2OBJS)
46
        $(LD) -o $(P2OUT) $(P2OBJS) $(P2LDFLAGS) $(P2LIBS)
47
 
48 381 winston
page3:  date ver $(P3OBJS)
49 383 winston
        $(LD) -o $(P3OUT) $(P3OBJS) $(P3LDFLAGS) $(P3LIBS)
50 381 winston
 
51 382 winston
modman: $(MODMANOBJS)
52
        $(LD) -o $(MODMANOUT) $(MODMANOBJS) $(MODMANLDFLAGS) $(MODMANLIBS)
53
 
54 384 winston
jptable:        p0syms $(JPTABLEOBJS)
55
        $(LD) -o $(JPTABLEOUT) $(JPTABLEOBJS) $(JPTABLELDFLAGS)
56
 
57 381 winston
date:   $(DATEFILE)
58
$(DATEFILE):
59
        echo "blddate: defb \"`date`\",0x0a,0" > $(DATEFILE)
60
 
61
ver:    $(VERFILE)
62
$(VERFILE):
63
        echo "bldstr: defb \"gnubinutils\",0x0a,0" > $(VERFILE)
64
 
65 384 winston
p0syms: page0 $(P0SYMS)
66
$(P0SYMS):
67
        $(MAP2SYM) $(P0OUT).map $(P0SYMS)
68
 
69 383 winston
p1syms: page1 $(P1SYMS)
70 384 winston
$(P1SYMS):
71 383 winston
        $(MAP2SYM) $(P1OUT).map $(P1SYMS)
72
 
73
p2syms: page2 $(P2SYMS)
74
$(P2SYMS):
75
        $(MAP2SYM) $(P2OUT).map $(P2SYMS)
76
 
77
p3syms: page3 $(P3SYMS)
78
$(P3SYMS):
79
        $(MAP2SYM) $(P3OUT).map $(P3SYMS)
80
 
81 381 winston
include ../make.inc