| 1 |
#------------------------------------------------------------------------- |
| 2 |
# |
| 3 |
# Makefile for src/test/modules/oauth_validator |
| 4 |
# |
| 5 |
# Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group |
| 6 |
# Portions Copyright (c) 1994, Regents of the University of California |
| 7 |
# |
| 8 |
# src/test/modules/oauth_validator/Makefile |
| 9 |
# |
| 10 |
#------------------------------------------------------------------------- |
| 11 |
|
| 12 |
MODULES = validator fail_validator magic_validator |
| 13 |
PGFILEDESC = "validator - test OAuth validator module" |
| 14 |
|
| 15 |
PROGRAM = oauth_hook_client |
| 16 |
PGAPPICON = win32 |
| 17 |
OBJS = $(WIN32RES) oauth_hook_client.o |
| 18 |
|
| 19 |
PG_CPPFLAGS = -I$(libpq_srcdir) |
| 20 |
PG_LIBS_INTERNAL += $(libpq_pgport) |
| 21 |
|
| 22 |
NO_INSTALLCHECK = 1 |
| 23 |
|
| 24 |
TAP_TESTS = 1 |
| 25 |
|
| 26 |
ifdef USE_PGXS |
| 27 |
PG_CONFIG = pg_config |
| 28 |
PGXS := $(shell $(PG_CONFIG) --pgxs) |
| 29 |
include $(PGXS) |
| 30 |
else |
| 31 |
subdir = src/test/modules/oauth_validator |
| 32 |
top_builddir = ../../../.. |
| 33 |
include $(top_builddir)/src/Makefile.global |
| 34 |
include $(top_srcdir)/contrib/contrib-global.mk |
| 35 |
|
| 36 |
export PYTHON |
| 37 |
export with_libcurl |
| 38 |
export with_python |
| 39 |
|
| 40 |
endif |