This commit is contained in:
parent
99e0bc2058
commit
07eb5c713d
|
|
@ -14,6 +14,10 @@ if build_xorg
|
|||
subdir('xfree86')
|
||||
endif
|
||||
|
||||
if build_xorg_sdk
|
||||
subdir('xfree86/sdk')
|
||||
endif
|
||||
|
||||
if build_xquartz
|
||||
subdir('xquartz')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -24,27 +24,7 @@ srcs_xorg_common = [
|
|||
'xf86Extensions.c',
|
||||
]
|
||||
|
||||
xorg_sdk_headers = [
|
||||
'compiler.h',
|
||||
'xf86.h',
|
||||
'xf86Module.h',
|
||||
'xf86Opt.h',
|
||||
'xf86PciInfo.h',
|
||||
'xf86Priv.h',
|
||||
'xf86Privstr.h',
|
||||
'xf86cmap.h',
|
||||
'xf86fbman.h',
|
||||
'xf86str.h',
|
||||
'xf86Xinput.h',
|
||||
'xisb.h',
|
||||
'xorgVersion.h',
|
||||
'xf86sbusBus.h',
|
||||
'xf86VGAarbiter.h',
|
||||
'xf86Optionstr.h',
|
||||
'xf86platformBus.h',
|
||||
'xf86MatchDrivers.h',
|
||||
'xaarop.h',
|
||||
]
|
||||
# xorg_sdk_headers is not in ../sdk
|
||||
|
||||
fallback_driver = get_option('fallback_input_driver')
|
||||
if fallback_driver == 'auto'
|
||||
|
|
@ -57,12 +37,10 @@ endif
|
|||
|
||||
if build_dga
|
||||
srcs_xorg_common += 'xf86DGA.c'
|
||||
xorg_sdk_headers += 'dgaproc.h'
|
||||
endif
|
||||
|
||||
if build_xv
|
||||
srcs_xorg_common += ['xf86xv.c', 'xf86xvmc.c']
|
||||
xorg_sdk_headers += ['xf86xv.h', 'xf86xvmc.h', 'xf86xvpriv.h']
|
||||
endif
|
||||
|
||||
if build_udev
|
||||
|
|
@ -99,5 +77,3 @@ xorg_common = static_library('xorg_common',
|
|||
'-DFALLBACK_INPUT_DRIVER="@0@"'.format(fallback_driver)
|
||||
],
|
||||
)
|
||||
|
||||
install_data(xorg_sdk_headers, install_dir: xorgsdkdir)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
xorg_sdk_headers = [
|
||||
'../common/compiler.h',
|
||||
'../common/xf86.h',
|
||||
'../common/xf86Module.h',
|
||||
'../common/xf86Opt.h',
|
||||
'../common/xf86PciInfo.h',
|
||||
'../common/xf86Priv.h',
|
||||
'../common/xf86Privstr.h',
|
||||
'../common/xf86cmap.h',
|
||||
'../common/xf86fbman.h',
|
||||
'../common/xf86str.h',
|
||||
'../common/xf86Xinput.h',
|
||||
'../common/xisb.h',
|
||||
'../common/xorgVersion.h',
|
||||
'../common/xf86sbusBus.h',
|
||||
'../common/xf86VGAarbiter.h',
|
||||
'../common/xf86Optionstr.h',
|
||||
'../common/xf86platformBus.h',
|
||||
'../common/xf86MatchDrivers.h',
|
||||
'../common/xaarop.h',
|
||||
]
|
||||
|
||||
if build_dga
|
||||
xorg_sdk_headers += '../common/dgaproc.h'
|
||||
endif
|
||||
|
||||
if build_xv
|
||||
xorg_sdk_headers += ['../common/xf86xv.h', '../common/xf86xvmc.h', '../common/xf86xvpriv.h']
|
||||
endif
|
||||
|
||||
if build_xorg_sdk
|
||||
install_data(xorg_sdk_headers, install_dir: xorgsdkdir)
|
||||
endif
|
||||
Loading…
Reference in New Issue