1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
EXTENSION = icu_ext
EXTVERSION = 1.10
PG_CONFIG = pg_config
DATA = $(wildcard sql/icu_*.sql)
MODULE_big = icu_ext
OBJS = icu_ext.o icu_break.o icu_num.o icu_spoof.o icu_transform.o \
icu_search.o icu_normalize.o icu_date.o icu_timestamptz.o icu_interval.o
SHLIB_LINK = $(ICU_LIBS)
REGRESS = tests-01 tests-datetime
EXTRA_CLEAN = expected/tests.out
all:
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
override CFLAGS += -g # added with PG16 built with meson. Not sure it should be kept.
dist:
tar cjf $(EXTENSION)-$(EXTVERSION).tar.bz2 Makefile META.json icu_ext.control *.md *.c *.h sql/ expected/ META.json
.PHONY: dist
|