forked from ps2homebrew/Open-PS2-Loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·624 lines (496 loc) · 17.3 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
.SILENT:
# How to DEBUG?
# Simply type "make <debug mode>" to build OPL with the necessary debugging functionality.
# Debug modes:
# debug - UI-side debug mode (UDPTTY)
# iopcore_debug - UI-side + iopcore debug mode (UDPTTY).
# ingame_debug - UI-side + in-game debug mode. IOP core modules will not be built as debug versions (UDPTTY).
# eesio_debug - UI-side + eecore debug mode (EE SIO)
# deci2_debug - UI-side + in-game DECI2 debug mode (EE-side only).
# I want to build a CHILDPROOF edition! How do I do that?
# Type "make childproof" to build one.
# Non-childproof features like GSM will not be available.
# ======== START OF CONFIGURABLE SECTION ========
# You can adjust the variables in this section to meet your needs.
# To enable a feature, set its variable's value to 1. To disable, change it to 0.
# Do not COMMENT out the variables!!
#Enables/disables Virtual Memory Card (VMC) support
VMC = 0
#Enables/disables Right-To-Left (RTL) language support
RTL = 0
#Enables/disables Graphics Synthesizer Mode (GSM) selector
GSM = 0
#Enables/disables In Game Screenshot (IGS). NB: It depends on GSM and IGR to work
IGS = 0
#Enables/disables the cheat engine (PS2RD)
CHEAT = 0
#Enables/disables building of an edition of OPL that will support the DTL-T10000 (SDK v2.3+)
DTL_T10000 = 0
#Nor stripping neither compressing binary ELF after compiling.
NOT_PACKED = 0
# ======== END OF CONFIGURABLE SECTION. DO NOT MODIFY VARIABLES AFTER THIS POINT!! ========
DEBUG = 0
EESIO_DEBUG = 0
INGAME_DEBUG = 0
DECI2_DEBUG = 0
CHILDPROOF = 0
FRONTEND_OBJS = obj/pad.o obj/fntsys.o obj/renderman.o obj/menusys.o obj/OSDHistory.o obj/system.o obj/lang.o obj/config.o obj/hdd.o obj/dialogs.o \
obj/dia.o obj/ioman.o obj/texcache.o obj/themes.o obj/supportbase.o obj/usbsupport.o obj/ethsupport.o obj/hddsupport.o \
obj/appsupport.o obj/gui.o obj/textures.o obj/opl.o obj/atlas.o obj/nbns.o obj/httpclient.o
GFX_OBJS = obj/usb_icon.o obj/hdd_icon.o obj/eth_icon.o obj/app_icon.o \
obj/cross_icon.o obj/triangle_icon.o obj/circle_icon.o obj/square_icon.o obj/select_icon.o obj/start_icon.o \
obj/left_icon.o obj/right_icon.o obj/up_icon.o obj/down_icon.o obj/L1_icon.o obj/L2_icon.o obj/R1_icon.o obj/R2_icon.o \
obj/load0.o obj/load1.o obj/load2.o obj/load3.o obj/load4.o obj/load5.o obj/load6.o obj/load7.o obj/logo.o obj/bg_overlay.o obj/freesans.o \
obj/icon_sys.o obj/icon_icn.o
MISC_OBJS = obj/icon_sys_A.o obj/icon_sys_J.o
IOP_OBJS = obj/iomanx.o obj/filexio.o obj/ps2fs.o obj/usbd.o obj/usbhdfsd.o obj/usbhdfsdfsv.o \
obj/ps2atad.o obj/hdpro_atad.o obj/poweroff.o obj/ps2hdd.o obj/genvmc.o obj/hdldsvr.o \
obj/ps2dev9.o obj/smsutils.o obj/ps2ip.o obj/smap.o obj/isofs.o obj/nbns-iop.o \
obj/httpclient-iop.o obj/netman.o obj/ps2ips.o
EECORE_OBJS = obj/ee_core.o obj/ioprp.o obj/util.o \
obj/elfldr.o obj/udnl.o obj/imgdrv.o obj/eesync.o \
obj/usb_cdvdman.o obj/IOPRP_img.o obj/smb_cdvdman.o \
obj/hdd_cdvdman.o obj/hdd_hdpro_cdvdman.o obj/cdvdfsv.o \
obj/ingame_smstcpip.o obj/smap_ingame.o obj/smbman.o obj/smbinit.o
EE_BIN = opl.elf
EE_BIN_PKD = OPNPS2LD.ELF
EE_SRC_DIR = src/
EE_OBJS_DIR = obj/
EE_ASM_DIR = asm/
EE_OBJS = $(FRONTEND_OBJS) $(GFX_OBJS) $(MISC_OBJS) $(EECORE_OBJS) $(IOP_OBJS)
MAPFILE = opl.map
EE_LDFLAGS += -Wl,-Map,$(MAPFILE)
EE_LIBS = -L$(PS2SDK)/ports/lib -L$(GSKIT)/lib -L./lib -lgskit -ldmakit -lgskit_toolkit -lpoweroff -lfileXio -lpatches -ljpeg -lpng -lz -ldebug -lm -lmc -lfreetype -lvux -lcdvd -lnetman -lps2ips
EE_INCS += -I$(PS2SDK)/ports/include -I$(GSKIT)/include -I$(GSKIT)/ee/dma/include -I$(GSKIT)/ee/gs/include -I$(GSKIT)/ee/toolkit/include -Imodules/iopcore/common -Imodules/network/common -Imodules/hdd/common -Iinclude
BIN2C = $(PS2SDK)/bin/bin2c
BIN2S = $(PS2SDK)/bin/bin2s
BIN2O = $(PS2SDK)/bin/bin2o
# WARNING: Only extra spaces are allowed and ignored at the beginning of the conditional directives (ifeq, ifneq, ifdef, ifndef, else and endif)
# but a tab is not allowed; if the line begins with a tab, it will be considered part of a recipe for a rule!
ifeq ($(VMC),1)
IOP_OBJS += obj/usb_mcemu.o obj/hdd_mcemu.o obj/smb_mcemu.o
EE_CFLAGS += -DVMC
VMC_FLAGS = VMC=1
else
VMC_FLAGS = VMC=0
endif
ifeq ($(RTL),1)
EE_CFLAGS += -D__RTL
endif
ifeq ($(DTL_T10000),1)
EE_CFLAGS += -D_DTL_T10000
EECORE_EXTRA_FLAGS += DTL_T10000=1
IOP_OBJS += obj/sio2man.o obj/padman.o obj/mcman.o obj/mcserv.o
EE_LIBS += -lpadx
else
EE_LIBS += -lpad
endif
ifeq ($(IGS),1)
GSM = 1
endif
ifeq ($(CHILDPROOF),0)
ifeq ($(GSM),1)
EE_CFLAGS += -DGSM
GSM_FLAGS = GSM=1
ifeq ($(IGS),1)
EE_CFLAGS += -DIGS
IGS_FLAGS = IGS=1
else
IGS_FLAGS = IGS=0
endif
else
GSM_FLAGS = GSM=0
IGS_FLAGS = IGS=0
endif
ifeq ($(CHEAT),1)
FRONTEND_OBJS += obj/cheatman.o
EE_CFLAGS += -DCHEAT
CHEAT_FLAGS = CHEAT=1
else
CHEAT_FLAGS = CHEAT=0
endif
else
EE_CFLAGS += -D__CHILDPROOF
GSM_FLAGS = GSM=0
IGS_FLAGS = IGS=0
CHEAT_FLAGS = CHEAT=0
endif
ifeq ($(DEBUG),1)
EE_CFLAGS += -D__DEBUG -g
EE_OBJS += obj/debug.o obj/udptty.o obj/ioptrap.o obj/ps2link.o
MOD_DEBUG_FLAGS = DEBUG=1
ifeq ($(IOPCORE_DEBUG),1)
EE_CFLAGS += -D__INGAME_DEBUG
EECORE_EXTRA_FLAGS = LOAD_DEBUG_MODULES=1
CDVDMAN_DEBUG_FLAGS = IOPCORE_DEBUG=1
MCEMU_DEBUG_FLAGS = IOPCORE_DEBUG=1
SMSTCPIP_INGAME_CFLAGS =
IOP_OBJS += obj/udptty-ingame.o
else ifeq ($(EESIO_DEBUG),1)
EE_CFLAGS += -D__EESIO_DEBUG
EECORE_EXTRA_FLAGS += EESIO_DEBUG=1
else ifeq ($(INGAME_DEBUG),1)
EE_CFLAGS += -D__INGAME_DEBUG
EECORE_EXTRA_FLAGS = LOAD_DEBUG_MODULES=1
CDVDMAN_DEBUG_FLAGS = USE_DEV9=1
SMSTCPIP_INGAME_CFLAGS =
ifeq ($(DECI2_DEBUG),1)
EE_CFLAGS += -D__DECI2_DEBUG
EECORE_EXTRA_FLAGS += DECI2_DEBUG=1
IOP_OBJS += obj/drvtif_irx.o obj/tifinet_irx.o
DECI2_DEBUG=1
else
IOP_OBJS += obj/udptty-ingame.o
endif
endif
else
EE_CFLAGS += -O2
SMSTCPIP_INGAME_CFLAGS = INGAME_DRIVER=1
endif
all:
@mkdir -p obj
@mkdir -p asm
echo "Building Open PS2 Loader..."
echo "-Interface"
$(MAKE) $(EE_BIN)
ifeq ($(DEBUG),0)
ifeq ($(NOT_PACKED),0)
echo "Stripping..."
ee-strip $(EE_BIN)
echo "Compressing..."
ps2-packer $(EE_BIN) $(EE_BIN_PKD) > /dev/null
endif
endif
childproof:
$(MAKE) CHILDPROOF=1 all
debug:
$(MAKE) DEBUG=1 all
iopcore_debug:
$(MAKE) DEBUG=1 IOPCORE_DEBUG=1 all
eesio_debug:
$(MAKE) DEBUG=1 EESIO_DEBUG=1 all
ingame_debug:
$(MAKE) DEBUG=1 INGAME_DEBUG=1 all
deci2_debug:
$(MAKE) DEBUG=1 INGAME_DEBUG=1 DECI2_DEBUG=1 all
clean: sclean
sclean:
echo "Cleaning..."
echo "-Interface"
rm -f -r $(MAPFILE) $(EE_BIN) $(EE_BIN_PKD) $(EE_OBJS_DIR) $(EE_ASM_DIR)
echo "-EE core"
$(MAKE) -C ee_core clean
echo "-Elf Loader"
$(MAKE) -C elfldr clean
echo "-IOP core"
echo " -udnl-t300"
$(MAKE) -C modules/iopcore/udnl-t300 clean
echo " -udnl"
$(MAKE) -C modules/iopcore/udnl clean
echo " -imgdrv"
$(MAKE) -C modules/iopcore/imgdrv clean
echo " -eesync"
$(MAKE) -C modules/iopcore/eesync clean
echo " -cdvdman"
$(MAKE) -C modules/iopcore/cdvdman -f Makefile.usb clean
$(MAKE) -C modules/iopcore/cdvdman -f Makefile.smb clean
$(MAKE) -C modules/iopcore/cdvdman -f Makefile.hdd clean
$(MAKE) -C modules/iopcore/cdvdman -f Makefile.hdd.hdpro clean
echo " -cdvdfsv"
$(MAKE) -C modules/iopcore/cdvdfsv clean
echo " -isofs"
$(MAKE) -C modules/isofs clean
echo " -usbhdfsd"
$(MAKE) -C modules/usb/usbhdfsd clean
echo " -usbhdfsdfsv"
$(MAKE) -C modules/usb/usbhdfsdfsv clean
echo " -ps2dev9"
$(MAKE) -C modules/dev9 clean
echo " -SMSUTILS"
$(MAKE) -C modules/network/SMSUTILS clean
echo " -SMSTCPIP"
$(MAKE) -C modules/network/SMSTCPIP clean
echo " -in-game SMAP"
$(MAKE) -C modules/network/smap-ingame clean
echo " -smbinit"
$(MAKE) -C modules/network/smbinit clean
echo " -nbns"
$(MAKE) -C modules/network/nbns clean
echo " -httpclient"
$(MAKE) -C modules/network/httpclient clean
echo " -ps2atad"
$(MAKE) -C modules/hdd/atad clean
echo " -hdpro_atad"
$(MAKE) -C modules/hdd/hdpro_atad clean
echo " -ps2hdd"
$(MAKE) -C modules/hdd/apa clean
echo " -ps2fs"
$(MAKE) -C modules/hdd/pfs clean
echo " -mcemu"
$(MAKE) -C modules/mcemu -f Makefile.usb clean
$(MAKE) -C modules/mcemu -f Makefile.hdd clean
$(MAKE) -C modules/mcemu -f Makefile.smb clean
echo " -genvmc"
$(MAKE) -C modules/vmc/genvmc clean
echo " -hdldsvr"
$(MAKE) -C modules/hdd/hdldsvr clean
echo " -udptty"
$(MAKE) -C modules/debug/udptty clean
echo " -udptty-ingame"
$(MAKE) -C modules/debug/udptty-ingame clean
echo " -ioptrap"
$(MAKE) -C modules/debug/ioptrap clean
echo " -ps2link"
$(MAKE) -C modules/debug/ps2link clean
echo "-pc tools"
$(MAKE) -C pc clean
rebuild: clean all
pc_tools:
echo "Building iso2opl, opl2iso and genvmc..."
$(MAKE) _WIN32=0 -C pc
pc_tools_win32:
echo "Building WIN32 iso2opl, opl2iso and genvmc..."
$(MAKE) _WIN32=1 -C pc
ee_core.s:
echo "-EE core"
$(MAKE) $(PS2LOGO_FLAGS) $(VMC_FLAGS) $(GSM_FLAGS) $(IGS_FLAGS) $(CHEAT_FLAGS) $(EECORE_EXTRA_FLAGS) -C ee_core
$(BIN2S) ee_core/ee_core.elf asm/ee_core.s eecore_elf
elfldr.s:
echo "-Elf Loader"
$(MAKE) -C elfldr
$(BIN2S) elfldr/elfldr.elf asm/elfldr.s elfldr_elf
echo "-IOP core"
udnl.s:
ifeq ($(DTL_T10000),1)
echo " -udnl-t300"
$(MAKE) -C modules/iopcore/udnl-t300
$(BIN2S) modules/iopcore/udnl-t300/udnl.irx asm/udnl.s udnl_irx
else
echo " -udnl"
$(MAKE) -C modules/iopcore/udnl
$(BIN2S) modules/iopcore/udnl/udnl.irx asm/udnl.s udnl_irx
endif
imgdrv.s:
echo " -imgdrv"
$(MAKE) -C modules/iopcore/imgdrv
$(BIN2S) modules/iopcore/imgdrv/imgdrv.irx asm/imgdrv.s imgdrv_irx
eesync.s:
echo " -eesync"
$(MAKE) -C modules/iopcore/eesync
$(BIN2S) modules/iopcore/eesync/eesync.irx asm/eesync.s eesync_irx
usb_cdvdman.s:
echo " -usb_cdvdman"
$(MAKE) $(VMC_FLAGS) $(CDVDMAN_PS2LOGO_FLAGS) $(CDVDMAN_DEBUG_FLAGS) -C modules/iopcore/cdvdman -f Makefile.usb rebuild
$(BIN2S) modules/iopcore/cdvdman/cdvdman.irx asm/usb_cdvdman.s usb_cdvdman_irx
smb_cdvdman.s:
echo " -smb_cdvdman"
$(MAKE) $(VMC_FLAGS) $(CDVDMAN_PS2LOGO_FLAGS) $(CDVDMAN_DEBUG_FLAGS) -C modules/iopcore/cdvdman -f Makefile.smb rebuild
$(BIN2S) modules/iopcore/cdvdman/cdvdman.irx asm/smb_cdvdman.s smb_cdvdman_irx
hdd_cdvdman.s:
echo " -hdd_cdvdman"
$(MAKE) $(VMC_FLAGS) $(CDVDMAN_PS2LOGO_FLAGS) $(CDVDMAN_DEBUG_FLAGS) -C modules/iopcore/cdvdman -f Makefile.hdd rebuild
$(BIN2S) modules/iopcore/cdvdman/cdvdman.irx asm/hdd_cdvdman.s hdd_cdvdman_irx
hdd_hdpro_cdvdman.s:
echo " -hdd_hdpro_cdvdman"
$(MAKE) $(VMC_FLAGS) $(CDVDMAN_PS2LOGO_FLAGS) $(CDVDMAN_DEBUG_FLAGS) -C modules/iopcore/cdvdman -f Makefile.hdd.hdpro rebuild
$(BIN2S) modules/iopcore/cdvdman/cdvdman.irx asm/hdd_hdpro_cdvdman.s hdd_hdpro_cdvdman_irx
cdvdfsv.s:
echo " -cdvdfsv"
$(MAKE) -C modules/iopcore/cdvdfsv
$(BIN2S) modules/iopcore/cdvdfsv/cdvdfsv.irx asm/cdvdfsv.s cdvdfsv_irx
usb_mcemu.s:
echo " -usb_mcemu"
$(MAKE) $(MCEMU_DEBUG_FLAGS) -C modules/mcemu -f Makefile.usb rebuild
$(BIN2S) modules/mcemu/mcemu.irx asm/usb_mcemu.s usb_mcemu_irx
hdd_mcemu.s:
echo " -hdd_mcemu"
$(MAKE) $(MCEMU_DEBUG_FLAGS) -C modules/mcemu -f Makefile.hdd rebuild
$(BIN2S) modules/mcemu/mcemu.irx asm/hdd_mcemu.s hdd_mcemu_irx
smb_mcemu.s:
echo " -smb_mcemu"
$(MAKE) $(MCEMU_DEBUG_FLAGS) -C modules/mcemu -f Makefile.smb rebuild
$(BIN2S) modules/mcemu/mcemu.irx asm/smb_mcemu.s smb_mcemu_irx
isofs.s:
echo " -isofs"
$(MAKE) -C modules/isofs
$(BIN2S) modules/isofs/isofs.irx asm/isofs.s isofs_irx
usbd.s:
$(BIN2S) $(PS2SDK)/iop/irx/usbd.irx asm/usbd.s usbd_irx
usbhdfsd.s:
echo " -usbhdfsd"
$(MAKE) -C modules/usb/usbhdfsd
$(BIN2S) modules/usb/usbhdfsd/usbhdfsd.irx asm/usbhdfsd.s usbhdfsd_irx
usbhdfsdfsv.s:
echo " -usbhdfsdfsv"
$(MAKE) -C modules/usb/usbhdfsdfsv
$(BIN2S) modules/usb/usbhdfsdfsv/usbhdfsdfsv.irx asm/usbhdfsdfsv.s usbhdfsdfsv_irx
ps2dev9.s:
echo " -ps2dev9"
$(MAKE) -C modules/dev9
$(BIN2S) modules/dev9/ps2dev9.irx asm/ps2dev9.s ps2dev9_irx
smsutils.s:
echo " -SMSUTILS"
$(MAKE) -C modules/network/SMSUTILS
$(BIN2S) modules/network/SMSUTILS/SMSUTILS.irx asm/smsutils.s smsutils_irx
ps2ip.s:
$(BIN2S) $(PS2SDK)/iop/irx/ps2ip-nm.irx asm/ps2ip.s ps2ip_irx
ingame_smstcpip.s:
echo " -in-game SMSTCPIP"
$(MAKE) $(SMSTCPIP_INGAME_CFLAGS) -C modules/network/SMSTCPIP rebuild
$(BIN2S) modules/network/SMSTCPIP/SMSTCPIP.irx asm/ingame_smstcpip.s ingame_smstcpip_irx
smap_ingame.s:
echo " -in-game SMAP"
$(MAKE) -C modules/network/smap-ingame
$(BIN2S) modules/network/smap-ingame/smap.irx asm/smap_ingame.s smap_ingame_irx
smap.s:
$(BIN2S) $(PS2SDK)/iop/irx/smap.irx asm/smap.s smap_irx
netman.s:
$(BIN2S) $(PS2SDK)/iop/irx/netman.irx asm/netman.s netman_irx
ps2ips.s:
$(BIN2S) $(PS2SDK)/iop/irx/ps2ips.irx asm/ps2ips.s ps2ips_irx
smbman.s:
$(BIN2S) $(PS2SDK)/iop/irx/smbman.irx asm/smbman.s smbman_irx
smbinit.s:
echo " -smbinit"
$(MAKE) -C modules/network/smbinit
$(BIN2S) modules/network/smbinit/smbinit.irx asm/smbinit.s smbinit_irx
ps2atad.s:
echo " -ps2atad"
$(MAKE) -C modules/hdd/atad
$(BIN2S) modules/hdd/atad/ps2atad.irx asm/ps2atad.s ps2atad_irx
hdpro_atad.s:
echo " -hdpro_atad"
$(MAKE) -C modules/hdd/hdpro_atad
$(BIN2S) modules/hdd/hdpro_atad/hdpro_atad.irx asm/hdpro_atad.s hdpro_atad_irx
poweroff.s:
$(BIN2S) $(PS2SDK)/iop/irx/poweroff.irx asm/poweroff.s poweroff_irx
ps2hdd.s:
echo " -ps2hdd"
$(MAKE) -C modules/hdd/apa
$(BIN2S) modules/hdd/apa/ps2hdd.irx asm/ps2hdd.s ps2hdd_irx
genvmc.s:
echo " -genvmc"
$(MAKE) $(MOD_DEBUG_FLAGS) -C modules/vmc/genvmc
$(BIN2S) modules/vmc/genvmc/genvmc.irx asm/genvmc.s genvmc_irx
hdldsvr.s:
echo " -hdldsvr"
$(MAKE) -C modules/hdd/hdldsvr
$(BIN2S) modules/hdd/hdldsvr/hdldsvr.irx asm/hdldsvr.s hdldsvr_irx
udptty.s:
echo " -udptty"
$(MAKE) -C modules/debug/udptty
$(BIN2S) modules/debug/udptty/udptty.irx asm/udptty.s udptty_irx
udptty-ingame.s:
echo " -udptty-ingame"
$(MAKE) -C modules/debug/udptty-ingame
$(BIN2S) modules/debug/udptty-ingame/udptty.irx asm/udptty-ingame.s udptty_ingame_irx
ioptrap.s:
echo " -ioptrap"
$(MAKE) -C modules/debug/ioptrap
$(BIN2S) modules/debug/ioptrap/ioptrap.irx asm/ioptrap.s ioptrap_irx
ps2link.s:
echo " -ps2link"
$(MAKE) -C modules/debug/ps2link
$(BIN2S) modules/debug/ps2link/ps2link.irx asm/ps2link.s ps2link_irx
nbns-iop.s:
echo " -nbns"
$(MAKE) -C modules/network/nbns
$(BIN2S) modules/network/nbns/nbns.irx asm/nbns-iop.s nbns_irx
httpclient-iop.s:
echo " -httpclient"
$(MAKE) -C modules/network/httpclient
$(BIN2S) modules/network/httpclient/httpclient.irx asm/httpclient-iop.s httpclient_irx
ps2fs.s:
echo " -ps2fs"
$(MAKE) -C modules/hdd/pfs
$(BIN2S) modules/hdd/pfs/ps2fs.irx asm/ps2fs.s ps2fs_irx
iomanx.s:
$(BIN2S) $(PS2SDK)/iop/irx/iomanX.irx asm/iomanx.s iomanx_irx
filexio.s:
$(BIN2S) $(PS2SDK)/iop/irx/fileXio.irx asm/filexio.s filexio_irx
sio2man.s:
$(BIN2S) $(PS2SDK)/iop/irx/freesio2.irx asm/sio2man.s sio2man_irx
padman.s:
$(BIN2S) $(PS2SDK)/iop/irx/freepad.irx asm/padman.s padman_irx
mcman.s:
$(BIN2S) $(PS2SDK)/iop/irx/mcman.irx asm/mcman.s mcman_irx
mcserv.s:
$(BIN2S) $(PS2SDK)/iop/irx/mcserv.irx asm/mcserv.s mcserv_irx
load0.s:
$(BIN2S) gfx/load0.png asm/load0.s load0_png
load1.s:
$(BIN2S) gfx/load1.png asm/load1.s load1_png
load2.s:
$(BIN2S) gfx/load2.png asm/load2.s load2_png
load3.s:
$(BIN2S) gfx/load3.png asm/load3.s load3_png
load4.s:
$(BIN2S) gfx/load4.png asm/load4.s load4_png
load5.s:
$(BIN2S) gfx/load5.png asm/load5.s load5_png
load6.s:
$(BIN2S) gfx/load6.png asm/load6.s load6_png
load7.s:
$(BIN2S) gfx/load7.png asm/load7.s load7_png
logo.s:
$(BIN2S) gfx/logo.png asm/logo.s logo_png
bg_overlay.s:
$(BIN2S) gfx/bg_overlay.png asm/bg_overlay.s bg_overlay_png
usb_icon.s:
$(BIN2S) gfx/usb.png asm/usb_icon.s usb_png
hdd_icon.s:
$(BIN2S) gfx/hdd.png asm/hdd_icon.s hdd_png
eth_icon.s:
$(BIN2S) gfx/eth.png asm/eth_icon.s eth_png
app_icon.s:
$(BIN2S) gfx/app.png asm/app_icon.s app_png
cross_icon.s:
$(BIN2S) gfx/cross.png asm/cross_icon.s cross_png
triangle_icon.s:
$(BIN2S) gfx/triangle.png asm/triangle_icon.s triangle_png
circle_icon.s:
$(BIN2S) gfx/circle.png asm/circle_icon.s circle_png
square_icon.s:
$(BIN2S) gfx/square.png asm/square_icon.s square_png
select_icon.s:
$(BIN2S) gfx/select.png asm/select_icon.s select_png
start_icon.s:
$(BIN2S) gfx/start.png asm/start_icon.s start_png
left_icon.s:
$(BIN2S) gfx/left.png asm/left_icon.s left_png
right_icon.s:
$(BIN2S) gfx/right.png asm/right_icon.s right_png
up_icon.s:
$(BIN2S) gfx/up.png asm/up_icon.s up_png
down_icon.s:
$(BIN2S) gfx/down.png asm/down_icon.s down_png
L1_icon.s:
$(BIN2S) gfx/L1.png asm/L1_icon.s L1_png
L2_icon.s:
$(BIN2S) gfx/L2.png asm/L2_icon.s L2_png
R1_icon.s:
$(BIN2S) gfx/R1.png asm/R1_icon.s R1_png
R2_icon.s:
$(BIN2S) gfx/R2.png asm/R2_icon.s R2_png
freesans.s:
$(BIN2S) thirdparty/FreeSans_basic_latin.ttf asm/freesans.s freesansfont_raw
icon_sys.s:
$(BIN2S) gfx/icon.sys asm/icon_sys.s icon_sys
icon_icn.s:
$(BIN2S) gfx/opl.icn asm/icon_icn.s icon_icn
icon_sys_A.s:
$(BIN2S) misc/icon_A.sys asm/icon_sys_A.s icon_sys_A
icon_sys_J.s:
$(BIN2S) misc/icon_J.sys asm/icon_sys_J.s icon_sys_J
IOPRP_img.s:
$(BIN2S) modules/iopcore/IOPRP.img asm/IOPRP_img.s IOPRP_img
drvtif_irx.s:
$(BIN2S) modules/debug/drvtif.irx asm/drvtif_irx.s drvtif_irx
tifinet_irx.s:
$(BIN2S) modules/debug/tifinet.irx asm/tifinet_irx.s tifinet_irx
$(EE_OBJS_DIR)%.o : $(EE_SRC_DIR)%.c
$(EE_CC) $(EE_CFLAGS) $(EE_INCS) -c $< -o $@
$(EE_OBJS_DIR)%.o : %.s
$(EE_AS) $(EE_ASFLAGS) $(EE_ASM_DIR)$< -o $@
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal