Doc: add XML ID attributes to <sectN> and <varlistentry> tags.
[pgsql.git] / src / meson.build
blob80fd2823a9866144abd3b06bbf008eabc1eeedd6
1 # Copyright (c) 2022-2023, PostgreSQL Global Development Group
3 # libraries that other subsystems might depend upon first, in their respective
4 # dependency order
6 subdir('timezone')
8 subdir('backend')
10 subdir('bin')
12 subdir('pl')
14 subdir('interfaces')
17 ### Generate a Makefile.global that's complete enough for PGXS to work.
19 # This is somewhat ugly, but allows extensions to use a single buildsystem
20 # across all the supported postgres versions. Once all supported PG versions
21 # support meson, we can remove all of this.
23 # XXX: Should we make this optional?
25 # pgxs_cdata is built in makefiles/meson.build, but some of the generated
26 # files are output into src/
27 subdir('makefiles')
29 makefile_global = configure_file(
30   input: 'Makefile.global.in',
31   output: 'Makefile.global',
32   configuration: pgxs_cdata,
33   install: true,
34   install_dir: dir_pgxs / 'src',
36 configure_files += makefile_global
38 makefile_port = configure_file(
39   input: 'makefiles' / 'Makefile.@0@'.format(portname),
40   output: 'Makefile.port',
41   copy: true,
42   install_dir: dir_pgxs / 'src')
43 configure_files += makefile_port
45 install_data(
46   'Makefile.shlib', 'nls-global.mk',
47   install_dir: dir_pgxs / 'src')
49 install_data(
50   'makefiles/pgxs.mk',
51   install_dir: dir_pgxs / 'src' / 'makefiles')