Subversion Repositories psp

[/] [trunk/] [vice/] [Makefile_C64.psp] - Blame information for rev 519

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 345 jack
PSPSDK=$(shell psp-config --pspsdk-path)
2
 
3
PSPAPP=arch/psp
4
PSPLIB=$(PSPAPP)/lib
5 437 jack
MZLIB=$(PSPAPP)/libmz
6 345 jack
 
7
PSP_FW_VERSION=200
8
export PSP_FW_VERSION
9
 
10 427 jack
PSP_APP_NAME=VICE PSP C64
11 519 jack
PSP_APP_VER=2.2.15
12 345 jack
 
13
TARGET=vicepsp
14
EXTRA_TARGETS=EBOOT.PBP
15
PSP_EBOOT_TITLE=$(PSP_APP_NAME) $(PSP_APP_VER)
16 432 jack
PSP_EBOOT_ICON=$(PSPAPP)/data/xmb-icon-c64.png
17 345 jack
 
18 426 jack
BUILD_EMUL=c64/c64_256k.o c64/c64_256k.o c64/c64export.o \
19 345 jack
           c64/c64memsnapshot.o c64/c64sound.o c64/psid.o \
20
           c64/c64acia1.o c64/c64fastiec.o c64/c64parallel.o \
21
           c64/c64tpi.o c64/ramcart.o c64/c64bus.o c64/c64iec.o \
22
           c64/c64pla.o c64/c64video.o c64/reloc65.o c64/c64.o \
23
           c64/c64io.o c64/c64printer.o c64/digimax.o c64/reu.o \
24
           c64/c64cia1.o c64/c64keyboard.o c64/c64-resources.o \
25
           c64/georam.o c64/tfe.o c64/c64cia2.o c64/c64mem.o \
26
           c64/c64rom.o c64/mmc64.o c64/c64-cmdline-options.o \
27
           c64/c64meminit.o c64/c64romset.o c64/patchrom.o \
28
           c64/c64datasette.o c64/c64memlimit.o c64/c64rsuser.o \
29
           c64/plus256k.o c64/c64drive.o c64/c64memrom.o \
30
           c64/c64-snapshot.o c64/plus60k.o \
31
           c64/cart/actionreplay3.o c64/cart/delaep7x8.o \
32
           c64/cart/retroreplay.o c64/cart/actionreplay.o \
33
           c64/cart/epyxfastload.o c64/cart/rexep256.o \
34
           c64/cart/atomicpower.o c64/cart/expert.o \
35
           c64/cart/ross.o c64/cart/c64cart.o c64/cart/final.o \
36
           c64/cart/stb.o c64/cart/c64cartmem.o c64/cart/generic.o \
37
           c64/cart/supergames.o c64/cart/comal80.o c64/cart/ide64.o \
38
           c64/cart/supersnapshot.o c64/cart/crt.o c64/cart/kcs.o \
39
           c64/cart/zaxxon.o c64/cart/delaep256.o \
40
           c64/cart/magicformel.o c64/cart/delaep64.o \
41
           c64/cart/mikroass.o c64/cart/stardos.o c64/cart/actionreplay4.o \
42 517 jack
           c64/isepic.o c64/dqbb.o c64/psid.o c64/cart/easyflash.o \
43
           c64/sfx_soundexpander.o c64/fmopl.o c64/sfx_soundsampler.o \
44 426 jack
           vicii/vicii-badline.o vicii/vicii.o vicii/vicii-stubs.o \
45 345 jack
           vicii/vicii-cmdline-options.o vicii/vicii-color.o \
46
           vicii/vicii-draw.o vicii/vicii-fetch.o vicii/vicii-irq.o \
47
           vicii/vicii-mem.o vicii/vicii-phi1.o vicii/vicii-resources.o \
48
           vicii/vicii-snapshot.o vicii/vicii-sprites.o vicii/vicii-timing.o \
49
           core/ciacore.o core/riotcore.o core/viacore.o \
50 517 jack
           core/ciatimer.o core/tpicore.o core/flash040core.o \
51 345 jack
           diskimage/diskimage.o diskimage/fsimage-create.o \
52
           diskimage/rawimage.o diskimage/fsimage.o \
53
           diskimage/fsimage-gcr.o diskimage/realimage.o \
54
           diskimage/fsimage-check.o diskimage/fsimage-probe.o \
55
           fileio/cbmfile.o fileio/fileio.o fileio/p00.o \
56
           fsdevice/fsdevice.o fsdevice/fsdevice-open.o \
57
           fsdevice/fsdevice-close.o fsdevice/fsdevice-read.o \
58
           fsdevice/fsdevice-cmdline-options.o \
59
           fsdevice/fsdevice-resources.o fsdevice/fsdevice-flush.o \
60
           fsdevice/fsdevice-write.o \
61
           imagecontents/diskcontents-block.o imagecontents/diskcontents.o \
62
           imagecontents/diskcontents-iec.o imagecontents/imagecontents.o \
63
           imagecontents/tapecontents.o \
64
           monitor/asm6502.o monitor/asmz80.o monitor/mon_assemble6502.o \
65
           monitor/mon_assemblez80.o monitor/mon_breakpoint.o \
66
           monitor/mon_command.o monitor/mon_disassemble.o monitor/mon_drive.o \
67
           monitor/mon_file.o monitor/monitor.o monitor/mon_lex.o \
68
           monitor/mon_memory.o monitor/mon_parse.o monitor/mon_register6502.o \
69
           monitor/mon_registerz80.o monitor/mon_ui.o monitor/mon_util.o \
70 517 jack
           monitor/monitor_network.o \
71 345 jack
           parallel/parallel.o parallel/parallel-trap.o \
72 425 jack
           printerdrv/driver-select.o printerdrv/drv-ascii.o \
73
           printerdrv/drv-mps803.o printerdrv/drv-nl10.o \
74
           printerdrv/interface-serial.o \
75 345 jack
           printerdrv/interface-userport.o printerdrv/output-graphics.o \
76 425 jack
           printerdrv/output-select.o printerdrv/output-text.o \
77
           printerdrv/printer.o printerdrv/printer-serial.o \
78
           printerdrv/printer-userport.o \
79 345 jack
           raster/raster.o raster/raster-cache.o raster/raster-canvas.o \
80 425 jack
           raster/raster-changes.o raster/raster-cmdline-options.o \
81
           raster/raster-line.o raster/raster-line-changes.o \
82
           raster/raster-line-changes-sprite.o raster/raster-modes.o \
83
           raster/raster-resources.o raster/raster-sprite.o \
84 345 jack
           raster/raster-sprite-cache.o raster/raster-sprite-status.o \
85
           rs232drv/rs232drv.o rs232drv/rsuser.o \
86 425 jack
           sid/fastsid.o sid/sid.o sid/sid-cmdline-options.o \
87
           sid/sid-resources.o sid/sid-snapshot.o sid/resid.o \
88 345 jack
           tape/t64.o tape/tap.o tape/tape.o tape/tapeimage.o \
89
           tape/tape-internal.o tape/tape-snapshot.o \
90
           vdc/vdc.o vdc/vdc-cmdline-options.o vdc/vdc-draw.o vdc/vdc-mem.o \
91
           vdc/vdc-resources.o vdc/vdc-snapshot.o \
92
           vdrive/vdrive-bam.o vdrive/vdrive.o vdrive/vdrive-command.o \
93
           vdrive/vdrive-dir.o vdrive/vdrive-iec.o vdrive/vdrive-internal.o \
94
           vdrive/vdrive-rel.o vdrive/vdrive-snapshot.o \
95
           video/render1x1.o video/render1x1pal.o video/render1x2.o \
96
           video/render2x2.o video/render2x2pal.o video/renderscale2x.o \
97 425 jack
           video/renderyuv.o video/video-canvas.o \
98
           video/video-cmdline-options.o video/video-color.o \
99
           video/video-render-1x2.o video/video-render-2x2.o \
100
           video/video-render.o video/video-render-pal.o \
101
           video/video-resources.o video/video-resources-pal.o \
102
           video/video-viewport.o \
103 345 jack
           drive/drive.o \
104
           drive/drive-check.o drive/drive-cmdline-options.o drive/drivecpu.o \
105
           drive/driveimage.o drive/drivemem.o drive/drive-overflow.o \
106
           drive/drive-resources.o drive/driverom.o drive/drive-snapshot.o \
107
           drive/drivesync.o drive/drive-writeprotect.o drive/rotation.o \
108 425 jack
           drive/iec128dcr/iec128dcr.o \
109
           drive/iec128dcr/iec128dcr-cmdline-options.o \
110
           drive/iec128dcr/iec128dcr-resources.o \
111
           drive/iec128dcr/iec128dcrrom.o \
112 345 jack
           drive/iec/cia1571d.o drive/iec/cia1581d.o drive/iec/glue1571.o \
113 425 jack
           drive/iec/iec.o drive/iec/iec-cmdline-options.o \
114
           drive/iec/iec-resources.o drive/iec/iecrom.o \
115
           drive/iecieee/iecieee.o drive/iecieee/via2d.o drive/iec/memiec.o \
116
           drive/iec/via1d1541.o drive/iec/wd1770.o drive/ieee/fdc.o \
117
           drive/ieee/ieee.o drive/ieee/ieee-cmdline-options.o \
118
           drive/ieee/ieee-resources.o drive/ieee/ieeerom.o \
119
           drive/ieee/memieee.o drive/ieee/riot1d.o drive/ieee/riot2d.o \
120 345 jack
           drive/ieee/via1d2031.o drive/iec/plus4exp/iec-plus4exp.o \
121 425 jack
           drive/iec/plus4exp/plus4exp-resources.o \
122
           drive/iec/c64exp/iec-c64exp.o drive/iec/c64exp/mc6821.o \
123
           drive/iec/c64exp/c64exp-resources.o \
124
           drive/iec/c64exp/c64exp-cmdline-options.o \
125
           drive/iec/c64exp/profdos.o \
126 345 jack
           drive/iec/plus4exp/plus4exp-cmdline-options.o \
127
           resid/voice.o resid/wave8580__ST.o resid/extfilt.o resid/pot.o \
128 425 jack
           resid/version.o resid/wave6581__ST.o resid/sid.o \
129
           resid/wave8580_P_T.o resid/wave8580_PST.o resid/envelope.o \
130
           resid/wave6581_PS_.o resid/wave.o resid/wave6581_P_T.o \
131
           resid/filter.o resid/wave6581_PST.o resid/wave8580_PS_.o \
132 345 jack
           iecbus/iecbus.o \
133
           lib.o util.o resources.o ioutil.o palette.o snapshot.o interrupt.o \
134
           log.o alarm.o zfile.o joystick.o sound.o event.o keyboard.o dma.o \
135
           machine.o vsync.o sysfile.o gcr.o network.o cmdline.o romset.o \
136
           attach.o traps.o clkguard.o charset.o datasette.o autostart.o \
137
           ram.o main.o cbmdos.o emuid.o rawfile.o kbdbuf.o screenshot.o \
138
           machine-bus.o debug.o fliplist.o maincpu.o zipcode.o findpath.o \
139
           cbmimage.o initcmdline.o init.o \
140 425 jack
           gfxoutputdrv/gfxoutput.o gfxoutputdrv/bmpdrv.o \
141
           gfxoutputdrv/iffdrv.o gfxoutputdrv/pcxdrv.o gfxoutputdrv/ppmdrv.o \
142 345 jack
           serial/fsdrive.o serial/serial.o serial/serial-device.o \
143 425 jack
           serial/serial-iec-bus.o serial/serial-iec.o \
144
           serial/serial-iec-device.o serial/serial-iec-lib.o \
145
           serial/serial-realdevice.o serial/serial-trap.o \
146
           sounddrv/soundiff.o sounddrv/soundaiff.o sounddrv/soundvoc.o \
147 517 jack
           sounddrv/soundwav.o sounddrv/sounddump.o sounddrv/soundmovie.o \
148 426 jack
           sounddrv/soundfs.o sounddrv/sounddummy.o \
149 517 jack
           translate.o crc32.o autostart-prg.o
150 427 jack
BUILD_PORT=arch/psp/joy.o arch/psp/video.o arch/psp/ui.o arch/psp/stubs.o \
151 425 jack
           arch/psp/main.o arch/psp/archdep.o arch/psp/vsidui.o \
152
           arch/psp/blockdev.o arch/psp/c64ui.o arch/psp/console.o \
153
           arch/psp/uicmdline.o arch/psp/uimon.o arch/psp/signals.o \
154 458 jack
           arch/psp/vsyncarch.o arch/psp/sfifo.o sounddrv/soundpsp.o
155 345 jack
OBJS=$(BUILD_EMUL) $(BUILD_PORT)
156
 
157 470 jack
DEFINES=-DVERSION=\"2.1\" #-DPSP_DEBUG
158 345 jack
BASE_DEFS=-DPSP -DPSP_APP_VER=\"$(PSP_APP_VER)\" -DPSP_APP_NAME="\"$(PSP_APP_NAME)\""
159
CFLAGS=-O2 -G0 -Wall $(BASE_DEFS) $(DEFINES)
160
CXXFLAGS=$(CFLAGS) -fno-exceptions -fno-rtti
161
ASFLAGS=$(CFLAGS)
162 517 jack
INCDIR=$(PSPAPP) sid drive vicii tape c64 c64dtv vdc raster crtc vdrive c64/cart \
163
       imagecontents
164 437 jack
LIBDIR=$(PSPLIB) $(MZLIB)
165
LIBS=-lminizip -lpsplib -lpng -lpspgu -lpsppower \
166 345 jack
     -lz -lm -lc -lpspaudio -lpsprtc -lpspwlan -lpspnet_adhoc \
167 440 jack
     -lpspnet_adhocctl -lpspnet_adhocmatching -lstdc++
168 345 jack
 
169
all: build_libs
170
clean: clean_libs
171
 
172
include $(PSPSDK)/lib/build.mak
173
 
174
build_libs:
175
        cd $(PSPLIB) ; $(MAKE)
176 437 jack
        cd $(MZLIB) ; $(MAKE) -f Makefile.psp
177 345 jack
clean_libs:
178
        cd $(PSPLIB) ; $(MAKE) clean
179 437 jack
        cd $(MZLIB) ; $(MAKE) -f Makefile.psp clean
180 456 jack