2019-12-09 03:14:57 +00:00
|
|
|
COMMONFLAGS += -D__X64__
|
|
|
|
|
2017-02-12 23:02:58 +00:00
|
|
|
INCFLAGS += \
|
2020-09-22 01:01:51 +00:00
|
|
|
-I$(EMU)/sid \
|
|
|
|
-I$(EMU) \
|
2021-04-16 14:45:35 +00:00
|
|
|
-I$(EMU)/arch/shared \
|
2020-09-22 01:01:51 +00:00
|
|
|
-I$(EMU)/c64 \
|
|
|
|
-I$(EMU)/c64/cart \
|
|
|
|
-I$(EMU)/c64dtv \
|
|
|
|
-I$(EMU)/core \
|
2021-04-16 14:45:35 +00:00
|
|
|
-I$(EMU)/datasette \
|
2020-09-22 01:01:51 +00:00
|
|
|
-I$(EMU)/diag \
|
|
|
|
-I$(EMU)/drive \
|
|
|
|
-I$(EMU)/drive/iec \
|
|
|
|
-I$(EMU)/drive/iec/c64exp \
|
|
|
|
-I$(EMU)/drive/ieee \
|
|
|
|
-I$(EMU)/drive/tcbm \
|
2021-04-16 14:45:35 +00:00
|
|
|
-I$(EMU)/fsdevice \
|
2020-09-22 01:01:51 +00:00
|
|
|
-I$(EMU)/imagecontents \
|
|
|
|
-I$(EMU)/joyport \
|
|
|
|
-I$(EMU)/lib/p64 \
|
|
|
|
-I$(EMU)/monitor \
|
|
|
|
-I$(EMU)/raster \
|
|
|
|
-I$(EMU)/resid \
|
|
|
|
-I$(EMU)/residfp \
|
|
|
|
-I$(EMU)/residfp/builders/residfp-builder/residfp \
|
2021-04-16 14:45:35 +00:00
|
|
|
-I$(EMU)/rs232drv \
|
2020-09-22 01:01:51 +00:00
|
|
|
-I$(EMU)/rtc \
|
|
|
|
-I$(EMU)/samplerdrv \
|
|
|
|
-I$(EMU)/socketdrv \
|
|
|
|
-I$(EMU)/tape \
|
|
|
|
-I$(EMU)/tapeport \
|
|
|
|
-I$(EMU)/userport \
|
|
|
|
-I$(EMU)/vdrive \
|
|
|
|
-I$(EMU)/vicii \
|
|
|
|
-I$(EMU)/video
|
2017-02-12 23:02:58 +00:00
|
|
|
|
2020-01-07 15:25:45 +00:00
|
|
|
SOURCES_CXX += \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/resid/dac.cc \
|
|
|
|
$(EMU)/resid/envelope.cc \
|
|
|
|
$(EMU)/resid/extfilt.cc \
|
2020-12-30 00:04:06 +00:00
|
|
|
$(EMU)/resid/filter8580new.cc \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/resid/pot.cc \
|
|
|
|
$(EMU)/resid/sid.cc \
|
|
|
|
$(EMU)/resid/version.cc \
|
|
|
|
$(EMU)/resid/voice.cc \
|
|
|
|
$(EMU)/resid/wave.cc \
|
|
|
|
$(EMU)/sid/resid.cc \
|
|
|
|
$(EMU)/sid/resid-fp.cc \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/version.cc \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Dac.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/EnvelopeGenerator.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/ExternalFilter.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Filter.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Filter6581.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Filter8580.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/FilterModelConfig.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/FilterModelConfig8580.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Integrator.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Integrator8580.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/OpAmp.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/resample/SincResampler.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/SID.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/Spline.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/WaveformCalculator.cpp \
|
|
|
|
$(EMU)/residfp/builders/residfp-builder/residfp/WaveformGenerator.cpp
|
2020-02-10 08:22:11 +00:00
|
|
|
|
2020-10-29 22:19:53 +00:00
|
|
|
ifeq ($(HAVE_RESID33), 1)
|
|
|
|
COMMONFLAGS += -DHAVE_RESID33
|
|
|
|
SOURCES_CXX += $(EMU)/sid/resid-33.cc
|
|
|
|
endif
|
|
|
|
|
2019-07-28 06:17:06 +00:00
|
|
|
SOURCES_C += \
|
2024-09-11 03:19:20 +00:00
|
|
|
$(SOURCES_C_COMMON) \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/c64/c64-cmdline-options.c \
|
|
|
|
$(EMU)/c64/c64-memory-hacks.c \
|
|
|
|
$(EMU)/c64/c64-resources.c \
|
|
|
|
$(EMU)/c64/c64.c \
|
|
|
|
$(EMU)/c64/c64bus.c \
|
|
|
|
$(EMU)/c64/c64cia1.c \
|
|
|
|
$(EMU)/c64/c64cia2.c \
|
|
|
|
$(EMU)/c64/c64cpu.c \
|
|
|
|
$(EMU)/c64/c64datasette.c \
|
|
|
|
$(EMU)/c64/c64drive.c \
|
|
|
|
$(EMU)/c64/c64export.c \
|
|
|
|
$(EMU)/c64/c64fastiec.c \
|
|
|
|
$(EMU)/c64/c64gluelogic.c \
|
|
|
|
$(EMU)/c64/c64iec.c \
|
|
|
|
$(EMU)/c64/c64io.c \
|
|
|
|
$(EMU)/c64/c64keyboard.c \
|
|
|
|
$(EMU)/c64/c64mem.c \
|
|
|
|
$(EMU)/c64/c64meminit.c \
|
|
|
|
$(EMU)/c64/c64memlimit.c \
|
|
|
|
$(EMU)/c64/c64memrom.c \
|
|
|
|
$(EMU)/c64/c64memsnapshot.c \
|
|
|
|
$(EMU)/c64/c64model.c \
|
|
|
|
$(EMU)/c64/c64parallel.c \
|
|
|
|
$(EMU)/c64/c64pla.c \
|
|
|
|
$(EMU)/c64/c64printer.c \
|
|
|
|
$(EMU)/c64/c64rom.c \
|
|
|
|
$(EMU)/c64/c64romset.c \
|
|
|
|
$(EMU)/c64/c64rsuser.c \
|
|
|
|
$(EMU)/c64/c64sound.c \
|
|
|
|
$(EMU)/c64/c64video.c \
|
|
|
|
$(EMU)/c64/c64_256k.c \
|
|
|
|
$(EMU)/c64/plus60k.c \
|
|
|
|
$(EMU)/c64/plus256k.c \
|
|
|
|
$(EMU)/c64/reloc65.c \
|
2023-01-12 01:03:26 +00:00
|
|
|
$(SOURCES_C_C64_CART) \
|
2021-04-16 14:45:35 +00:00
|
|
|
$(EMU)/datasette/datasette.c \
|
|
|
|
$(EMU)/datasette/datasette-sound.c \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/diag/c64_diag_586220_harness.c \
|
|
|
|
$(EMU)/drive/drive-check.c \
|
|
|
|
$(EMU)/drive/drive-cmdline-options.c \
|
|
|
|
$(EMU)/drive/drive-resources.c \
|
|
|
|
$(EMU)/drive/drive-snapshot.c \
|
|
|
|
$(EMU)/drive/drive-sound.c \
|
|
|
|
$(EMU)/drive/drive-writeprotect.c \
|
|
|
|
$(EMU)/drive/drive.c \
|
|
|
|
$(EMU)/drive/drivecpu.c \
|
|
|
|
$(EMU)/drive/drivecpu65c02.c \
|
|
|
|
$(EMU)/drive/driveimage.c \
|
|
|
|
$(EMU)/drive/drivemem.c \
|
|
|
|
$(EMU)/drive/driverom.c \
|
|
|
|
$(EMU)/drive/drivesync.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/c64exp-cmdline-options.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/c64exp-resources.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/dolphindos3.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/iec-c64exp.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/profdos.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/supercard.c \
|
|
|
|
$(EMU)/drive/iec/c64exp/stardos-exp.c \
|
|
|
|
$(EMU)/drive/iec/cia1571d.c \
|
|
|
|
$(EMU)/drive/iec/cia1581d.c \
|
2021-04-16 14:45:35 +00:00
|
|
|
$(EMU)/drive/iec/cmdhd.c \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/drive/iec/fdd.c \
|
|
|
|
$(EMU)/drive/iec/glue1571.c \
|
|
|
|
$(EMU)/drive/iec/iec-cmdline-options.c \
|
|
|
|
$(EMU)/drive/iec/iec-resources.c \
|
|
|
|
$(EMU)/drive/iec/iec.c \
|
|
|
|
$(EMU)/drive/iec/iecrom.c \
|
|
|
|
$(EMU)/drive/iec/memiec.c \
|
|
|
|
$(EMU)/drive/iec/pc8477.c \
|
|
|
|
$(EMU)/drive/iec/via1d1541.c \
|
|
|
|
$(EMU)/drive/iec/via4000.c \
|
|
|
|
$(EMU)/drive/iec/wd1770.c \
|
|
|
|
$(EMU)/drive/iecieee/iecieee.c \
|
|
|
|
$(EMU)/drive/iecieee/via2d.c \
|
2023-01-12 01:03:26 +00:00
|
|
|
$(SOURCES_C_JOYPORT) \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/printerdrv/driver-select.c \
|
|
|
|
$(EMU)/printerdrv/drv-ascii.c \
|
|
|
|
$(EMU)/printerdrv/drv-raw.c \
|
|
|
|
$(EMU)/printerdrv/interface-serial.c \
|
|
|
|
$(EMU)/printerdrv/interface-userport.c \
|
|
|
|
$(EMU)/printerdrv/output-graphics.c \
|
|
|
|
$(EMU)/printerdrv/output-select.c \
|
|
|
|
$(EMU)/printerdrv/output-text.c \
|
|
|
|
$(EMU)/printerdrv/printer-serial.c \
|
|
|
|
$(EMU)/printerdrv/printer-userport.c \
|
|
|
|
$(EMU)/printerdrv/printer.c \
|
|
|
|
$(EMU)/serial/fsdrive.c \
|
|
|
|
$(EMU)/serial/realdevice.c \
|
|
|
|
$(EMU)/serial/serial-device.c \
|
|
|
|
$(EMU)/serial/serial-iec-bus.c \
|
|
|
|
$(EMU)/serial/serial-iec-device.c \
|
|
|
|
$(EMU)/serial/serial-iec-lib.c \
|
|
|
|
$(EMU)/serial/serial-iec.c \
|
|
|
|
$(EMU)/serial/serial-realdevice.c \
|
|
|
|
$(EMU)/serial/serial-trap.c \
|
|
|
|
$(EMU)/serial/serial.c \
|
|
|
|
$(EMU)/sid/catweaselmkiii.c \
|
|
|
|
$(EMU)/sid/fastsid.c \
|
|
|
|
$(EMU)/sid/hardsid.c \
|
|
|
|
$(EMU)/sid/parsid.c \
|
|
|
|
$(EMU)/sid/sid-cmdline-options.c \
|
|
|
|
$(EMU)/sid/sid-resources.c \
|
|
|
|
$(EMU)/sid/sid-snapshot.c \
|
|
|
|
$(EMU)/sid/sid.c \
|
|
|
|
$(EMU)/sid/ssi2001.c \
|
|
|
|
$(EMU)/tape/t64.c \
|
|
|
|
$(EMU)/tape/tap.c \
|
|
|
|
$(EMU)/tape/tape-internal.c \
|
|
|
|
$(EMU)/tape/tape-snapshot.c \
|
|
|
|
$(EMU)/tape/tape.c \
|
|
|
|
$(EMU)/tape/tapeimage.c \
|
|
|
|
$(EMU)/tapeport/cp-clockf83.c \
|
|
|
|
$(EMU)/tapeport/dtl-basic-dongle.c \
|
|
|
|
$(EMU)/tapeport/sense-dongle.c \
|
|
|
|
$(EMU)/tapeport/tapecart.c \
|
|
|
|
$(EMU)/tapeport/tapeport.c \
|
|
|
|
$(EMU)/tapeport/tape_diag_586220_harness.c \
|
2023-01-12 01:03:26 +00:00
|
|
|
$(SOURCES_C_USERPORT) \
|
2020-09-22 01:01:51 +00:00
|
|
|
$(EMU)/vicii/vicii-badline.c \
|
|
|
|
$(EMU)/vicii/vicii-cmdline-options.c \
|
|
|
|
$(EMU)/vicii/vicii-color.c \
|
|
|
|
$(EMU)/vicii/vicii-draw.c \
|
|
|
|
$(EMU)/vicii/vicii-fetch.c \
|
|
|
|
$(EMU)/vicii/vicii-irq.c \
|
|
|
|
$(EMU)/vicii/vicii-mem.c \
|
|
|
|
$(EMU)/vicii/vicii-phi1.c \
|
|
|
|
$(EMU)/vicii/vicii-resources.c \
|
|
|
|
$(EMU)/vicii/vicii-snapshot.c \
|
|
|
|
$(EMU)/vicii/vicii-sprites.c \
|
|
|
|
$(EMU)/vicii/vicii-stubs.c \
|
|
|
|
$(EMU)/vicii/vicii-timing.c \
|
2024-09-11 03:19:20 +00:00
|
|
|
$(EMU)/vicii/vicii.c
|
2020-09-20 15:51:06 +00:00
|
|
|
|
2023-01-12 01:03:26 +00:00
|
|
|
# arch
|
|
|
|
SOURCES_C += \
|
|
|
|
$(EMU)/arch/shared/socketdrv/socketdrv.c
|
|
|
|
|
|
|
|
# restorations
|
|
|
|
SOURCES_C += \
|
|
|
|
$(RETRODEP)/embedded.c \
|
|
|
|
$(RETRODEP)/embedded/c64embedded.c
|
|
|
|
|
2020-09-20 15:51:06 +00:00
|
|
|
# stubs
|
|
|
|
SOURCES_C += \
|
2021-04-16 14:45:35 +00:00
|
|
|
$(RETRODEP)/info.c \
|
|
|
|
$(RETRODEP)/cart/cpmcart.c \
|
|
|
|
$(RETRODEP)/gfxoutputdrv/gfxoutput.c \
|
|
|
|
$(RETRODEP)/monitor/asm6502.c \
|
|
|
|
$(RETRODEP)/monitor/asmR65C02.c \
|
|
|
|
$(RETRODEP)/monitor/asmz80.c \
|
|
|
|
$(RETRODEP)/monitor/monitor.c \
|
|
|
|
$(RETRODEP)/monitor/monitor_network.c \
|
|
|
|
$(RETRODEP)/monitor/mon_util.c \
|
|
|
|
$(RETRODEP)/printerdrv/drv-1520.c \
|
|
|
|
$(RETRODEP)/printerdrv/drv-mps803.c \
|
|
|
|
$(RETRODEP)/printerdrv/drv-nl10.c \
|
|
|
|
$(RETRODEP)/samplerdrv/file_drv.c \
|
|
|
|
$(RETRODEP)/samplerdrv/sampler.c \
|
2021-05-04 23:22:41 +00:00
|
|
|
$(RETRODEP)/video/renderscale2x.c \
|
2021-04-16 14:45:35 +00:00
|
|
|
$(RETRODEP)/video/video-render-2x2.c \
|
|
|
|
|