mirror of https://github.com/postgres/postgres
This tool should be considered part of our contrib module similar to how pglogical considers pglogical_create_subscriber. It is a bit confusing that we have to use SCRIPTS_built when building with make but it works.pull/209/head
parent
7ba086867a
commit
dd225825da
@ -1 +0,0 @@ |
|||||||
/pg_tde_alter_key_provider |
|
@ -1,36 +0,0 @@ |
|||||||
# src/bin/pg_tde_alter_key_provider/Makefile
|
|
||||||
|
|
||||||
PGFILEDESC = "pg_tde_alter_key_provider"
|
|
||||||
|
|
||||||
subdir = src/bin/pg_tde_alter_key_provider
|
|
||||||
top_builddir = ../../..
|
|
||||||
include $(top_builddir)/src/Makefile.global |
|
||||||
|
|
||||||
OBJS = \
|
|
||||||
pg_tde_alter_key_provider.o
|
|
||||||
|
|
||||||
override CPPFLAGS := -DFRONTEND $(CPPFLAGS) |
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
$(top_srcdir)/src/fe_utils/simple_list.o \
|
|
||||||
$(top_builddir)/src/libtde/libtde.a
|
|
||||||
|
|
||||||
override CPPFLAGS := -I$(top_srcdir)/contrib/pg_tde/src/include -I$(top_srcdir)/contrib/pg_tde/src/libkmip/libkmip/include $(CPPFLAGS) |
|
||||||
|
|
||||||
all: pg_tde_alter_key_provider |
|
||||||
|
|
||||||
pg_tde_alter_key_provider: $(OBJS) | submake-libpgport |
|
||||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
|
|
||||||
|
|
||||||
install: all installdirs |
|
||||||
$(INSTALL_PROGRAM) pg_tde_alter_key_provider$(X) '$(DESTDIR)$(bindir)/pg_tde_alter_key_provider$(X)'
|
|
||||||
|
|
||||||
installdirs: |
|
||||||
$(MKDIR_P) '$(DESTDIR)$(bindir)'
|
|
||||||
|
|
||||||
uninstall: |
|
||||||
rm -f '$(DESTDIR)$(bindir)/pg_tde_alter_key_provider$(X)'
|
|
||||||
|
|
||||||
clean distclean: |
|
||||||
rm -f pg_tde_alter_key_provider$(X) $(OBJS) $(RMGRDESCSOURCES) xlogreader.c xlogstats.c
|
|
||||||
rm -rf tmp_check
|
|
@ -1,26 +0,0 @@ |
|||||||
pg_tde_alter_key_provider_sources = files( |
|
||||||
'pg_tde_alter_key_provider.c', |
|
||||||
) |
|
||||||
|
|
||||||
link_w = [pg_tde_frontend] |
|
||||||
include_dirs = [postgres_inc, pg_tde_inc] |
|
||||||
|
|
||||||
pg_tde_alter_key_provider = executable('pg_tde_alter_key_provider', |
|
||||||
pg_tde_alter_key_provider_sources, |
|
||||||
dependencies: [frontend_code, lz4, zstd], |
|
||||||
c_args: ['-DFRONTEND'], # needed for xlogreader et al |
|
||||||
kwargs: default_bin_args, |
|
||||||
include_directories: include_dirs, |
|
||||||
link_with: link_w |
|
||||||
) |
|
||||||
bin_targets += pg_tde_alter_key_provider |
|
||||||
|
|
||||||
tests += { |
|
||||||
'name': 'pg_tde_alter_key_provider', |
|
||||||
'sd': meson.current_source_dir(), |
|
||||||
'bd': meson.current_build_dir(), |
|
||||||
'tap': { |
|
||||||
'tests': [ |
|
||||||
], |
|
||||||
}, |
|
||||||
} |
|
Loading…
Reference in new issue