1 |
EE_BIN = BOOT.ELF |
2 |
EE_OBJS = main.o pad.o config.o elf.o draw.o loader.o filer.o cd.o\ |
3 |
poweroff.o iomanx.o filexio.o ps2atad.o ps2dev9.o smsutils.o ps2ip.o\ |
4 |
ps2smap.o ps2hdd.o ps2fs.o ps2netfs.o usbd.o usbhdfsd.o\ |
5 |
cdvd.o ps2ftpd.o ps2host.o vmcfs.o fakehost.o ps2kbd.o\ |
6 |
hdd.o hdl_rpc.o hdl_info.o editor.o timer.o jpgviewer.o icon.o lang.o\ |
7 |
font_uLE.o makeicon.o chkesr_rpc.o chkesr.o |
8 |
|
9 |
EE_INCS := -I$(PS2DEV)/gsKit/include -I$(PS2DEV)/libjpg/include\ |
10 |
-I$(PS2SDK)/sbv/include -I$(PS2DEV)/libcdvd/ee |
11 |
|
12 |
EE_LDFLAGS := -L$(PS2DEV)/gsKit/lib -L$(PS2DEV)/libjpg\ |
13 |
-L$(PS2SDK)/sbv/lib -L$(PS2DEV)/libcdvd/lib -s |
14 |
EE_LIBS = -lpad -lgskit -ldmakit -ljpg -lmc -lhdd -lcdvdfs -lkbd -lmf -lc -lfileXio -lpatches -lpoweroff -ldebug -lc |
15 |
|
16 |
all: $(EE_BIN) |
17 |
|
18 |
run: all |
19 |
ps2client -h 192.168.0.10 -t 1 execee host:BOOT.ELF |
20 |
reset: clean |
21 |
ps2client -h 192.168.0.10 reset |
22 |
|
23 |
usbd.s: |
24 |
bin2s $(PS2SDK)/iop/irx/usbd.irx usbd.s usbd_irx |
25 |
|
26 |
usbhdfsd.s: |
27 |
bin2s $(PS2DEV)/usbhdfsd/bin/usbhdfsd.irx usbhdfsd.s usb_mass_irx |
28 |
|
29 |
cdvd.s: |
30 |
bin2s $(PS2DEV)/libcdvd/lib/cdvd.irx cdvd.s cdvd_irx |
31 |
|
32 |
poweroff.s: |
33 |
bin2s $(PS2SDK)/iop/irx/poweroff.irx poweroff.s poweroff_irx |
34 |
|
35 |
iomanx.s: |
36 |
bin2s $(PS2SDK)/iop/irx/iomanX.irx iomanx.s iomanx_irx |
37 |
|
38 |
filexio.s: |
39 |
bin2s $(PS2SDK)/iop/irx/fileXio.irx filexio.s filexio_irx |
40 |
|
41 |
ps2dev9.s: |
42 |
bin2s $(PS2SDK)/iop/irx/ps2dev9.irx ps2dev9.s ps2dev9_irx |
43 |
|
44 |
ps2ip.s: |
45 |
bin2s $(PS2DEV)/SMS/drv/SMSTCPIP/bin/SMSTCPIP.irx ps2ip.s ps2ip_irx |
46 |
|
47 |
ps2smap.s: |
48 |
bin2s $(PS2DEV)/SMS/drv/SMSMAP/SMSMAP.irx ps2smap.s ps2smap_irx |
49 |
|
50 |
smsutils.s: |
51 |
bin2s $(PS2DEV)/SMS/drv/SMSUTILS/SMSUTILS.irx smsutils.s smsutils_irx |
52 |
|
53 |
ps2ftpd.s: |
54 |
bin2s $(PS2DEV)/ps2ftpd/bin/ps2ftpd.irx ps2ftpd.s ps2ftpd_irx |
55 |
|
56 |
ps2atad.s: |
57 |
bin2s $(PS2SDK)/iop/irx/ps2atad.irx ps2atad.s ps2atad_irx |
58 |
|
59 |
ps2hdd.s: |
60 |
bin2s $(PS2SDK)/iop/irx/ps2hdd.irx ps2hdd.s ps2hdd_irx |
61 |
|
62 |
ps2fs.s: |
63 |
bin2s $(PS2SDK)/iop/irx/ps2fs.irx ps2fs.s ps2fs_irx |
64 |
|
65 |
ps2netfs.s: |
66 |
bin2s $(PS2SDK)/iop/irx/ps2netfs.irx ps2netfs.s ps2netfs_irx |
67 |
|
68 |
fakehost.s: |
69 |
bin2s $(PS2SDK)/iop/irx/fakehost.irx fakehost.s fakehost_irx |
70 |
|
71 |
hdl_info.s: |
72 |
$(MAKE) -C hdl_info |
73 |
bin2s hdl_info/hdl_info.irx hdl_info.s hdl_info_irx |
74 |
|
75 |
ps2host.s: |
76 |
$(MAKE) -C ps2host |
77 |
bin2s ps2host/ps2host.irx ps2host.s ps2host_irx |
78 |
|
79 |
vmcfs.s: |
80 |
$(MAKE) -C vmcfs |
81 |
bin2s vmcfs/bin/vmcfs.irx vmcfs.s vmcfs_irx |
82 |
|
83 |
loader.s: |
84 |
$(MAKE) -C loader |
85 |
bin2s loader/loader.elf loader.s loader_elf |
86 |
|
87 |
ps2kbd.s: |
88 |
bin2s $(PS2SDK)/iop/irx/ps2kbd.irx ps2kbd.s ps2kbd_irx |
89 |
|
90 |
chkesr.s: |
91 |
$(MAKE) -C chkesr |
92 |
bin2s chkesr/chkesr.irx chkesr.s chkesr_irx |
93 |
|
94 |
clean: |
95 |
$(MAKE) -C hdl_info clean |
96 |
$(MAKE) -C ps2host clean |
97 |
$(MAKE) -C loader clean |
98 |
$(MAKE) -C vmcfs clean |
99 |
$(MAKE) -C chkesr clean |
100 |
rm -f *.o *.a *.s BOOT.ELF |
101 |
|
102 |
include $(PS2SDK)/samples/Makefile.pref |
103 |
include $(PS2SDK)/samples/Makefile.eeglobal |