Files
openGauss-server/contrib/gms_stats/Makefile
2024-06-27 14:05:53 +08:00

26 lines
699 B
Makefile

# contrib/gms_stats/Makefile
MODULE_big = gms_stats
OBJS = gms_stats.o
EXTENSION = gms_stats
DATA = gms_stats--1.0.sql
REGRESS = gms_stats
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/gms_stats
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
regress_home = $(top_builddir)/src/test/regress
REGRESS_OPTS = -c 0 -d 1 -r 1 -p 25632 --single_node -w --keep_last_data=false \
--regconf=$(regress_home)/regress.conf \
--temp-config=$(regress_home)/make_fastcheck_postgresql.conf
include $(top_srcdir)/contrib/contrib-global.mk
endif
gms_stats.o: gms_stats.cpp