From: Christoph Berg Date: Thu, 14 Sep 2023 13:31:32 +0000 (+0200) Subject: Drop Makefile.contrib before it gets outdated even more X-Git-Tag: REL_16_0~2 X-Git-Url: http://git.postgresql.org/gitweb/edit?a=commitdiff_plain;h=8ad60561c8d2088ab769d444b5aecac95228cf0d;p=pg_filedump.git Drop Makefile.contrib before it gets outdated even more --- diff --git a/Makefile b/Makefile index 8db29bc..2358dbd 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ else LIBS = $(libpq_pgport) endif -DISTFILES= README.pg_filedump.md Makefile Makefile.contrib \ +DISTFILES= README.pg_filedump.md Makefile \ pg_filedump.h pg_filedump.c decode.h decode.c stringinfo.c dist: diff --git a/Makefile.contrib b/Makefile.contrib deleted file mode 100644 index a157a1e..0000000 --- a/Makefile.contrib +++ /dev/null @@ -1,22 +0,0 @@ -PROGRAM = pg_filedump -OBJS = decode.o pg_filedump.o stringinfo.o - -DOCS = README.pg_filedump - -ifdef USE_PGXS - PG_CONFIG = pg_config - PGXS := $(shell $(PG_CONFIG) --pgxs) - include $(PGXS) -else - subdir = contrib/pg_filedump - top_builddir = ../.. - include $(top_builddir)/src/Makefile.global - include $(top_srcdir)/contrib/contrib-global.mk -endif - -# avoid linking against all libs that the server links against (xml, selinux, ...) -ifneq ($(findstring -llz4,$(LIBS)),) - LIBS = $(libpq_pgport) -llz4 -else - LIBS = $(libpq_pgport) -endif