xfree86: common: move public SDK headers to include/

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-02-12 18:57:14 +01:00
committed by Enrico Weigelt
parent 1cc06b8d60
commit a1081d7765
6 changed files with 9 additions and 9 deletions

View File

@@ -5,12 +5,6 @@ srcs_xorg_os_support = [
'shared/vidmem.c', 'shared/vidmem.c',
] ]
hdrs_xorg_os_support = [
'bus/xf86Pci.h',
'xf86_OSlib.h',
'xf86_OSproc.h'
]
os_dep = [] os_dep = []
os_c_args = [] os_c_args = []
@@ -18,7 +12,6 @@ if get_option('pciaccess')
srcs_xorg_os_support += 'bus/Pci.c' srcs_xorg_os_support += 'bus/Pci.c'
if host_machine.cpu_family() in ['sparc', 'sparc64'] if host_machine.cpu_family() in ['sparc', 'sparc64']
srcs_xorg_os_support += 'bus/Sbus.c' srcs_xorg_os_support += 'bus/Sbus.c'
install_data('bus/xf86Sbus.h', install_dir: xorgsdkdir)
endif endif
endif endif
@@ -178,5 +171,3 @@ xorg_os_support = static_library('xorg_os_support',
], ],
c_args: xorg_c_args + os_c_args, c_args: xorg_c_args + os_c_args,
) )
install_data(hdrs_xorg_os_support, install_dir: xorgsdkdir)

View File

@@ -519,6 +519,10 @@ if build_xorg
'xf86Module.h', 'xf86Module.h',
'xf86Xinput.h', 'xf86Xinput.h',
'xf86sbusBus.h', 'xf86sbusBus.h',
'xf86Sbus.h',
'xf86Pci.h',
'xf86_OSlib.h',
'xf86_OSproc.h',
'xisb.h', 'xisb.h',
'xkbsrv.h', 'xkbsrv.h',
'xkbstr.h', 'xkbstr.h',
@@ -547,4 +551,9 @@ if build_xorg
if build_mitshm if build_mitshm
install_data(['shmint.h'], install_dir: xorgsdkdir) install_data(['shmint.h'], install_dir: xorgsdkdir)
endif endif
if get_option('pciaccess') and host_machine.cpu_family() in ['sparc', 'sparc64']
install_data('xf86Sbus.h', install_dir: xorgsdkdir)
endif
endif endif