xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

meson.build (1354B)


      1 srcs_xorg_int10 = [
      2     'vbe.c',
      3     'vbeModes.c',
      4     'helper_exec.c',
      5     'helper_mem.c',
      6     'xf86int10.c',
      7     'xf86int10module.c',
      8 ]
      9 
     10 int10_c_args = [xorg_c_args]
     11 int10_link = []
     12 
     13 if host_machine.cpu() == 'i386' or host_machine.cpu() == 'x86_64'
     14     int10_c_args += '-D_PC'
     15 endif
     16 
     17 if int10 == 'stub'
     18     srcs_xorg_int10 += 'stub.c'
     19     int10_c_args += '-D_VM86_LINUX'
     20 endif
     21 
     22 if int10 == 'x86emu'
     23     srcs_xorg_int10 += [
     24         'generic.c',
     25         'xf86x86emu.c',
     26         'x86emu.c',
     27     ]
     28     int10_c_args += '-D_X86EMU'
     29     int10_c_args += '-DNO_SYS_HEADERS'
     30 
     31     # Silence some useless warnings from x86emu
     32     if cc.has_argument('-Wno-format-nonliteral')
     33         int10_c_args += '-Wno-format-nonliteral'
     34     endif
     35 
     36     int10_link += xorg_x86emu
     37 endif
     38 
     39 if int10 == 'vm86'
     40     srcs_xorg_int10 += [
     41         'vm86/linux_vm86.c',
     42         'linux.c',
     43     ]
     44     int10_c_args += '-D_VM86_LINUX'
     45 endif
     46 
     47 xorg_int10 = shared_module('int10',
     48     srcs_xorg_int10,
     49     include_directories: [
     50         inc,
     51         xorg_inc,
     52         include_directories('../x86emu')
     53     ],
     54     dependencies: common_dep,
     55     link_with: int10_link,
     56     c_args: int10_c_args,
     57 
     58     install: true,
     59     install_dir: module_dir,
     60 )
     61 
     62 install_data('xf86int10.h', install_dir: xorgsdkdir)
     63 install_data('vbe.h', install_dir: xorgsdkdir)
     64 install_data('vbeModes.h', install_dir: xorgsdkdir)