From 0ffc201a51395ca71fe429ef86c872850a5850ee Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Mon, 14 Jul 2014 14:07:52 -0400 Subject: Add file version information to most installed Windows binaries. Prominent binaries already had this metadata. A handful of minor binaries, such as pg_regress.exe, still lack it; efforts to eliminate such exceptions are welcome. Michael Paquier, reviewed by MauMau. --- src/interfaces/ecpg/compatlib/Makefile | 3 ++- src/interfaces/ecpg/ecpglib/Makefile | 3 ++- src/interfaces/ecpg/pgtypeslib/Makefile | 3 ++- src/interfaces/ecpg/test/Makefile | 6 ++++-- 4 files changed, 10 insertions(+), 5 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/ecpg/compatlib/Makefile b/src/interfaces/ecpg/compatlib/Makefile index db704d7de1..1e2d698870 100644 --- a/src/interfaces/ecpg/compatlib/Makefile +++ b/src/interfaces/ecpg/compatlib/Makefile @@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/compatlib top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global +PGFILEDESC = "ECPG compat - compatibility library for ECPG" NAME= ecpg_compat SO_MAJOR_VERSION= 3 SO_MINOR_VERSION= 7 @@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt # Need to recompile any libpgport object files LIBS := $(filter-out -lpgport, $(LIBS)) -OBJS= informix.o $(filter snprintf.o, $(LIBOBJS)) +OBJS= informix.o $(filter snprintf.o, $(LIBOBJS)) $(WIN32RES) PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile index 9f4582e229..c99faac42e 100644 --- a/src/interfaces/ecpg/ecpglib/Makefile +++ b/src/interfaces/ecpg/ecpglib/Makefile @@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/ecpglib top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global +PGFILEDESC = "ECPG - embedded SQL in C" NAME= ecpg SO_MAJOR_VERSION= 6 SO_MINOR_VERSION= 7 @@ -26,7 +27,7 @@ LIBS := $(filter-out -lpgport, $(LIBS)) OBJS= execute.o typename.o descriptor.o sqlda.o data.o error.o prepare.o memory.o \ connect.o misc.o path.o pgstrcasecmp.o \ - $(filter snprintf.o strlcpy.o win32setlocale.o isinf.o, $(LIBOBJS)) + $(filter snprintf.o strlcpy.o win32setlocale.o isinf.o, $(LIBOBJS)) $(WIN32RES) # thread.c is needed only for non-WIN32 implementation of path.c ifneq ($(PORTNAME), win32) diff --git a/src/interfaces/ecpg/pgtypeslib/Makefile b/src/interfaces/ecpg/pgtypeslib/Makefile index d73c37efd2..436855e984 100644 --- a/src/interfaces/ecpg/pgtypeslib/Makefile +++ b/src/interfaces/ecpg/pgtypeslib/Makefile @@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/pgtypeslib top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global +PGFILEDESC = "pgtypes - library for data type mapping" NAME= pgtypes SO_MAJOR_VERSION= 3 SO_MINOR_VERSION= 6 @@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \ pgstrcasecmp.o \ - $(filter rint.o snprintf.o, $(LIBOBJS)) + $(filter rint.o snprintf.o, $(LIBOBJS)) $(WIN32RES) all: all-lib diff --git a/src/interfaces/ecpg/test/Makefile b/src/interfaces/ecpg/test/Makefile index d359fce7b5..56f6a17c34 100644 --- a/src/interfaces/ecpg/test/Makefile +++ b/src/interfaces/ecpg/test/Makefile @@ -13,6 +13,8 @@ override CPPFLAGS := \ '-DDLSUFFIX="$(DLSUFFIX)"' \ $(CPPFLAGS) +PGFILEDESC = "ECPG Test - regression tests for ECPG" + # where to find psql for testing an existing installation PSQLDIR = $(bindir) @@ -41,13 +43,13 @@ clean distclean maintainer-clean: $(MAKE) -C compat_informix $@ $(MAKE) -C thread $@ rm -rf tmp_check results log - rm -f pg_regress regression.diffs regression.out pg_regress_ecpg.o + rm -f pg_regress regression.diffs regression.out pg_regress_ecpg.o $(WIN32RES) # Build regression test driver all: pg_regress$(X) -pg_regress$(X): pg_regress_ecpg.o $(top_builddir)/src/test/regress/pg_regress.o +pg_regress$(X): pg_regress_ecpg.o $(WIN32RES) $(top_builddir)/src/test/regress/pg_regress.o $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(LIBS) -o $@ $(top_builddir)/src/test/regress/pg_regress.o: -- cgit v1.2.3