1COMMONFLAGS += -D__XPLUS4__ 2 3INCFLAGS += \ 4 -I$(EMU)/sid \ 5 -I$(EMU) \ 6 -I$(EMU)/arch/libretro \ 7 -I$(EMU)/c64 \ 8 -I$(EMU)/c64/cart \ 9 -I$(EMU)/core \ 10 -I$(EMU)/diag \ 11 -I$(EMU)/drive \ 12 -I$(EMU)/drive/iec \ 13 -I$(EMU)/drive/ieee \ 14 -I$(EMU)/drive/tcbm \ 15 -I$(EMU)/imagecontents \ 16 -I$(EMU)/joyport \ 17 -I$(EMU)/lib/p64 \ 18 -I$(EMU)/monitor \ 19 -I$(EMU)/plus4 \ 20 -I$(EMU)/raster \ 21 -I$(EMU)/resid \ 22 -I$(EMU)/rtc \ 23 -I$(EMU)/samplerdrv \ 24 -I$(EMU)/socketdrv \ 25 -I$(EMU)/tape \ 26 -I$(EMU)/tapeport \ 27 -I$(EMU)/userport \ 28 -I$(EMU)/vdrive \ 29 -I$(EMU)/video 30 31SOURCES_CXX += \ 32 $(EMU)/resid/dac.cc \ 33 $(EMU)/resid/envelope.cc \ 34 $(EMU)/resid/extfilt.cc \ 35 $(EMU)/resid/filter.cc \ 36 $(EMU)/resid/pot.cc \ 37 $(EMU)/resid/sid.cc \ 38 $(EMU)/resid/version.cc \ 39 $(EMU)/resid/voice.cc \ 40 $(EMU)/resid/wave.cc \ 41 $(EMU)/sid/resid.cc \ 42 43SOURCES_C += \ 44 $(EMU)/alarm.c \ 45 $(EMU)/attach.c \ 46 $(EMU)/autostart-prg.c \ 47 $(EMU)/autostart.c \ 48 $(EMU)/cbmdos.c \ 49 $(EMU)/cbmimage.c \ 50 $(EMU)/charset.c \ 51 $(EMU)/clipboard.c \ 52 $(EMU)/clkguard.c \ 53 $(EMU)/cmdline.c \ 54 $(EMU)/color.c \ 55 $(EMU)/core/ata.c \ 56 $(EMU)/core/ciacore.c \ 57 $(EMU)/core/ciatimer.c \ 58 $(EMU)/core/cs8900.c \ 59 $(EMU)/core/flash040core.c \ 60 $(EMU)/core/fmopl.c \ 61 $(EMU)/core/m93c86.c \ 62 $(EMU)/core/mc6821core.c \ 63 $(EMU)/core/riotcore.c \ 64 $(EMU)/core/ser-eeprom.c \ 65 $(EMU)/core/spi-sdcard.c \ 66 $(EMU)/core/t6721.c \ 67 $(EMU)/core/tpicore.c \ 68 $(EMU)/core/viacore.c \ 69 $(EMU)/crc32.c \ 70 $(EMU)/datasette.c \ 71 $(EMU)/debug.c \ 72 $(EMU)/diag/c64_diag_586220_harness.c \ 73 $(EMU)/diskimage/diskimage.c \ 74 $(EMU)/diskimage/fsimage-check.c \ 75 $(EMU)/diskimage/fsimage-create.c \ 76 $(EMU)/diskimage/fsimage-dxx.c \ 77 $(EMU)/diskimage/fsimage-gcr.c \ 78 $(EMU)/diskimage/fsimage-p64.c \ 79 $(EMU)/diskimage/fsimage-probe.c \ 80 $(EMU)/diskimage/fsimage.c \ 81 $(EMU)/diskimage/rawimage.c \ 82 $(EMU)/diskimage/realimage.c \ 83 $(EMU)/dma.c \ 84 $(EMU)/drive/drive-check.c \ 85 $(EMU)/drive/drive-cmdline-options.c \ 86 $(EMU)/drive/drive-overflow.c \ 87 $(EMU)/drive/drive-resources.c \ 88 $(EMU)/drive/drive-snapshot.c \ 89 $(EMU)/drive/drive-sound.c \ 90 $(EMU)/drive/drive-writeprotect.c \ 91 $(EMU)/drive/drive.c \ 92 $(EMU)/drive/drivecpu.c \ 93 $(EMU)/drive/drivecpu65c02.c \ 94 $(EMU)/drive/driveimage.c \ 95 $(EMU)/drive/drivemem.c \ 96 $(EMU)/drive/driverom.c \ 97 $(EMU)/drive/drivesync.c \ 98 $(EMU)/drive/iec/cia1571d.c \ 99 $(EMU)/drive/iec/cia1581d.c \ 100 $(EMU)/drive/iec/fdd.c \ 101 $(EMU)/drive/iec/glue1571.c \ 102 $(EMU)/drive/iec/iec-cmdline-options.c \ 103 $(EMU)/drive/iec/iec-resources.c \ 104 $(EMU)/drive/iec/iec.c \ 105 $(EMU)/drive/iec/iecrom.c \ 106 $(EMU)/drive/iec/memiec.c \ 107 $(EMU)/drive/iec/pc8477.c \ 108 $(EMU)/drive/iec/plus4exp/iec-plus4exp.c \ 109 $(EMU)/drive/iec/plus4exp/plus4exp-cmdline-options.c \ 110 $(EMU)/drive/iec/plus4exp/plus4exp-resources.c \ 111 $(EMU)/drive/iec/via1d1541.c \ 112 $(EMU)/drive/iec/via4000.c \ 113 $(EMU)/drive/iec/wd1770.c \ 114 $(EMU)/drive/iecieee/iecieee.c \ 115 $(EMU)/drive/iecieee/via2d.c \ 116 $(EMU)/drive/ieee/fdc.c \ 117 $(EMU)/drive/ieee/ieee-cmdline-options.c \ 118 $(EMU)/drive/ieee/ieee-resources.c \ 119 $(EMU)/drive/ieee/ieee.c \ 120 $(EMU)/drive/ieee/ieeerom.c \ 121 $(EMU)/drive/ieee/memieee.c \ 122 $(EMU)/drive/ieee/riot1d.c \ 123 $(EMU)/drive/ieee/riot2d.c \ 124 $(EMU)/drive/ieee/via1d2031.c \ 125 $(EMU)/drive/rotation.c \ 126 $(EMU)/drive/tcbm/glue1551.c \ 127 $(EMU)/drive/tcbm/mem1551.c \ 128 $(EMU)/drive/tcbm/tcbm-cmdline-options.c \ 129 $(EMU)/drive/tcbm/tcbm-resources.c \ 130 $(EMU)/drive/tcbm/tcbm.c \ 131 $(EMU)/drive/tcbm/tcbmrom.c \ 132 $(EMU)/drive/tcbm/tpid.c \ 133 $(EMU)/embedded.c \ 134 $(EMU)/event.c \ 135 $(EMU)/fileio/cbmfile.c \ 136 $(EMU)/fileio/fileio.c \ 137 $(EMU)/fileio/p00.c \ 138 $(EMU)/findpath.c \ 139 $(EMU)/fliplist.c \ 140 $(EMU)/fsdevice/fsdevice-close.c \ 141 $(EMU)/fsdevice/fsdevice-cmdline-options.c \ 142 $(EMU)/fsdevice/fsdevice-flush.c \ 143 $(EMU)/fsdevice/fsdevice-open.c \ 144 $(EMU)/fsdevice/fsdevice-read.c \ 145 $(EMU)/fsdevice/fsdevice-resources.c \ 146 $(EMU)/fsdevice/fsdevice-write.c \ 147 $(EMU)/fsdevice/fsdevice.c \ 148 $(EMU)/gcr.c \ 149 $(EMU)/iecbus/iecbus.c \ 150 $(EMU)/imagecontents/diskcontents-block.c \ 151 $(EMU)/imagecontents/diskcontents-iec.c \ 152 $(EMU)/imagecontents/diskcontents.c \ 153 $(EMU)/imagecontents/imagecontents.c \ 154 $(EMU)/imagecontents/tapecontents.c \ 155 $(EMU)/init.c \ 156 $(EMU)/initcmdline.c \ 157 $(EMU)/interrupt.c \ 158 $(EMU)/ioutil.c \ 159 $(EMU)/joyport/bbrtc.c \ 160 $(EMU)/joyport/cardkey.c \ 161 $(EMU)/joyport/coplin_keypad.c \ 162 $(EMU)/joyport/cx21.c \ 163 $(EMU)/joyport/cx85.c \ 164 $(EMU)/joyport/joyport.c \ 165 $(EMU)/joyport/joystick.c \ 166 $(EMU)/joyport/lightpen.c \ 167 $(EMU)/joyport/mouse.c \ 168 $(EMU)/joyport/paperclip64.c \ 169 $(EMU)/joyport/rushware_keypad.c \ 170 $(EMU)/joyport/sampler2bit.c \ 171 $(EMU)/joyport/sampler4bit.c \ 172 $(EMU)/joyport/script64_dongle.c \ 173 $(EMU)/joyport/snespad.c \ 174 $(EMU)/joyport/vizawrite64_dongle.c \ 175 $(EMU)/joyport/waasoft_dongle.c \ 176 $(EMU)/kbdbuf.c \ 177 $(EMU)/keyboard.c \ 178 $(EMU)/lib.c \ 179 $(EMU)/lib/p64/p64.c \ 180 $(EMU)/libm_math.c \ 181 $(EMU)/log.c \ 182 $(EMU)/machine-bus.c \ 183 $(EMU)/machine.c \ 184 $(EMU)/main.c \ 185 $(EMU)/midi.c \ 186 $(EMU)/network.c \ 187 $(EMU)/opencbmlib.c \ 188 $(EMU)/palette.c \ 189 $(EMU)/parallel/parallel-trap.c \ 190 $(EMU)/parallel/parallel.c \ 191 $(EMU)/plus4/debugcart.c \ 192 $(EMU)/plus4/digiblaster.c \ 193 $(EMU)/plus4/plus4-cmdline-options.c \ 194 $(EMU)/plus4/plus4-resources.c \ 195 $(EMU)/plus4/plus4-sidcart.c \ 196 $(EMU)/plus4/plus4-snapshot.c \ 197 $(EMU)/plus4/plus4.c \ 198 $(EMU)/plus4/plus4acia.c \ 199 $(EMU)/plus4/plus4bus.c \ 200 $(EMU)/plus4/plus4cart.c \ 201 $(EMU)/plus4/plus4cpu.c \ 202 $(EMU)/plus4/plus4datasette.c \ 203 $(EMU)/plus4/plus4drive.c \ 204 $(EMU)/plus4/plus4embedded.c \ 205 $(EMU)/plus4/plus4iec.c \ 206 $(EMU)/plus4/plus4io.c \ 207 $(EMU)/plus4/plus4mem.c \ 208 $(EMU)/plus4/plus4memcsory256k.c \ 209 $(EMU)/plus4/plus4memhacks.c \ 210 $(EMU)/plus4/plus4memhannes256k.c \ 211 $(EMU)/plus4/plus4memlimit.c \ 212 $(EMU)/plus4/plus4memrom.c \ 213 $(EMU)/plus4/plus4memsnapshot.c \ 214 $(EMU)/plus4/plus4model.c \ 215 $(EMU)/plus4/plus4parallel.c \ 216 $(EMU)/plus4/plus4pio1.c \ 217 $(EMU)/plus4/plus4pio2.c \ 218 $(EMU)/plus4/plus4printer.c \ 219 $(EMU)/plus4/plus4rom.c \ 220 $(EMU)/plus4/plus4romset.c \ 221 $(EMU)/plus4/plus4speech.c \ 222 $(EMU)/plus4/plus4tcbm.c \ 223 $(EMU)/plus4/plus4video.c \ 224 $(EMU)/plus4/ted-badline.c \ 225 $(EMU)/plus4/ted-cmdline-options.c \ 226 $(EMU)/plus4/ted-color.c \ 227 $(EMU)/plus4/ted-draw.c \ 228 $(EMU)/plus4/ted-fetch.c \ 229 $(EMU)/plus4/ted-irq.c \ 230 $(EMU)/plus4/ted-mem.c \ 231 $(EMU)/plus4/ted-resources.c \ 232 $(EMU)/plus4/ted-snapshot.c \ 233 $(EMU)/plus4/ted-sound.c \ 234 $(EMU)/plus4/ted-timer.c \ 235 $(EMU)/plus4/ted-timing.c \ 236 $(EMU)/plus4/ted.c \ 237 $(EMU)/printerdrv/driver-select.c \ 238 $(EMU)/printerdrv/drv-1520.c \ 239 $(EMU)/printerdrv/drv-ascii.c \ 240 $(EMU)/printerdrv/drv-mps803.c \ 241 $(EMU)/printerdrv/drv-nl10.c \ 242 $(EMU)/printerdrv/drv-raw.c \ 243 $(EMU)/printerdrv/interface-serial.c \ 244 $(EMU)/printerdrv/interface-userport.c \ 245 $(EMU)/printerdrv/output-graphics.c \ 246 $(EMU)/printerdrv/output-select.c \ 247 $(EMU)/printerdrv/output-text.c \ 248 $(EMU)/printerdrv/printer-serial.c \ 249 $(EMU)/printerdrv/printer-userport.c \ 250 $(EMU)/printerdrv/printer.c \ 251 $(EMU)/ram.c \ 252 $(EMU)/raster/raster-cache.c \ 253 $(EMU)/raster/raster-canvas.c \ 254 $(EMU)/raster/raster-changes.c \ 255 $(EMU)/raster/raster-cmdline-options.c \ 256 $(EMU)/raster/raster-line-changes-sprite.c \ 257 $(EMU)/raster/raster-line-changes.c \ 258 $(EMU)/raster/raster-line.c \ 259 $(EMU)/raster/raster-modes.c \ 260 $(EMU)/raster/raster-resources.c \ 261 $(EMU)/raster/raster-sprite-cache.c \ 262 $(EMU)/raster/raster-sprite-status.c \ 263 $(EMU)/raster/raster-sprite.c \ 264 $(EMU)/raster/raster.c \ 265 $(EMU)/rawfile.c \ 266 $(EMU)/rawnet.c \ 267 $(EMU)/resources.c \ 268 $(EMU)/romset.c \ 269 $(EMU)/rs232drv/rs232.c \ 270 $(EMU)/rs232drv/rs232drv.c \ 271 $(EMU)/rs232drv/rs232net.c \ 272 $(EMU)/rs232drv/rsuser.c \ 273 $(EMU)/rtc/bq4830y.c \ 274 $(EMU)/rtc/ds12c887.c \ 275 $(EMU)/rtc/ds1202_1302.c \ 276 $(EMU)/rtc/ds1216e.c \ 277 $(EMU)/rtc/ds1307.c \ 278 $(EMU)/rtc/ds1602.c \ 279 $(EMU)/rtc/pcf8583.c \ 280 $(EMU)/rtc/rtc-58321a.c \ 281 $(EMU)/rtc/rtc-72421.c \ 282 $(EMU)/rtc/rtc.c \ 283 $(EMU)/samplerdrv/file_drv.c \ 284 $(EMU)/samplerdrv/sampler.c \ 285 $(EMU)/screenshot.c \ 286 $(EMU)/serial/fsdrive.c \ 287 $(EMU)/serial/realdevice.c \ 288 $(EMU)/serial/serial-device.c \ 289 $(EMU)/serial/serial-iec-bus.c \ 290 $(EMU)/serial/serial-iec-device.c \ 291 $(EMU)/serial/serial-iec-lib.c \ 292 $(EMU)/serial/serial-iec.c \ 293 $(EMU)/serial/serial-realdevice.c \ 294 $(EMU)/serial/serial-trap.c \ 295 $(EMU)/serial/serial.c \ 296 $(EMU)/sid/catweaselmkiii.c \ 297 $(EMU)/sid/fastsid.c \ 298 $(EMU)/sid/hardsid.c \ 299 $(EMU)/sid/parsid.c \ 300 $(EMU)/sid/sid-cmdline-options.c \ 301 $(EMU)/sid/sid-resources.c \ 302 $(EMU)/sid/sid-snapshot.c \ 303 $(EMU)/sid/sid.c \ 304 $(EMU)/sid/ssi2001.c \ 305 $(EMU)/snapshot.c \ 306 $(EMU)/socket.c \ 307 $(EMU)/socketdrv/socketdrv.c \ 308 $(EMU)/sound.c \ 309 $(EMU)/sounddrv/soundretro.c \ 310 $(EMU)/sysfile.c \ 311 $(EMU)/tape/t64.c \ 312 $(EMU)/tape/tap.c \ 313 $(EMU)/tape/tape-internal.c \ 314 $(EMU)/tape/tape-snapshot.c \ 315 $(EMU)/tape/tape.c \ 316 $(EMU)/tape/tapeimage.c \ 317 $(EMU)/tapeport/cp-clockf83.c \ 318 $(EMU)/tapeport/dtl-basic-dongle.c \ 319 $(EMU)/tapeport/sense-dongle.c \ 320 $(EMU)/tapeport/tapecart.c \ 321 $(EMU)/tapeport/tapelog.c \ 322 $(EMU)/tapeport/tapeport.c \ 323 $(EMU)/tapeport/tape_diag_586220_harness.c \ 324 $(EMU)/traps.c \ 325 $(EMU)/userport/userport.c \ 326 $(EMU)/userport/userport_4bit_sampler.c \ 327 $(EMU)/userport/userport_8bss.c \ 328 $(EMU)/userport/userport_dac.c \ 329 $(EMU)/userport/userport_diag_586220_harness.c \ 330 $(EMU)/userport/userport_digimax.c \ 331 $(EMU)/userport/userport_joystick.c \ 332 $(EMU)/userport/userport_rtc_58321a.c \ 333 $(EMU)/userport/userport_rtc_ds1307.c \ 334 $(EMU)/util.c \ 335 $(EMU)/vdrive/vdrive-bam.c \ 336 $(EMU)/vdrive/vdrive-command.c \ 337 $(EMU)/vdrive/vdrive-dir.c \ 338 $(EMU)/vdrive/vdrive-iec.c \ 339 $(EMU)/vdrive/vdrive-internal.c \ 340 $(EMU)/vdrive/vdrive-rel.c \ 341 $(EMU)/vdrive/vdrive-snapshot.c \ 342 $(EMU)/vdrive/vdrive.c \ 343 $(EMU)/vicefeatures.c \ 344 $(EMU)/video/render1x1.c \ 345 $(EMU)/video/render1x1crt.c \ 346 $(EMU)/video/render1x1ntsc.c \ 347 $(EMU)/video/render1x1pal.c \ 348 $(EMU)/video/render1x2.c \ 349 $(EMU)/video/render1x2crt.c \ 350 $(EMU)/video/render2x2.c \ 351 $(EMU)/video/render2x2crt.c \ 352 $(EMU)/video/render2x2ntsc.c \ 353 $(EMU)/video/render2x2pal.c \ 354 $(EMU)/video/render2x4.c \ 355 $(EMU)/video/render2x4crt.c \ 356 $(EMU)/video/renderscale2x.c \ 357 $(EMU)/video/renderyuv.c \ 358 $(EMU)/video/video-canvas.c \ 359 $(EMU)/video/video-cmdline-options.c \ 360 $(EMU)/video/video-color.c \ 361 $(EMU)/video/video-render-1x2.c \ 362 $(EMU)/video/video-render-2x2.c \ 363 $(EMU)/video/video-render-crt.c \ 364 $(EMU)/video/video-render-pal.c \ 365 $(EMU)/video/video-render.c \ 366 $(EMU)/video/video-resources.c \ 367 $(EMU)/video/video-sound.c \ 368 $(EMU)/video/video-viewport.c \ 369 $(EMU)/vsync.c \ 370 $(EMU)/zfile.c \ 371 $(EMU)/zipcode.c 372 373# stubs 374SOURCES_C += \ 375 $(EMU)/arch/libretro/info.c \ 376 $(EMU)/arch/libretro/gfxoutputdrv/gfxoutput.c \ 377 $(EMU)/arch/libretro/monitor/asm6502.c \ 378 $(EMU)/arch/libretro/monitor/asmR65C02.c \ 379 $(EMU)/arch/libretro/monitor/monitor.c \ 380 $(EMU)/arch/libretro/monitor/monitor_network.c \ 381 $(EMU)/arch/libretro/monitor/mon_util.c 382