[no ci] Removed Meson build scripts

Added them to docs/pcem-meson-scripts.tar.bz2 if you want them
CMake will be the supported build generator due to future Android support
This commit is contained in:
Michael J. Manley
2022-04-14 13:26:51 -07:00
parent 54159d9340
commit ebb7c9ac25
31 changed files with 0 additions and 1178 deletions

View File

@@ -1,48 +0,0 @@
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/430vx')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/acer386')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ami286')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ami386')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ami386dx')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ami486')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/amixt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/cbm_pc10')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/cmdpc30')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/dells200')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/deskpro386')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/dtk')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/dtk386')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/endeavor')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/europc')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/genxt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/hot-433')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/huyndaixt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/huyndaixte')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ibmat')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ibmpc')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ibmpcjr')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ibmps1es')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ibmxt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/jukopc')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/ltxt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/lxt3')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/mach64gx')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/megapc')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/mr386dx')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/olivetti_m24')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/oti067')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pc1512')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pc1640')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pc200')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pc2086')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pc3086')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/px386')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/pxxt')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/revenge')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/sis496')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/tandy')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/tandy1000hx')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/tandy1000sl2')
install_data('roms.txt', install_dir: get_option('datadir') / 'pcem/roms/win486')
install_data('configs.txt', install_dir: get_option('datadir') / 'pcem/configs')
install_man('pcem.man.1')

Binary file not shown.

View File

@@ -1,51 +0,0 @@
pcem_private_api += files(
'private/bswap.h',
'private/fdi2raw.h',
'private/filters.h',
'private/ibm.h',
'private/io.h',
'private/pch.h',
'private/pgc_palettes.h',
'private/plat-dinput.h',
'private/plat-joystick.h',
'private/plat-keyboard.h',
'private/plat-midi.h',
'private/plat-mouse.h',
'private/pzx.h',
'private/resources.h',
'private/rtc.h',
'private/rtc_tc8521.h',
'private/scamp.h',
'private/thread.h',
'private/timer.h'
)
pcem_include_dirs = include_directories(
'private',
'private/bus',
'private/cdrom',
'private/codegen',
'private/cpu',
'private/devices',
'private/disc',
'private/flash',
'private/floppy',
'private/hdd',
'private/ide',
'private/joystick',
'private/keyboard',
'private/lpt',
'private/memory',
'private/mfm',
'private/models',
'private/mouse',
'private/networking',
'private/plugin-api',
'private/scsi',
'private/sound',
'private/video',
'private/wx-ui',
'public'
)
install_subdir('public', install_dir: get_option('includedir') / 'pcem', strip_directory : true)

View File

@@ -1,29 +0,0 @@
project('PCem', ['c', 'cpp'], version: 'vNext', license: 'GPLv2')
add_project_arguments('-DPCEM_VERSION_STRING="' + meson.project_version() + '"', language: ['c', 'cpp'])
pcem_private_api = []
pcem_public_api = []
pcem_src = []
pcem_project_libraries = []
subdir('includes')
compiler = meson.get_compiler('c')
sdl2 = dependency('sdl2')
openal = dependency('openal')
opengl = dependency('gl')
wxwidgets = dependency('wxwidgets')
pcem_dependencies = [sdl2, openal, opengl, wxwidgets]
if target_machine.cpu_family() == 'x86'
add_project_arguments('-msse2', language: ['c', 'cpp'])
endif
add_project_arguments('-fcommon', language: ['c', 'cpp'])
subdir('docs')
subdir('src')
install_subdir('nvr', install_dir: get_option('datadir') / 'pcem/nvr/default', strip_directory : true)

View File

@@ -1,17 +0,0 @@
option('use-plugin-engine', type: 'boolean', value: false, description: 'Build PCem with plugin support.')
option('use-networking', type: 'boolean', value: false, description: 'Build PCem with networking support.')
option('use-pcap-networking', type: 'boolean', value: true, description: 'Build PCem with PCAP support. Need to allow networking support for this option to work.')
option('use-alsa', type: 'boolean', value: false, description: 'Build PCem with MIDI output using ALSA. This option only works on Linux.')
option('allow-experimental-code', type: 'boolean', value: false, description: 'Build PCem with experimental code.')
option('use-experimental-pdc', type: 'boolean', value: false, description: 'Build Professional Graphics Controller Support. Need to allow experimental code for this option to work.')
option('use-experimental-printer', type: 'boolean', value: false, description: 'Build Printer Support. Need to allow experimental code for this option to work.')
option('slirp-debug', type: 'boolean', value: false, description: 'Build PCem with SLIRP_DEBUG debug output. Needs to be a debug build to do anything.')
option('recompiler-debug', type: 'boolean', value: false, description: 'Build PCem with RECOMPILER_DEBUG debug output. Needs to be a debug build to do anything.')
option('ne2000-debug', type: 'boolean', value: false, description: 'Build PCem with NE2000_DEBUG debug output. Needs to be a debug build to do anything.')
option('emu8k-debug-registers', type: 'boolean', value: false, description: 'Build PCem with EMU8K_DEBUG_REGISTERS debug output. Needs to be a debug build to do anything.')
option('sb-dsp-record-debug', type: 'boolean', value: false, description: 'Build PCem with SB_DSP_RECORD_DEBUG debug output. Needs to be a debug build to do anything.')
option('mach64-debug', type: 'boolean', value: false, description: 'Build PCem with MACH64_DEBUG debug output. Needs to be a debug build to do anything.')
option('plugin-debug', type: 'boolean', value: false, description: 'Build PCem with PLUGIN_DEBUG debug output. Needs to be a debug build to do anything.')
option('extra-debug', type: 'boolean', value: false, description: 'Build PCem with DEBUG_EXTRA debug output. Needs to be a debug build to do anything.')
option('printer-debug', type: 'boolean', value: false, description: 'Build PCem with PRINTER_DEBUG debug output. Needs to be a debug build to do anything.')

View File

@@ -1,9 +0,0 @@
pcem_private_api += files(
'../../includes/private/bus/mca.h',
'../../includes/private/bus/pci.h'
)
pcem_src += files(
'mca.c',
'pci.c'
)

View File

@@ -1,22 +0,0 @@
pcem_private_api += files(
'../../includes/private/cdrom/cdrom-image.h',
'../../includes/private/cdrom/cdrom-ioctl.h',
'../../includes/private/cdrom/cdrom-null.h'
)
pcem_src += files(
'cdrom-image.cc',
'cdrom-null.c'
)
if target_machine.system() == 'linux'
pcem_src += files(
'cdrom-ioctl-linux.c'
)
endif
if target_machine.system() == 'windows'
pcem_src += files(
'cdrom-ioctl.c'
)
endif

View File

@@ -1,124 +0,0 @@
pcem_private_api += files(
'../../includes/private/codegen/codegen_accumulate.h',
'../../includes/private/codegen/codegen_allocator.h',
'../../includes/private/codegen/codegen_backend_arm64_defs.h',
'../../includes/private/codegen/codegen_backend_arm64.h',
'../../includes/private/codegen/codegen_backend_arm64_ops.h',
'../../includes/private/codegen/codegen_backend_arm_defs.h',
'../../includes/private/codegen/codegen_backend_arm.h',
'../../includes/private/codegen/codegen_backend_arm_ops.h',
'../../includes/private/codegen/codegen_backend.h',
'../../includes/private/codegen/codegen_backend_x86-64_defs.h',
'../../includes/private/codegen/codegen_backend_x86-64.h',
'../../includes/private/codegen/codegen_backend_x86-64_ops.h',
'../../includes/private/codegen/codegen_backend_x86-64_ops_helpers.h',
'../../includes/private/codegen/codegen_backend_x86-64_ops_sse.h',
'../../includes/private/codegen/codegen_backend_x86_defs.h',
'../../includes/private/codegen/codegen_backend_x86.h',
'../../includes/private/codegen/codegen_backend_x86_ops_fpu.h',
'../../includes/private/codegen/codegen_backend_x86_ops.h',
'../../includes/private/codegen/codegen_backend_x86_ops_helpers.h',
'../../includes/private/codegen/codegen_backend_x86_ops_sse.h',
'../../includes/private/codegen/codegen.h',
'../../includes/private/codegen/codegen_ir_defs.h',
'../../includes/private/codegen/codegen_ir.h',
'../../includes/private/codegen/codegen_ops_3dnow.h',
'../../includes/private/codegen/codegen_ops_arith.h',
'../../includes/private/codegen/codegen_ops_branch.h',
'../../includes/private/codegen/codegen_ops_fpu_arith.h',
'../../includes/private/codegen/codegen_ops_fpu_constant.h',
'../../includes/private/codegen/codegen_ops_fpu_loadstore.h',
'../../includes/private/codegen/codegen_ops_fpu_misc.h',
'../../includes/private/codegen/codegen_ops.h',
'../../includes/private/codegen/codegen_ops_helpers.h',
'../../includes/private/codegen/codegen_ops_jump.h',
'../../includes/private/codegen/codegen_ops_logic.h',
'../../includes/private/codegen/codegen_ops_misc.h',
'../../includes/private/codegen/codegen_ops_mmx_arith.h',
'../../includes/private/codegen/codegen_ops_mmx_cmp.h',
'../../includes/private/codegen/codegen_ops_mmx_loadstore.h',
'../../includes/private/codegen/codegen_ops_mmx_logic.h',
'../../includes/private/codegen/codegen_ops_mmx_pack.h',
'../../includes/private/codegen/codegen_ops_mmx_shift.h',
'../../includes/private/codegen/codegen_ops_mov.h',
'../../includes/private/codegen/codegen_ops_shift.h',
'../../includes/private/codegen/codegen_ops_stack.h',
'../../includes/private/codegen/codegen_reg.h',
'../../includes/private/codegen/codegen_timing_common.h',
'../../includes/private/codegen/codegen_x86-64.h',
)
pcem_src += files(
'codegen.c',
'codegen_accumulate.c',
'codegen_allocator.c',
'codegen_block.c',
'codegen_ir.c',
'codegen_ops.c',
'codegen_ops_3dnow.c',
'codegen_ops_arith.c',
'codegen_ops_branch.c',
'codegen_ops_fpu_arith.c',
'codegen_ops_fpu_constant.c',
'codegen_ops_fpu_loadstore.c',
'codegen_ops_fpu_misc.c',
'codegen_ops_helpers.c',
'codegen_ops_jump.c',
'codegen_ops_logic.c',
'codegen_ops_misc.c',
'codegen_ops_mmx_arith.c',
'codegen_ops_mmx_cmp.c',
'codegen_ops_mmx_loadstore.c',
'codegen_ops_mmx_logic.c',
'codegen_ops_mmx_pack.c',
'codegen_ops_mmx_shift.c',
'codegen_ops_mov.c',
'codegen_ops_shift.c',
'codegen_ops_stack.c',
'codegen_reg.c',
'codegen_timing_486.c',
'codegen_timing_686.c',
'codegen_timing_common.c',
'codegen_timing_cyrixiii.c',
'codegen_timing_k6.c',
'codegen_timing_p6.c',
'codegen_timing_pentium.c',
'codegen_timing_winchip.c',
'codegen_timing_winchip2.c'
)
if target_machine.cpu_family() == 'x86_64'
pcem_src += files(
'x86-64/codegen_backend_x86-64.c',
'x86-64/codegen_backend_x86-64_ops.c',
'x86-64/codegen_backend_x86-64_ops_sse.c',
'x86-64/codegen_backend_x86-64_uops.c'
)
endif
if target_machine.cpu_family() == 'x86'
pcem_src += files(
'x86/codegen_backend_x86.c',
'x86/codegen_backend_x86_ops.c',
'x86/codegen_backend_x86_ops_fpu.c',
'x86/codegen_backend_x86_ops_sse.c',
'x86/codegen_backend_x86_uops.c'
)
endif
if target_machine.cpu_family() == 'arm'
pcem_src += files(
'arm32/codegen_backend_arm.c',
'arm32/codegen_backend_arm_ops.c',
'arm32/codegen_backend_arm_uops.c',
)
endif
if target_machine.cpu_family() == 'aarch64'
pcem_src += files(
'arm64/codegen_backend_arm64.c',
'arm64/codegen_backend_arm64_imm.c',
'arm64/codegen_backend_arm64_ops.c',
'arm64/codegen_backend_arm64_uops.c',
)
endif

View File

@@ -1,65 +0,0 @@
pcem_private_api += files(
'../../includes/private/cpu/cpu.h',
'../../includes/private/cpu/386_common.h',
'../../includes/private/cpu/386_ops.h',
'../../includes/private/cpu/8087.h',
'../../includes/private/cpu/x86_flags.h',
'../../includes/private/cpu/x86.h',
'../../includes/private/cpu/x86_ops_3dnow.h',
'../../includes/private/cpu/x86_ops_arith.h',
'../../includes/private/cpu/x86_ops_atomic.h',
'../../includes/private/cpu/x86_ops_bcd.h',
'../../includes/private/cpu/x86_ops_bit.h',
'../../includes/private/cpu/x86_ops_bitscan.h',
'../../includes/private/cpu/x86_ops_call.h',
'../../includes/private/cpu/x86_ops_cyrix.h',
'../../includes/private/cpu/x86_ops_flag.h',
'../../includes/private/cpu/x86_ops_fpu.h',
'../../includes/private/cpu/x86_ops.h',
'../../includes/private/cpu/x86_ops_inc_dec.h',
'../../includes/private/cpu/x86_ops_int.h',
'../../includes/private/cpu/x86_ops_io.h',
'../../includes/private/cpu/x86_ops_jump.h',
'../../includes/private/cpu/x86_ops_misc.h',
'../../includes/private/cpu/x86_ops_mmx_arith.h',
'../../includes/private/cpu/x86_ops_mmx_cmp.h',
'../../includes/private/cpu/x86_ops_mmx.h',
'../../includes/private/cpu/x86_ops_mmx_logic.h',
'../../includes/private/cpu/x86_ops_mmx_mov.h',
'../../includes/private/cpu/x86_ops_mmx_pack.h',
'../../includes/private/cpu/x86_ops_mmx_shift.h',
'../../includes/private/cpu/x86_ops_mov_ctrl.h',
'../../includes/private/cpu/x86_ops_mov.h',
'../../includes/private/cpu/x86_ops_mov_seg.h',
'../../includes/private/cpu/x86_ops_movx.h',
'../../includes/private/cpu/x86_ops_msr.h',
'../../includes/private/cpu/x86_ops_mul.h',
'../../includes/private/cpu/x86_ops_pmode.h',
'../../includes/private/cpu/x86_ops_prefix.h',
'../../includes/private/cpu/x86_ops_rep.h',
'../../includes/private/cpu/x86_ops_ret.h',
'../../includes/private/cpu/x86_ops_set.h',
'../../includes/private/cpu/x86_ops_shift.h',
'../../includes/private/cpu/x86_ops_stack.h',
'../../includes/private/cpu/x86_ops_string.h',
'../../includes/private/cpu/x86_ops_xchg.h',
'../../includes/private/cpu/x87.h',
'../../includes/private/cpu/x87_ops_arith.h',
'../../includes/private/cpu/x87_ops.h',
'../../includes/private/cpu/x87_ops_loadstore.h',
'../../includes/private/cpu/x87_ops_misc.h',
'../../includes/private/cpu/x87_timings.h',
)
pcem_src += files(
'386.c',
'386_common.c',
'386_dynarec.c',
'386_dynarec_ops.c',
'808x.c',
'cpu.c',
'cpu_tables.c',
'x86seg.c',
'x87.c',
'x87_timings.c'
)

View File

@@ -1,31 +0,0 @@
if get_option('buildtype').startswith('debug')
if get_option('slirp-debug')
add_project_arguments('-DSLIRP_DEBUG', language: ['c', 'cpp'])
endif
if get_option('recompiler-debug')
add_project_arguments('-DRECOMPILER_DEBUG', language: ['c', 'cpp'])
endif
if get_option('ne2000-debug')
add_project_arguments('-DNE2000_DEBUG', language: ['c', 'cpp'])
endif
if get_option('emu8k-debug-registers')
add_project_arguments('-DEMU8K_DEBUG_REGISTERS', language: ['c', 'cpp'])
endif
if get_option('sb-dsp-record-debug')
add_project_arguments('-DSB_DSP_RECORD_DEBUG', language: ['c', 'cpp'])
endif
if get_option('mach64-debug')
add_project_arguments('-DMACH64_DEBUG', language: ['c', 'cpp'])
endif
if get_option('plugin-debug')
add_project_arguments('-DPLUGIN_DEBUG', language: ['c', 'cpp'])
endif
if get_option('extra-debug')
add_project_arguments('-DDEBUG_EXTRA', language: ['c', 'cpp'])
endif
if get_option('printer-debug')
add_project_arguments('-DPRINTER_DEBUG', language: ['c', 'cpp'])
endif
else
add_project_arguments('-DRELEASE_BUILD', language: ['c', 'cpp'])
endif

View File

@@ -1,18 +0,0 @@
pcem_private_api += files(
'../../includes/private/devices/cassette.h',
'../../includes/private/devices/esdi_at.h',
'../../includes/private/devices/f82c710_upc.h',
'../../includes/private/devices/nvr.h',
'../../includes/private/devices/nvr_tc8521.h',
'../../includes/private/devices/ps2_nvr.h',
'../../includes/private/devices/sis496.h'
)
pcem_src += files(
'cassette.c',
'esdi_at.c',
'f82c710_upc.c',
'nvr.c',
'ps2_nvr.c',
'sis496.c'
)

View File

@@ -1,13 +0,0 @@
pcem_private_api += files(
'../../includes/private/disc/disc_fdi.h',
'../../includes/private/disc/disc.h',
'../../includes/private/disc/disc_img.h',
'../../includes/private/disc/disc_sector.h'
)
pcem_src += files(
'disc.c',
'disc_fdi.c',
'disc_img.c',
'disc_sector.c'
)

View File

@@ -1,13 +0,0 @@
pcem_private_api += files(
'../../includes/private/dosbox/cdrom.h',
'../../includes/private/dosbox/dbopl.h',
'../../includes/private/dosbox/nukedopl.h',
'../../includes/private/dosbox/vid_cga_comp.h'
)
pcem_src += files(
'cdrom_image.cpp',
'dbopl.cpp',
'nukedopl.cpp',
'vid_cga_comp.c'
)

View File

@@ -1,15 +0,0 @@
pcem_private_api += files(
'../../includes/private/flash/intel_flash.h',
'../../includes/private/flash/rom.h',
'../../includes/private/flash/sst39sf010.h',
'../../includes/private/flash/tandy_eeprom.h',
'../../includes/private/flash/tandy_rom.h'
)
pcem_src += files(
'intel_flash.c',
'rom.c',
'sst39sf010.c',
'tandy_eeprom.c',
'tandy_rom.c'
)

View File

@@ -1,13 +0,0 @@
pcem_private_api += files(
'../../includes/private/floppy/fdc37c665.h',
'../../includes/private/floppy/fdc37c93x.h',
'../../includes/private/floppy/fdc.h',
'../../includes/private/floppy/fdd.h'
)
pcem_src += files(
'fdc.c',
'fdc37c665.c',
'fdc37c93x.c',
'fdd.c'
)

View File

@@ -1,31 +0,0 @@
pcem_private_api += files(
'../../includes/private/hdd/hdd_esdi.h',
'../../includes/private/hdd/hdd_file.h',
'../../includes/private/hdd/hdd.h',
'../../includes/private/hdd/minivhd/cwalk.h',
'../../includes/private/hdd/minivhd/libxml2_encoding.h',
'../../includes/private/hdd/minivhd/minivhd_create.h',
'../../includes/private/hdd/minivhd/minivhd.h',
'../../includes/private/hdd/minivhd/minivhd_internal.h',
'../../includes/private/hdd/minivhd/minivhd_io.h',
'../../includes/private/hdd/minivhd/minivhd_struct_rw.h',
'../../includes/private/hdd/minivhd/minivhd_util.h'
)
pcem_src += files(
'hdd.c',
'hdd_esdi.c',
'hdd_file.c'
)
# MiniVHD
pcem_src += files(
'minivhd/cwalk.c',
'minivhd/libxml2_encoding.c',
'minivhd/minivhd_convert.c',
'minivhd/minivhd_create.c',
'minivhd/minivhd_io.c',
'minivhd/minivhd_manage.c',
'minivhd/minivhd_struct_rw.c',
'minivhd/minivhd_util.c'
)

View File

@@ -1,13 +0,0 @@
pcem_private_api += files(
'../../includes/private/ide/ide_atapi.h',
'../../includes/private/ide/ide.h',
'../../includes/private/ide/ide_sff8038i.h',
'../../includes/private/ide/xtide.h'
)
pcem_src += files(
'ide.c',
'ide_atapi.c',
'ide_sff8038i.c',
'xtide.c'
)

View File

@@ -1,15 +0,0 @@
pcem_private_api += files(
'../../includes/private/joystick/gameport.h',
'../../includes/private/joystick/joystick_ch_flightstick_pro.h',
'../../includes/private/joystick/joystick_standard.h',
'../../includes/private/joystick/joystick_sw_pad.h',
'../../includes/private/joystick/joystick_tm_fcs.h'
)
pcem_src += files(
'gameport.c',
'joystick_ch_flightstick_pro.c',
'joystick_standard.c',
'joystick_sw_pad.c',
'joystick_tm_fcs.c'
)

View File

@@ -1,17 +0,0 @@
pcem_private_api += files(
'../../includes/private/keyboard/keyboard_amstrad.h',
'../../includes/private/keyboard/keyboard_at.h',
'../../includes/private/keyboard/keyboard.h',
'../../includes/private/keyboard/keyboard_olim24.h',
'../../includes/private/keyboard/keyboard_pcjr.h',
'../../includes/private/keyboard/keyboard_xt.h'
)
pcem_src += files(
'keyboard.c',
'keyboard_amstrad.c',
'keyboard_at.c',
'keyboard_olim24.c',
'keyboard_pcjr.c',
'keyboard_xt.c'
)

View File

@@ -1,11 +0,0 @@
pcem_private_api += files(
'../../includes/private/lpt/lpt_dac.h',
'../../includes/private/lpt/lpt_dss.h',
'../../includes/private/lpt/lpt.h'
)
pcem_src += files(
'lpt.c',
'lpt_dac.c',
'lpt_dss.c'
)

View File

@@ -1,9 +0,0 @@
pcem_private_api += files(
'../../includes/private/memory/mem_bios.h',
'../../includes/private/memory/mem.h'
)
pcem_src += files(
'mem.c',
'mem_bios.c'
)

View File

@@ -1,45 +0,0 @@
if get_option('use-plugin-engine')
add_project_arguments('-DPLUGIN_ENGINE', language: ['c', 'cpp'])
endif
subdir('bus')
subdir('cdrom')
subdir('codegen')
subdir('cpu')
subdir('devices')
subdir('disc')
subdir('dosbox')
subdir('flash')
subdir('floppy')
subdir('hdd')
subdir('ide')
subdir('joystick')
subdir('keyboard')
subdir('lpt')
subdir('memory')
subdir('mfm')
subdir('models')
subdir('mouse')
if get_option('use-networking')
subdir('networking')
endif
subdir('scsi')
subdir('sound')
subdir('video')
subdir('wx-ui')
pcem_src += files(
'fdi2raw.c',
'io.c',
'mcr.c',
'pc.c',
'ppi.c',
'pzx.c',
'rtc.c',
'rtc_tc8521.c',
'timer.c'
)
subdir('plugin-api')
executable('pcem', pcem_src, dependencies: pcem_dependencies, link_with: pcem_project_libraries, include_directories: pcem_include_dirs, install: true, win_subsystem: 'windows')

View File

@@ -1,9 +0,0 @@
pcem_private_api += files(
'../../includes/private/mfm/mfm_at.h',
'../../includes/private/mfm/mfm_xebec.h'
)
pcem_src += files(
'mfm_at.c',
'mfm_xebec.c'
)

View File

@@ -1,115 +0,0 @@
pcem_private_api += files(
'../../includes/private/models/82091aa.h',
'../../includes/private/models/acc2036.h',
'../../includes/private/models/acc2168.h',
'../../includes/private/models/acc3221.h',
'../../includes/private/models/acer386sx.h',
'../../includes/private/models/ali1429.h',
'../../includes/private/models/amstrad.h',
'../../includes/private/models/cbm_io.h',
'../../includes/private/models/cmd640.h',
'../../includes/private/models/compaq.h',
'../../includes/private/models/cs8230.h',
'../../includes/private/models/dells200.h',
'../../includes/private/models/dma.h',
'../../includes/private/models/headland.h',
'../../includes/private/models/i430fx.h',
'../../includes/private/models/i430hx.h',
'../../includes/private/models/i430lx.h',
'../../includes/private/models/i430vx.h',
'../../includes/private/models/i440bx.h',
'../../includes/private/models/i440fx.h',
'../../includes/private/models/intel.h',
'../../includes/private/models/jim.h',
'../../includes/private/models/laserxt.h',
'../../includes/private/models/model.h',
'../../includes/private/models/mvp3.h',
'../../includes/private/models/neat.h',
'../../includes/private/models/nmi.h',
'../../includes/private/models/olivetti_m24.h',
'../../includes/private/models/opti495.h',
'../../includes/private/models/pc87306.h',
'../../includes/private/models/pc87307.h',
'../../includes/private/models/pic.h',
'../../includes/private/models/piix.h',
'../../includes/private/models/piix_pm.h',
'../../includes/private/models/pit.h',
'../../includes/private/models/ps1.h',
'../../includes/private/models/ps2.h',
'../../includes/private/models/ps2_mca.h',
'../../includes/private/models/scat.h',
'../../includes/private/models/serial.h',
'../../includes/private/models/sio.h',
'../../includes/private/models/sl82c460.h',
'../../includes/private/models/superxt.h',
'../../includes/private/models/t1000.h',
'../../includes/private/models/t3100e.h',
'../../includes/private/models/um8669f.h',
'../../includes/private/models/um8881f.h',
'../../includes/private/models/vl82c480.h',
'../../includes/private/models/vt82c586b.h',
'../../includes/private/models/w83877tf.h',
'../../includes/private/models/w83977tf.h',
'../../includes/private/models/wd76c10.h',
'../../includes/private/models/xi8088.h',
'../../includes/private/models/zenith.h'
)
pcem_src += files(
'82091aa.c',
'acc2036.c',
'acc2168.c',
'acc3221.c',
'acer386sx.c',
'ali1429.c',
'amstrad.c',
'cbm_io.c',
'cmd640.c',
'compaq.c',
'cs8230.c',
'dells200.c',
'dma.c',
'headland.c',
'i430fx.c',
'i430hx.c',
'i430lx.c',
'i430vx.c',
'i440bx.c',
'i440fx.c',
'intel.c',
'jim.c',
'laserxt.c',
'model.c',
'mvp3.c',
'neat.c',
'nmi.c',
'nvr_tc8521.c',
'olivetti_m24.c',
'opti495.c',
'pc87306.c',
'pc87307.c',
'pic.c',
'piix.c',
'piix_pm.c',
'pit.c',
'ps1.c',
'ps2.c',
'ps2_mca.c',
'scamp.c',
'scat.c',
'serial.c',
'sio.c',
'sl82c460.c',
'superxt.c',
't1000.c',
't3100e.c',
'um8669f.c',
'um8881f.c',
'vl82c480.c',
'vt82c586b.c',
'w83877tf.c',
'w83977tf.c',
'wd76c10.c',
'xi8088.c',
'zenith.c'
)

View File

@@ -1,13 +0,0 @@
pcem_private_api += files(
'../../includes/private/mouse/mouse.h',
'../../includes/private/mouse/mouse_msystems.h',
'../../includes/private/mouse/mouse_ps2.h',
'../../includes/private/mouse/mouse_serial.h'
)
pcem_src += files(
'mouse.c',
'mouse_msystems.c',
'mouse_ps2.c',
'mouse_serial.c'
)

View File

@@ -1,69 +0,0 @@
pcem_private_api += files(
'../../includes/private/networking/slirp/bootp.h',
'../../includes/private/networking/slirp/config.h',
'../../includes/private/networking/slirp/config-host.h',
'../../includes/private/networking/slirp/ctl.h',
'../../includes/private/networking/slirp/debug.h',
'../../includes/private/networking/slirp/icmp_var.h',
'../../includes/private/networking/slirp/if.h',
'../../includes/private/networking/slirp/ip.h',
'../../includes/private/networking/slirp/ip_icmp.h',
'../../includes/private/networking/slirp/libslirp.h',
'../../includes/private/networking/slirp/main.h',
'../../includes/private/networking/slirp/mbuf.h',
'../../includes/private/networking/slirp/misc.h',
'../../includes/private/networking/slirp/queue.h',
'../../includes/private/networking/slirp/sbuf.h',
'../../includes/private/networking/slirp/slirp_config.h',
'../../includes/private/networking/slirp/slirp.h',
'../../includes/private/networking/slirp/socket.h',
'../../includes/private/networking/slirp/tcp.h',
'../../includes/private/networking/slirp/tcpip.h',
'../../includes/private/networking/slirp/tcp_timer.h',
'../../includes/private/networking/slirp/tcp_var.h',
'../../includes/private/networking/slirp/tftp.h',
'../../includes/private/networking/slirp/udp.h',
'../../includes/private/networking/ne2000.h',
'../../includes/private/networking/nethandler.h',
)
add_project_arguments('-DUSE_NETWORKING', language: ['c', 'cpp'])
if get_option('use-pcap-networking')
add_project_arguments('-DUSE_PCAP_NETWORKING', language: ['c', 'cpp'])
pcap = dependency('libpcap')
pcem_dependencies += pcap
endif
pcem_src += files(
'ne2000.c',
'nethandler.c'
)
pcem_src += files(
'slirp/bootp.c',
'slirp/cksum.c',
'slirp/debug.c',
'slirp/if.c',
'slirp/ip_icmp.c',
'slirp/ip_input.c',
'slirp/ip_output.c',
'slirp/mbuf.c',
'slirp/misc.c',
'slirp/queue.c',
'slirp/sbuf.c',
'slirp/slirp.c',
'slirp/socket.c',
'slirp/tcp_input.c',
'slirp/tcp_output.c',
'slirp/tcp_subr.c',
'slirp/tcp_timer.c',
'slirp/tftp.c',
'slirp/udp.c'
)
if target_machine.system() == 'windows'
wsock32 = compiler.find_library('wsock32', required: true)
iphlpapi = compiler.find_library('iphlpapi', required: true)
pcem_dependencies += [wsock32, iphlpapi]
endif

View File

@@ -1,33 +0,0 @@
pcem_private_api += files(
'../../includes/private/plugin-api/config.h',
'../../includes/private/plugin-api/paths.h',
'../../includes/private/plugin-api/plugin.h',
'../../includes/private/plugin-api/tinydir.h',
'../../includes/private/plugin-api/device.h'
)
pcem_public_api += files(
'../../includes/public/pcem/cpu.h',
'../../includes/public/pcem/defines.h',
'../../includes/public/pcem/devices.h',
'../../includes/public/pcem/logging.h',
'../../includes/public/pcem/plugin.h',
'../../includes/public/pcem/unsafe/config.h',
'../../includes/public/pcem/unsafe/devices.h'
)
pcem_pluginapi_src = files(
'config.c',
'paths.c',
'logging.c',
'device.c',
'plugin.c',
'wx-utils.cc'
)
if get_option('use-plugin-engine')
pcem_plugin_api = shared_library('pcem', sources: pcem_pluginapi_src, dependencies: pcem_dependencies, include_directories: pcem_include_dirs, install: true)
pcem_project_libraries += pcem_plugin_api
else
pcem_src += pcem_pluginapi_src
endif

View File

@@ -1,19 +0,0 @@
pcem_private_api += files(
'../../includes/private/scsi/scsi_53c400.h',
'../../includes/private/scsi/scsi_aha1540.h',
'../../includes/private/scsi/scsi_cd.h',
'../../includes/private/scsi/scsi.h',
'../../includes/private/scsi/scsi_hd.h',
'../../includes/private/scsi/scsi_ibm.h',
'../../includes/private/scsi/scsi_zip.h'
)
pcem_src += files(
'scsi.c',
'scsi_53c400.c',
'scsi_aha1540.c',
'scsi_cd.c',
'scsi_hd.c',
'scsi_ibm.c',
'scsi_zip.c'
)

View File

@@ -1,93 +0,0 @@
pcem_private_api += files(
'../../includes/private/sound/resid-fp/envelope.h',
'../../includes/private/sound/resid-fp/extfilt.h',
'../../includes/private/sound/resid-fp/filter.h',
'../../includes/private/sound/resid-fp/pot.h',
'../../includes/private/sound/resid-fp/siddefs-fp.h',
'../../includes/private/sound/resid-fp/sid.h',
'../../includes/private/sound/resid-fp/voice.h',
'../../includes/private/sound/resid-fp/wave.h',
'../../includes/private/sound/sound_ad1848.h',
'../../includes/private/sound/sound_adlibgold.h',
'../../includes/private/sound/sound_adlib.h',
'../../includes/private/sound/sound_audiopci.h',
'../../includes/private/sound/sound_azt2316a.h',
'../../includes/private/sound/sound_cms.h',
'../../includes/private/sound/sound_dbopl.h',
'../../includes/private/sound/sound_emu8k.h',
'../../includes/private/sound/sound_gus.h',
'../../includes/private/sound/sound.h',
'../../includes/private/sound/sound_mpu401_uart.h',
'../../includes/private/sound/sound_opl.h',
'../../includes/private/sound/sound_pas16.h',
'../../includes/private/sound/sound_ps1.h',
'../../includes/private/sound/sound_pssj.h',
'../../includes/private/sound/sound_resid.h',
'../../includes/private/sound/sound_sb_dsp.h',
'../../includes/private/sound/sound_sb.h',
'../../includes/private/sound/sound_sn76489.h',
'../../includes/private/sound/sound_speaker.h',
'../../includes/private/sound/sound_ssi2001.h',
'../../includes/private/sound/sound_wss.h',
'../../includes/private/sound/sound_ym7128.h'
)
pcem_src += files(
'sound.c',
'sound_ad1848.c',
'sound_adlib.c',
'sound_adlibgold.c',
'sound_audiopci.c',
'sound_azt2316a.c',
'sound_cms.c',
'sound_dbopl.cc',
'sound_emu8k.c',
'sound_gus.c',
'sound_mpu401_uart.c',
'sound_opl.c',
'sound_pas16.c',
'sound_ps1.c',
'sound_pssj.c',
'sound_resid.cc',
'sound_sb.c',
'sound_sb_dsp.c',
'sound_sn76489.c',
'sound_speaker.c',
'sound_ssi2001.c',
'sound_wss.c',
'sound_ym7128.c',
'soundopenal.c'
)
# RESID-FP
pcem_src += files(
'resid-fp/convolve.cc',
'resid-fp/convolve-sse.cc',
'resid-fp/envelope.cc',
'resid-fp/extfilt.cc',
'resid-fp/filter.cc',
'resid-fp/pot.cc',
'resid-fp/sid.cc',
'resid-fp/voice.cc',
'resid-fp/wave6581_PS_.cc',
'resid-fp/wave6581_PST.cc',
'resid-fp/wave6581_P_T.cc',
'resid-fp/wave6581__ST.cc',
'resid-fp/wave8580_PS_.cc',
'resid-fp/wave8580_PST.cc',
'resid-fp/wave8580_P_T.cc',
'resid-fp/wave8580__ST.cc',
'resid-fp/wave.cc'
)
if target_machine.system() == 'linux' and get_option('use-alsa')
alsa = dependency('alsa')
pcem_dependencies += alsa
pcem_src += files(
'midi_alsa.c'
)
else
pcem_src += files(
'sdl2-midi.c'
)
endif

View File

@@ -1,139 +0,0 @@
pcem_private_api += files(
'../../includes/private/video/video.h',
'../../includes/private/video/vid_et4000.h',
'../../includes/private/video/vid_et4000w32.h',
'../../includes/private/video/vid_genius.h',
'../../includes/private/video/vid_hercules.h',
'../../includes/private/video/vid_ht216.h',
'../../includes/private/video/vid_icd2061.h',
'../../includes/private/video/vid_ics2595.h',
'../../includes/private/video/vid_im1024.h',
'../../includes/private/video/vid_incolor.h',
'../../includes/private/video/vid_mda.h',
'../../includes/private/video/vid_mga.h',
'../../includes/private/video/vid_olivetti_m24.h',
'../../includes/private/video/vid_oti037.h',
'../../includes/private/video/vid_oti067.h',
'../../includes/private/video/vid_paradise.h',
'../../includes/private/video/vid_pc1512.h',
'../../includes/private/video/vid_pc1640.h',
'../../includes/private/video/vid_pc200.h',
'../../includes/private/video/vid_pcjr.h',
'../../includes/private/video/vid_pgc.h',
'../../includes/private/video/vid_ps1_svga.h',
'../../includes/private/video/vid_s3.h',
'../../includes/private/video/vid_s3_virge.h',
'../../includes/private/video/vid_sdac_ramdac.h',
'../../includes/private/video/vid_sigma.h',
'../../includes/private/video/vid_stg_ramdac.h',
'../../includes/private/video/vid_svga.h',
'../../includes/private/video/vid_svga_render.h',
'../../includes/private/video/vid_svga_render_remap.h',
'../../includes/private/video/vid_t1000.h',
'../../includes/private/video/vid_t3100e.h',
'../../includes/private/video/vid_tandy.h',
'../../includes/private/video/vid_tandysl.h',
'../../includes/private/video/vid_tgui9440.h',
'../../includes/private/video/vid_tkd8001_ramdac.h',
'../../includes/private/video/vid_tvga.h',
'../../includes/private/video/vid_tvp3026_ramdac.h',
'../../includes/private/video/vid_unk_ramdac.h',
'../../includes/private/video/vid_vga.h',
'../../includes/private/video/vid_voodoo_banshee_blitter.h',
'../../includes/private/video/vid_voodoo_banshee.h',
'../../includes/private/video/vid_voodoo_blitter.h',
'../../includes/private/video/vid_voodoo_codegen_x86-64.h',
'../../includes/private/video/vid_voodoo_codegen_x86.h',
'../../includes/private/video/vid_voodoo_common.h',
'../../includes/private/video/vid_voodoo_display.h',
'../../includes/private/video/vid_voodoo_dither.h',
'../../includes/private/video/vid_voodoo_fb.h',
'../../includes/private/video/vid_voodoo_fifo.h',
'../../includes/private/video/vid_voodoo.h',
'../../includes/private/video/vid_voodoo_reg.h',
'../../includes/private/video/vid_voodoo_regs.h',
'../../includes/private/video/vid_voodoo_render.h',
'../../includes/private/video/vid_voodoo_setup.h',
'../../includes/private/video/vid_voodoo_texture.h',
'../../includes/private/video/vid_wy700.h',
'../../includes/private/video/vid_ati18800.h',
'../../includes/private/video/vid_ati28800.h',
'../../includes/private/video/vid_ati68860_ramdac.h',
'../../includes/private/video/vid_ati_eeprom.h',
'../../includes/private/video/vid_ati_mach64.h',
'../../includes/private/video/vid_cga.h',
'../../includes/private/video/vid_cl5429.h',
'../../includes/private/video/vid_colorplus.h',
'../../includes/private/video/vid_compaq_cga.h',
'../../includes/private/video/vid_ddc.h',
'../../includes/private/video/vid_ega.h'
)
if get_option('allow-experimental-code') and get_option('use-experimental-pdc')
add_project_arguments('-DUSE_EXPERIMENTAL_PGC', language: ['c', 'cpp'])
endif
pcem_src += files(
'vid_ati18800.c',
'vid_ati28800.c',
'vid_ati68860_ramdac.c',
'vid_ati_eeprom.c',
'vid_ati_mach64.c',
'vid_cga.c',
'vid_cl5429.c',
'vid_colorplus.c',
'vid_compaq_cga.c',
'vid_ddc.c',
'vid_ega.c',
'vid_et4000.c',
'vid_et4000w32.c',
'vid_genius.c',
'vid_hercules.c',
'vid_ht216.c',
'vid_icd2061.c',
'vid_ics2595.c',
'vid_im1024.c',
'vid_incolor.c',
'vid_mda.c',
'vid_mga.c',
'vid_olivetti_m24.c',
'vid_oti037.c',
'vid_oti067.c',
'vid_paradise.c',
'vid_pc1512.c',
'vid_pc1640.c',
'vid_pc200.c',
'vid_pcjr.c',
'vid_pgc.c',
'vid_ps1_svga.c',
'vid_s3.c',
'vid_s3_virge.c',
'vid_sdac_ramdac.c',
'vid_sigma.c',
'vid_stg_ramdac.c',
'vid_svga.c',
'vid_svga_render.c',
'vid_t1000.c',
'vid_t3100e.c',
'vid_tandy.c',
'vid_tandysl.c',
'vid_tgui9440.c',
'vid_tkd8001_ramdac.c',
'vid_tvga.c',
'vid_tvp3026_ramdac.c',
'vid_unk_ramdac.c',
'vid_vga.c',
'vid_voodoo.c',
'vid_voodoo_banshee.c',
'vid_voodoo_banshee_blitter.c',
'vid_voodoo_blitter.c',
'vid_voodoo_display.c',
'vid_voodoo_fb.c',
'vid_voodoo_fifo.c',
'vid_voodoo_reg.c',
'vid_voodoo_render.c',
'vid_voodoo_setup.c',
'vid_voodoo_texture.c',
'vid_wy700.c',
'video.c'
)

View File

@@ -1,79 +0,0 @@
xrcfile = join_paths(meson.current_build_dir(), 'wx-resources.cpp')
run_command('wxrc', '-c', files('pc.xrc'), '-o', xrcfile)
pcem_src += xrcfile
pcem_private_api += files(
'../../includes/private/wx-ui/wx-app.h',
'../../includes/private/wx-ui/wx-common.h',
'../../includes/private/wx-ui/wx-createdisc.h',
'../../includes/private/wx-ui/wx-deviceconfig.h',
'../../includes/private/wx-ui/wx-dialogbox.h',
'../../includes/private/wx-ui/wx-display.h',
'../../includes/private/wx-ui/wx-glsl.h',
'../../includes/private/wx-ui/wx-glslp-parser.h',
'../../includes/private/wx-ui/wx-hostconfig.h',
'../../includes/private/wx-ui/wx-joystickconfig.h',
'../../includes/private/wx-ui/wx-sdl2-glw.h',
'../../includes/private/wx-ui/wx-sdl2.h',
'../../includes/private/wx-ui/wx-sdl2-video-gl3.h',
'../../includes/private/wx-ui/wx-sdl2-video.h',
'../../includes/private/wx-ui/wx-sdl2-video-renderer.h',
'../../includes/private/wx-ui/wx-shaderconfig.h',
'../../includes/private/wx-ui/wx-status.h',
'../../includes/private/wx-ui/wx-utils.h'
)
pcem_src += files(
'wx-main.cc',
'wx-config_sel.c',
'wx-dialogbox.cc',
'wx-utils.cc',
'wx-app.cc',
'wx-sdl2-joystick.c',
'wx-sdl2-mouse.c',
'wx-sdl2-keyboard.c',
'wx-sdl2-video.c',
'wx-sdl2.c',
'wx-config.c',
'wx-deviceconfig.cc',
'wx-status.cc',
'wx-sdl2-status.c',
'wx-thread.c',
'wx-common.c',
'wx-sdl2-video-renderer.c',
'wx-sdl2-video-gl3.c',
'wx-glslp-parser.c',
'wx-shader_man.c',
'wx-shaderconfig.cc',
'wx-joystickconfig.cc',
'wx-config-eventbinder.cc',
'wx-createdisc.cc'
)
if get_option('use-networking')
pcem_src += files(
'wx-hostconfig.c'
)
endif
if target_machine.system() == 'linux'
pcem_src += files(
'wx-sdl2-display.c'
)
endif
if target_machine.system() == 'windows'
pcem_src += files(
'wx-sdl2-display-win.c',
)
raw_wx_windres_args = wxwidgets.get_variable(configtool : 'rescomp').split()
wx_windres_args = []
foreach a : raw_wx_windres_args
if a != 'windres'
wx_windres_args += a
endif
endforeach
pcem_src += import('windows').compile_resources(files('wx.rc'), args: wx_windres_args)
endif