refactor: hemar reboot

This commit is contained in:
2025-09-28 04:44:46 +00:00
parent 5dd03a947f
commit 38bf9151eb
27 changed files with 374 additions and 38 deletions

View File

@@ -0,0 +1,16 @@
MODULE_big = hemar
OBJS = hemar.o
EXTENSION = hemar
DATA = $(wildcard *.sql)
HECTIC_CONFIG = hectic-config
PG_CONFIG = pg_config
PG_CFLAGS += $(shell $(HECTIC_CONFIG) --cflags)
PG_LDFLAGS += -Wl,-rpath,$(shell $(HECTIC_CONFIG) --libdir)
SHLIB_LINK += $(shell $(HECTIC_CONFIG) --libs)
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)