6 'atkgobjectaccessible.c',
12 'atknoopobjectfactory.c',
25 'atkstreamablecontent.c',
42 'atkgobjectaccessible.h',
47 'atknoopobjectfactory.h',
61 'atkstreamablecontent.h',
71 install_headers(atk_headers, subdir: atk_api_path)
74 atk_version_conf = configuration_data()
75 atk_version_conf.set('ATK_MAJOR_VERSION', atk_major_version)
76 atk_version_conf.set('ATK_MINOR_VERSION', atk_minor_version)
77 atk_version_conf.set('ATK_MICRO_VERSION', atk_micro_version)
78 atk_version_conf.set('ATK_BINARY_AGE', atk_binary_age)
79 atk_version_conf.set('ATK_INTERFACE_AGE', atk_interface_age)
80 atk_version_conf.set('LT_CURRENT_MINUS_AGE', '0')
82 atk_version_h = configure_file(input: 'atkversion.h.in',
83 output: 'atkversion.h',
84 configuration: atk_version_conf,
86 install_dir: join_paths(atk_includedir, atk_api_path))
89 atk_marshals = gnome.genmarshal('atkmarshal',
90 sources: 'atkmarshal.list',
91 prefix: 'atk_marshal')
92 atk_marshal_h = atk_marshals[1]
94 # Enumerations for GType
95 atk_enums = gnome.mkenums('atk-enum-types',
97 c_template: 'atk-enum-types.c.template',
98 h_template: 'atk-enum-types.h.template',
99 install_dir: join_paths(atk_includedir, atk_api_path),
100 install_header: true)
101 atk_enum_h = atk_enums[1]
104 '-DG_LOG_DOMAIN="Atk"',
105 '-DG_LOG_USE_STRUCTURED=1',
106 '-DGLIB_DISABLE_DEPRECATION_WARNINGS',
107 '-DATK_DISABLE_DEPRECATION_WARNINGS',
109 '-DATK_LOCALEDIR="@0@"'.format(join_paths(atk_datadir, 'locale')),
112 if host_system == 'windows'
113 atk_win_rc = configure_file(
116 configuration: atk_version_conf,
118 atk_win_res = import('windows').compile_resources(atk_win_rc)
119 atk_sources += atk_win_res
122 atk_inc = include_directories('.')
124 libatk = shared_library('atk-@0@'.format(atk_api_version),
125 sources: atk_sources + atk_enums + atk_marshals,
126 soversion: atk_soversion,
127 version: atk_libversion,
129 dependencies: gobject_dep,
130 include_directories: [ root_inc, atk_inc ],
131 c_args: common_cflags + atk_cflags,
132 link_args: common_ldflags)
134 libatk_dep = declare_dependency(link_with: libatk,
135 include_directories: atk_inc,
136 dependencies: gobject_dep,
139 if not meson.is_cross_build()
140 gnome.generate_gir(libatk,
141 sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
143 nsversion: atk_api_version,
144 identifier_prefix: 'Atk',
145 symbol_prefix: 'atk',
146 export_packages: 'atk',
147 includes: [ 'GObject-2.0' ],
151 '--c-include=atk/atk.h',