Commit 0ffc201a authored by Noah Misch's avatar Noah Misch

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.
parent c0e8fb61
# contrib/adminpack/Makefile # contrib/adminpack/Makefile
MODULE_big = adminpack MODULE_big = adminpack
OBJS = adminpack.o OBJS = adminpack.o $(WIN32RES)
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
EXTENSION = adminpack EXTENSION = adminpack
DATA = adminpack--1.0.sql DATA = adminpack--1.0.sql
PGFILEDESC = "adminpack - support functions for pgAdmin"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/auth_delay/Makefile # contrib/auth_delay/Makefile
MODULES = auth_delay MODULES = auth_delay
PGFILEDESC = "auth_delay - delay authentication failure reports"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/auto_explain/Makefile # contrib/auto_explain/Makefile
MODULE_big = auto_explain MODULE_big = auto_explain
OBJS = auto_explain.o OBJS = auto_explain.o $(WIN32RES)
PGFILEDESC = "auto_explain - logging facility for execution plans"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/btree_gin/Makefile # contrib/btree_gin/Makefile
MODULE_big = btree_gin MODULE_big = btree_gin
OBJS = btree_gin.o OBJS = btree_gin.o $(WIN32RES)
EXTENSION = btree_gin EXTENSION = btree_gin
DATA = btree_gin--1.0.sql btree_gin--unpackaged--1.0.sql DATA = btree_gin--1.0.sql btree_gin--unpackaged--1.0.sql
PGFILEDESC = "btree_gin - B-tree equivalent GIN operator classes"
REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \ REGRESS = install_btree_gin int2 int4 int8 float4 float8 money oid \
timestamp timestamptz time timetz date interval \ timestamp timestamptz time timetz date interval \
......
...@@ -6,10 +6,11 @@ OBJS = btree_gist.o btree_utils_num.o btree_utils_var.o btree_int2.o \ ...@@ -6,10 +6,11 @@ OBJS = btree_gist.o btree_utils_num.o btree_utils_var.o btree_int2.o \
btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_cash.o \ btree_int4.o btree_int8.o btree_float4.o btree_float8.o btree_cash.o \
btree_oid.o btree_ts.o btree_time.o btree_date.o btree_interval.o \ btree_oid.o btree_ts.o btree_time.o btree_date.o btree_interval.o \
btree_macaddr.o btree_inet.o btree_text.o btree_bytea.o btree_bit.o \ btree_macaddr.o btree_inet.o btree_text.o btree_bytea.o btree_bit.o \
btree_numeric.o btree_numeric.o $(WIN32RES)
EXTENSION = btree_gist EXTENSION = btree_gist
DATA = btree_gist--1.0.sql btree_gist--unpackaged--1.0.sql DATA = btree_gist--1.0.sql btree_gist--unpackaged--1.0.sql
PGFILEDESC = "btree_gist - B-tree equivalent GIST operator classes"
REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz \ REGRESS = init int2 int4 int8 float4 float8 cash oid timestamp timestamptz \
time timetz date interval macaddr inet cidr text varchar char bytea \ time timetz date interval macaddr inet cidr text varchar char bytea \
......
# contrib/chkpass/Makefile # contrib/chkpass/Makefile
MODULE_big = chkpass MODULE_big = chkpass
OBJS = chkpass.o OBJS = chkpass.o $(WIN32RES)
EXTENSION = chkpass EXTENSION = chkpass
DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql DATA = chkpass--1.0.sql chkpass--unpackaged--1.0.sql
PGFILEDESC = "chkpass - encrypted password data type"
SHLIB_LINK = $(filter -lcrypt, $(LIBS)) SHLIB_LINK = $(filter -lcrypt, $(LIBS))
......
...@@ -4,6 +4,7 @@ MODULES = citext ...@@ -4,6 +4,7 @@ MODULES = citext
EXTENSION = citext EXTENSION = citext
DATA = citext--1.0.sql citext--unpackaged--1.0.sql DATA = citext--1.0.sql citext--unpackaged--1.0.sql
PGFILEDESC = "citext - case-insensitive character string data type"
REGRESS = citext REGRESS = citext
......
# contrib/cube/Makefile # contrib/cube/Makefile
MODULE_big = cube MODULE_big = cube
OBJS= cube.o cubeparse.o OBJS= cube.o cubeparse.o $(WIN32RES)
EXTENSION = cube EXTENSION = cube
DATA = cube--1.0.sql cube--unpackaged--1.0.sql DATA = cube--1.0.sql cube--unpackaged--1.0.sql
PGFILEDESC = "cube - multidimensional cube data type"
REGRESS = cube REGRESS = cube
......
# contrib/dblink/Makefile # contrib/dblink/Makefile
MODULE_big = dblink MODULE_big = dblink
OBJS = dblink.o OBJS = dblink.o $(WIN32RES)
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
SHLIB_LINK = $(libpq) SHLIB_LINK = $(libpq)
SHLIB_PREREQS = submake-libpq SHLIB_PREREQS = submake-libpq
EXTENSION = dblink EXTENSION = dblink
DATA = dblink--1.1.sql dblink--1.0--1.1.sql dblink--unpackaged--1.0.sql DATA = dblink--1.1.sql dblink--1.0--1.1.sql dblink--unpackaged--1.0.sql
PGFILEDESC = "dblink - connect to other PostgreSQL databases"
REGRESS = dblink REGRESS = dblink
......
# contrib/dict_int/Makefile # contrib/dict_int/Makefile
MODULE_big = dict_int MODULE_big = dict_int
OBJS = dict_int.o OBJS = dict_int.o $(WIN32RES)
EXTENSION = dict_int EXTENSION = dict_int
DATA = dict_int--1.0.sql dict_int--unpackaged--1.0.sql DATA = dict_int--1.0.sql dict_int--unpackaged--1.0.sql
PGFILEDESC = "dict_int - add-on dictionary template for full-text search"
REGRESS = dict_int REGRESS = dict_int
......
# contrib/dict_xsyn/Makefile # contrib/dict_xsyn/Makefile
MODULE_big = dict_xsyn MODULE_big = dict_xsyn
OBJS = dict_xsyn.o OBJS = dict_xsyn.o $(WIN32RES)
EXTENSION = dict_xsyn EXTENSION = dict_xsyn
DATA = dict_xsyn--1.0.sql dict_xsyn--unpackaged--1.0.sql DATA = dict_xsyn--1.0.sql dict_xsyn--unpackaged--1.0.sql
DATA_TSEARCH = xsyn_sample.rules DATA_TSEARCH = xsyn_sample.rules
PGFILEDESC = "dict_xsyn - add-on dictionary template for full-text search"
REGRESS = dict_xsyn REGRESS = dict_xsyn
......
# contrib/dummy_seclabel/Makefile # contrib/dummy_seclabel/Makefile
MODULES = dummy_seclabel MODULES = dummy_seclabel
PGFILEDESC = "dummy_seclabel - regression testing of the SECURITY LABEL statement"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,6 +4,7 @@ MODULES = earthdistance ...@@ -4,6 +4,7 @@ MODULES = earthdistance
EXTENSION = earthdistance EXTENSION = earthdistance
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
PGFILEDESC = "earthdistance - calculate distances on the surface of the Earth"
REGRESS = earthdistance REGRESS = earthdistance
REGRESS_OPTS = --extra-install=contrib/cube REGRESS_OPTS = --extra-install=contrib/cube
......
...@@ -4,6 +4,7 @@ MODULES = file_fdw ...@@ -4,6 +4,7 @@ MODULES = file_fdw
EXTENSION = file_fdw EXTENSION = file_fdw
DATA = file_fdw--1.0.sql DATA = file_fdw--1.0.sql
PGFILEDESC = "file_fdw - foreign data wrapper for files"
REGRESS = file_fdw REGRESS = file_fdw
......
# contrib/fuzzystrmatch/Makefile # contrib/fuzzystrmatch/Makefile
MODULE_big = fuzzystrmatch MODULE_big = fuzzystrmatch
OBJS = fuzzystrmatch.o dmetaphone.o OBJS = fuzzystrmatch.o dmetaphone.o $(WIN32RES)
EXTENSION = fuzzystrmatch EXTENSION = fuzzystrmatch
DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql DATA = fuzzystrmatch--1.0.sql fuzzystrmatch--unpackaged--1.0.sql
PGFILEDESC = "fuzzystrmatch - similarities and distance between strings"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -2,12 +2,13 @@ ...@@ -2,12 +2,13 @@
MODULE_big = hstore MODULE_big = hstore
OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \ OBJS = hstore_io.o hstore_op.o hstore_gist.o hstore_gin.o hstore_compat.o \
crc32.o crc32.o $(WIN32RES)
EXTENSION = hstore EXTENSION = hstore
DATA = hstore--1.3.sql hstore--1.2--1.3.sql \ DATA = hstore--1.3.sql hstore--1.2--1.3.sql \
hstore--1.1--1.2.sql hstore--1.0--1.1.sql \ hstore--1.1--1.2.sql hstore--1.0--1.1.sql \
hstore--unpackaged--1.0.sql hstore--unpackaged--1.0.sql
PGFILEDESC = "hstore - key/value pair data type"
REGRESS = hstore REGRESS = hstore
......
# contrib/intarray/Makefile # contrib/intarray/Makefile
MODULE_big = _int MODULE_big = _int
OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o _intbig_gist.o _int_gin.o OBJS = _int_bool.o _int_gist.o _int_op.o _int_tool.o \
_intbig_gist.o _int_gin.o $(WIN32RES)
EXTENSION = intarray EXTENSION = intarray
DATA = intarray--1.0.sql intarray--unpackaged--1.0.sql DATA = intarray--1.0.sql intarray--unpackaged--1.0.sql
PGFILEDESC = "intarray - functions and operators for arrays of integers"
REGRESS = _int REGRESS = _int
......
...@@ -4,6 +4,7 @@ MODULES = isn ...@@ -4,6 +4,7 @@ MODULES = isn
EXTENSION = isn EXTENSION = isn
DATA = isn--1.0.sql isn--unpackaged--1.0.sql DATA = isn--1.0.sql isn--unpackaged--1.0.sql
PGFILEDESC = "isn - data types for international product numbering standards"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,6 +4,7 @@ MODULES = lo ...@@ -4,6 +4,7 @@ MODULES = lo
EXTENSION = lo EXTENSION = lo
DATA = lo--1.0.sql lo--unpackaged--1.0.sql DATA = lo--1.0.sql lo--unpackaged--1.0.sql
PGFILEDESC = "lo - management for large objects"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
MODULE_big = ltree MODULE_big = ltree
OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \ OBJS = ltree_io.o ltree_op.o lquery_op.o _ltree_op.o crc32.o \
ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o ltxtquery_io.o ltxtquery_op.o ltree_gist.o _ltree_gist.o $(WIN32RES)
PG_CPPFLAGS = -DLOWER_NODE PG_CPPFLAGS = -DLOWER_NODE
EXTENSION = ltree EXTENSION = ltree
DATA = ltree--1.0.sql ltree--unpackaged--1.0.sql DATA = ltree--1.0.sql ltree--unpackaged--1.0.sql
PGFILEDESC = "ltree - hierarchical label data type"
REGRESS = ltree REGRESS = ltree
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "oid2name - examine the file structure" ...@@ -4,7 +4,7 @@ PGFILEDESC = "oid2name - examine the file structure"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = oid2name PROGRAM = oid2name
OBJS = oid2name.o OBJS = oid2name.o $(WIN32RES)
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport) PG_LIBS = $(libpq_pgport)
......
# contrib/pageinspect/Makefile # contrib/pageinspect/Makefile
MODULE_big = pageinspect MODULE_big = pageinspect
OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o OBJS = rawpage.o heapfuncs.o btreefuncs.o fsmfuncs.o $(WIN32RES)
EXTENSION = pageinspect EXTENSION = pageinspect
DATA = pageinspect--1.2.sql pageinspect--1.0--1.1.sql \ DATA = pageinspect--1.2.sql pageinspect--1.0--1.1.sql \
pageinspect--1.1--1.2.sql pageinspect--unpackaged--1.0.sql pageinspect--1.1--1.2.sql pageinspect--unpackaged--1.0.sql
PGFILEDESC = "pageinspect - functions to inspect contents of database pages"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/passwordcheck/Makefile # contrib/passwordcheck/Makefile
MODULE_big = passwordcheck MODULE_big = passwordcheck
OBJS = passwordcheck.o OBJS = passwordcheck.o $(WIN32RES)
PGFILEDESC = "passwordcheck - strengthen user password checks"
# uncomment the following two lines to enable cracklib support # uncomment the following two lines to enable cracklib support
# PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"' # PG_CPPFLAGS = -DUSE_CRACKLIB '-DCRACKLIB_DICTPATH="/usr/lib/cracklib_dict"'
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replic ...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_archivecleanup - cleans archive when used with streaming replic
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = pg_archivecleanup PROGRAM = pg_archivecleanup
OBJS = pg_archivecleanup.o OBJS = pg_archivecleanup.o $(WIN32RES)
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pg_buffercache/Makefile # contrib/pg_buffercache/Makefile
MODULE_big = pg_buffercache MODULE_big = pg_buffercache
OBJS = pg_buffercache_pages.o OBJS = pg_buffercache_pages.o $(WIN32RES)
EXTENSION = pg_buffercache EXTENSION = pg_buffercache
DATA = pg_buffercache--1.0.sql pg_buffercache--unpackaged--1.0.sql DATA = pg_buffercache--1.0.sql pg_buffercache--unpackaged--1.0.sql
PGFILEDESC = "pg_buffercache - monitoring of shared buffer cache in real-time"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pg_freespacemap/Makefile # contrib/pg_freespacemap/Makefile
MODULE_big = pg_freespacemap MODULE_big = pg_freespacemap
OBJS = pg_freespacemap.o OBJS = pg_freespacemap.o $(WIN32RES)
EXTENSION = pg_freespacemap EXTENSION = pg_freespacemap
DATA = pg_freespacemap--1.0.sql pg_freespacemap--unpackaged--1.0.sql DATA = pg_freespacemap--1.0.sql pg_freespacemap--unpackaged--1.0.sql
PGFILEDESC = "pg_freespacemap - monitoring of free space map"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pg_prewarm/Makefile # contrib/pg_prewarm/Makefile
MODULE_big = pg_prewarm MODULE_big = pg_prewarm
OBJS = pg_prewarm.o OBJS = pg_prewarm.o $(WIN32RES)
EXTENSION = pg_prewarm EXTENSION = pg_prewarm
DATA = pg_prewarm--1.0.sql DATA = pg_prewarm--1.0.sql
PGFILEDESC = "pg_prewarm - preload relation data into system buffer cache"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_standby - supports creation of a warm standby" ...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_standby - supports creation of a warm standby"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = pg_standby PROGRAM = pg_standby
OBJS = pg_standby.o OBJS = pg_standby.o $(WIN32RES)
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pg_stat_statements/Makefile # contrib/pg_stat_statements/Makefile
MODULE_big = pg_stat_statements MODULE_big = pg_stat_statements
OBJS = pg_stat_statements.o OBJS = pg_stat_statements.o $(WIN32RES)
EXTENSION = pg_stat_statements EXTENSION = pg_stat_statements
DATA = pg_stat_statements--1.2.sql pg_stat_statements--1.1--1.2.sql \ DATA = pg_stat_statements--1.2.sql pg_stat_statements--1.1--1.2.sql \
pg_stat_statements--1.0--1.1.sql pg_stat_statements--unpackaged--1.0.sql pg_stat_statements--1.0--1.1.sql pg_stat_statements--unpackaged--1.0.sql
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_fsync - test various disk sync methods" ...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_fsync - test various disk sync methods"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = pg_test_fsync PROGRAM = pg_test_fsync
OBJS = pg_test_fsync.o OBJS = pg_test_fsync.o $(WIN32RES)
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_timing - test timing overhead" ...@@ -4,7 +4,7 @@ PGFILEDESC = "pg_test_timing - test timing overhead"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = pg_test_timing PROGRAM = pg_test_timing
OBJS = pg_test_timing.o OBJS = pg_test_timing.o $(WIN32RES)
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pg_trgm/Makefile # contrib/pg_trgm/Makefile
MODULE_big = pg_trgm MODULE_big = pg_trgm
OBJS = trgm_op.o trgm_gist.o trgm_gin.o trgm_regexp.o OBJS = trgm_op.o trgm_gist.o trgm_gin.o trgm_regexp.o $(WIN32RES)
EXTENSION = pg_trgm EXTENSION = pg_trgm
DATA = pg_trgm--1.1.sql pg_trgm--1.0--1.1.sql pg_trgm--unpackaged--1.0.sql DATA = pg_trgm--1.1.sql pg_trgm--1.0--1.1.sql pg_trgm--unpackaged--1.0.sql
PGFILEDESC = "pg_trgm - trigram matching"
REGRESS = pg_trgm REGRESS = pg_trgm
......
# contrib/pg_xlogdump/Makefile # contrib/pg_xlogdump/Makefile
PGFILEDESC = "pg_xlogdump" PGFILEDESC = "pg_xlogdump - decode and display WAL"
PGAPPICON=win32 PGAPPICON=win32
PROGRAM = pg_xlogdump PROGRAM = pg_xlogdump
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "pgbench - a simple program for running benchmark tests" ...@@ -4,7 +4,7 @@ PGFILEDESC = "pgbench - a simple program for running benchmark tests"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = pgbench PROGRAM = pgbench
OBJS = pgbench.o OBJS = pgbench.o $(WIN32RES)
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport) $(PTHREAD_LIBS) PG_LIBS = $(libpq_pgport) $(PTHREAD_LIBS)
......
...@@ -23,10 +23,11 @@ SRCS = pgcrypto.c px.c px-hmac.c px-crypt.c \ ...@@ -23,10 +23,11 @@ SRCS = pgcrypto.c px.c px-hmac.c px-crypt.c \
pgp-pgsql.c pgp-pgsql.c
MODULE_big = pgcrypto MODULE_big = pgcrypto
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o) $(WIN32RES)
EXTENSION = pgcrypto EXTENSION = pgcrypto
DATA = pgcrypto--1.1.sql pgcrypto--1.0--1.1.sql pgcrypto--unpackaged--1.0.sql DATA = pgcrypto--1.1.sql pgcrypto--1.0--1.1.sql pgcrypto--unpackaged--1.0.sql
PGFILEDESC = "pgcrypto - cryptographic functions"
REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \ REGRESS = init md5 sha1 hmac-md5 hmac-sha1 blowfish rijndael \
$(CF_TESTS) \ $(CF_TESTS) \
......
# contrib/pgrowlocks/Makefile # contrib/pgrowlocks/Makefile
MODULE_big = pgrowlocks MODULE_big = pgrowlocks
OBJS = pgrowlocks.o OBJS = pgrowlocks.o $(WIN32RES)
EXTENSION = pgrowlocks EXTENSION = pgrowlocks
DATA = pgrowlocks--1.1.sql pgrowlocks--1.0--1.1.sql pgrowlocks--unpackaged--1.0.sql DATA = pgrowlocks--1.1.sql pgrowlocks--1.0--1.1.sql pgrowlocks--unpackaged--1.0.sql
PGFILEDESC = "pgrowlocks - display row locking information"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/pgstattuple/Makefile # contrib/pgstattuple/Makefile
MODULE_big = pgstattuple MODULE_big = pgstattuple
OBJS = pgstattuple.o pgstatindex.o OBJS = pgstattuple.o pgstatindex.o $(WIN32RES)
EXTENSION = pgstattuple EXTENSION = pgstattuple
DATA = pgstattuple--1.2.sql pgstattuple--1.1--1.2.sql pgstattuple--1.0--1.1.sql pgstattuple--unpackaged--1.0.sql DATA = pgstattuple--1.2.sql pgstattuple--1.1--1.2.sql pgstattuple--1.0--1.1.sql pgstattuple--unpackaged--1.0.sql
PGFILEDESC = "pgstattuple - tuple-level statistics"
REGRESS = pgstattuple REGRESS = pgstattuple
......
# contrib/postgres_fdw/Makefile # contrib/postgres_fdw/Makefile
MODULE_big = postgres_fdw MODULE_big = postgres_fdw
OBJS = postgres_fdw.o option.o deparse.o connection.o OBJS = postgres_fdw.o option.o deparse.o connection.o $(WIN32RES)
PGFILEDESC = "postgres_fdw - foreign data wrapper for PostgreSQL"
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
SHLIB_LINK = $(libpq) SHLIB_LINK = $(libpq)
......
# contrib/seg/Makefile # contrib/seg/Makefile
MODULE_big = seg MODULE_big = seg
OBJS = seg.o segparse.o OBJS = seg.o segparse.o $(WIN32RES)
EXTENSION = seg EXTENSION = seg
DATA = seg--1.0.sql seg--unpackaged--1.0.sql DATA = seg--1.0.sql seg--unpackaged--1.0.sql
PGFILEDESC = "seg - line segment data type"
REGRESS = seg REGRESS = seg
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
MODULE_big = sepgsql MODULE_big = sepgsql
OBJS = hooks.o selinux.o uavc.o label.o dml.o \ OBJS = hooks.o selinux.o uavc.o label.o dml.o \
database.o schema.o relation.o proc.o database.o schema.o relation.o proc.o $(WIN32RES)
DATA_built = sepgsql.sql DATA_built = sepgsql.sql
PGFILEDESC = "sepgsql - SELinux integration"
# Note: because we don't tell the Makefile there are any regression tests, # Note: because we don't tell the Makefile there are any regression tests,
# we have to clean those result files explicitly # we have to clean those result files explicitly
......
...@@ -9,6 +9,7 @@ DATA = autoinc--1.0.sql autoinc--unpackaged--1.0.sql \ ...@@ -9,6 +9,7 @@ DATA = autoinc--1.0.sql autoinc--unpackaged--1.0.sql \
moddatetime--1.0.sql moddatetime--unpackaged--1.0.sql \ moddatetime--1.0.sql moddatetime--unpackaged--1.0.sql \
refint--1.0.sql refint--unpackaged--1.0.sql \ refint--1.0.sql refint--unpackaged--1.0.sql \
timetravel--1.0.sql timetravel--unpackaged--1.0.sql timetravel--1.0.sql timetravel--unpackaged--1.0.sql
PGFILEDESC = "spi - examples of using SPI and triggers"
DOCS = $(addsuffix .example, $(MODULES)) DOCS = $(addsuffix .example, $(MODULES))
......
# contrib/sslinfo/Makefile # contrib/sslinfo/Makefile
MODULE_big = sslinfo MODULE_big = sslinfo
OBJS = sslinfo.o OBJS = sslinfo.o $(WIN32RES)
EXTENSION = sslinfo EXTENSION = sslinfo
DATA = sslinfo--1.0.sql sslinfo--unpackaged--1.0.sql DATA = sslinfo--1.0.sql sslinfo--unpackaged--1.0.sql
PGFILEDESC = "sslinfo - information about client SSL certificate"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
...@@ -4,6 +4,7 @@ MODULES = tablefunc ...@@ -4,6 +4,7 @@ MODULES = tablefunc
EXTENSION = tablefunc EXTENSION = tablefunc
DATA = tablefunc--1.0.sql tablefunc--unpackaged--1.0.sql DATA = tablefunc--1.0.sql tablefunc--unpackaged--1.0.sql
PGFILEDESC = "tablefunc - various functions that return tables"
REGRESS = tablefunc REGRESS = tablefunc
......
...@@ -4,6 +4,7 @@ MODULES = tcn ...@@ -4,6 +4,7 @@ MODULES = tcn
EXTENSION = tcn EXTENSION = tcn
DATA = tcn--1.0.sql DATA = tcn--1.0.sql
PGFILEDESC = "tcn - trigger function notifying listeners"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/test_decoding/Makefile # contrib/test_decoding/Makefile
MODULES = test_decoding MODULES = test_decoding
PGFILEDESC = "test_decoding - example of a logical decoding output plugin"
# Note: because we don't tell the Makefile there are any regression tests, # Note: because we don't tell the Makefile there are any regression tests,
# we have to clean those result files explicitly # we have to clean those result files explicitly
......
# contrib/test_parser/Makefile # contrib/test_parser/Makefile
MODULE_big = test_parser MODULE_big = test_parser
OBJS = test_parser.o OBJS = test_parser.o $(WIN32RES)
PGFILEDESC = "test_parser - example of a custom parser for full-text search"
EXTENSION = test_parser EXTENSION = test_parser
DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql
......
# contrib/test_shm_mq/Makefile # contrib/test_shm_mq/Makefile
MODULE_big = test_shm_mq MODULE_big = test_shm_mq
OBJS = test.o setup.o worker.o OBJS = test.o setup.o worker.o $(WIN32RES)
PGFILEDESC = "test_shm_mq - example use of shared memory message queue"
EXTENSION = test_shm_mq EXTENSION = test_shm_mq
DATA = test_shm_mq--1.0.sql DATA = test_shm_mq--1.0.sql
......
...@@ -4,6 +4,7 @@ MODULES = tsearch2 ...@@ -4,6 +4,7 @@ MODULES = tsearch2
EXTENSION = tsearch2 EXTENSION = tsearch2
DATA = tsearch2--1.0.sql tsearch2--unpackaged--1.0.sql DATA = tsearch2--1.0.sql tsearch2--unpackaged--1.0.sql
PGFILEDESC = "tsearch2 - backward-compatible text search functionality"
REGRESS = tsearch2 REGRESS = tsearch2
......
# contrib/unaccent/Makefile # contrib/unaccent/Makefile
MODULE_big = unaccent MODULE_big = unaccent
OBJS = unaccent.o OBJS = unaccent.o $(WIN32RES)
EXTENSION = unaccent EXTENSION = unaccent
DATA = unaccent--1.0.sql unaccent--unpackaged--1.0.sql DATA = unaccent--1.0.sql unaccent--unpackaged--1.0.sql
DATA_TSEARCH = unaccent.rules DATA_TSEARCH = unaccent.rules
PGFILEDESC = "unaccent - text search dictionary that removes accents"
REGRESS = unaccent REGRESS = unaccent
......
# contrib/uuid-ossp/Makefile # contrib/uuid-ossp/Makefile
MODULE_big = uuid-ossp MODULE_big = uuid-ossp
OBJS = uuid-ossp.o $(UUID_EXTRA_OBJS) OBJS = uuid-ossp.o $(UUID_EXTRA_OBJS) $(WIN32RES)
EXTENSION = uuid-ossp EXTENSION = uuid-ossp
DATA = uuid-ossp--1.0.sql uuid-ossp--unpackaged--1.0.sql DATA = uuid-ossp--1.0.sql uuid-ossp--unpackaged--1.0.sql
PGFILEDESC = "uuid-ossp - UUID generation"
REGRESS = uuid_ossp REGRESS = uuid_ossp
......
...@@ -4,7 +4,7 @@ PGFILEDESC = "vacuumlo - removes orphaned large objects" ...@@ -4,7 +4,7 @@ PGFILEDESC = "vacuumlo - removes orphaned large objects"
PGAPPICON = win32 PGAPPICON = win32
PROGRAM = vacuumlo PROGRAM = vacuumlo
OBJS = vacuumlo.o OBJS = vacuumlo.o $(WIN32RES)
PG_CPPFLAGS = -I$(libpq_srcdir) PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport) PG_LIBS = $(libpq_pgport)
......
...@@ -4,6 +4,7 @@ MODULES = worker_spi ...@@ -4,6 +4,7 @@ MODULES = worker_spi
EXTENSION = worker_spi EXTENSION = worker_spi
DATA = worker_spi--1.0.sql DATA = worker_spi--1.0.sql
PGFILEDESC = "worker_spi - background worker example"
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
......
# contrib/xml2/Makefile # contrib/xml2/Makefile
MODULE_big = pgxml MODULE_big = pgxml
OBJS = xpath.o xslt_proc.o OBJS = xpath.o xslt_proc.o $(WIN32RES)
EXTENSION = xml2 EXTENSION = xml2
DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql
PGFILEDESC = "xml2 - XPath querying and XSLT"
REGRESS = xml2 REGRESS = xml2
......
...@@ -14,9 +14,10 @@ include $(top_builddir)/src/Makefile.global ...@@ -14,9 +14,10 @@ include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS) override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS)
OBJS = libpqwalreceiver.o OBJS = libpqwalreceiver.o $(WIN32RES)
SHLIB_LINK = $(libpq) SHLIB_LINK = $(libpq)
SHLIB_PREREQS = submake-libpq SHLIB_PREREQS = submake-libpq
PGFILEDESC = "libpqwalreceiver - receive WAL during streaming replication"
NAME = libpqwalreceiver NAME = libpqwalreceiver
all: all-shared-lib all: all-shared-lib
......
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = ascii_and_mic NAME = ascii_and_mic
PGFILEDESC = "ascii <-> mic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = cyrillic_and_mic NAME = cyrillic_and_mic
PGFILEDESC = "cyrillic <-> mic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = euc2004_sjis2004 NAME = euc2004_sjis2004
PGFILEDESC = "euc2004 <-> sjis2004 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = euc_cn_and_mic NAME = euc_cn_and_mic
PGFILEDESC = "euc_cn <-> mic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = euc_jp_and_sjis NAME = euc_jp_and_sjis
PGFILEDESC = "euc_jp <-> sjis text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = euc_kr_and_mic NAME = euc_kr_and_mic
PGFILEDESC = "euc_kr <-> mic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,6 +8,7 @@ top_builddir = ../../../../../.. ...@@ -8,6 +8,7 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = euc_tw_and_big5 NAME = euc_tw_and_big5
PGFILEDESC = "euc_tw <-> big5 text conversions"
SRCS += big5.c SRCS += big5.c
OBJS += big5.o OBJS += big5.o
......
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = latin2_and_win1250 NAME = latin2_and_win1250
PGFILEDESC = "latin2 <-> win1250 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = latin_and_mic NAME = latin_and_mic
PGFILEDESC = "latin <-> mic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
SRCS += $(NAME).c SRCS += $(NAME).c
OBJS += $(NAME).o OBJS += $(NAME).o $(WIN32RES)
rpath = rpath =
......
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_ascii NAME = utf8_and_ascii
PGFILEDESC = "utf8 <-> ascii text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_big5 NAME = utf8_and_big5
PGFILEDESC = "utf8 <-> big5 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_cyrillic NAME = utf8_and_cyrillic
PGFILEDESC = "utf8 <-> cyrillic text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_euc2004 NAME = utf8_and_euc2004
PGFILEDESC = "utf8 <-> euc2004 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_euc_cn NAME = utf8_and_euc_cn
PGFILEDESC = "utf8 <-> euc_cn text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_euc_jp NAME = utf8_and_euc_jp
PGFILEDESC = "utf8 <-> euc_jp text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_euc_kr NAME = utf8_and_euc_kr
PGFILEDESC = "utf8 <-> euc_kr text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_euc_tw NAME = utf8_and_euc_tw
PGFILEDESC = "utf8 <-> euc_tw text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_gb18030 NAME = utf8_and_gb18030
PGFILEDESC = "utf8 <-> gb18030 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_gbk NAME = utf8_and_gbk
PGFILEDESC = "utf8 <-> gbk text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_iso8859 NAME = utf8_and_iso8859
PGFILEDESC = "utf8 <-> iso8859 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_iso8859_1 NAME = utf8_and_iso8859_1
PGFILEDESC = "utf8 <-> iso8859_1 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_johab NAME = utf8_and_johab
PGFILEDESC = "utf8 <-> johab text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_sjis NAME = utf8_and_sjis
PGFILEDESC = "utf8 <-> sjis text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_sjis2004 NAME = utf8_and_sjis2004
PGFILEDESC = "utf8 <-> sjis2004 text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_uhc NAME = utf8_and_uhc
PGFILEDESC = "utf8 <-> uhc text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -8,5 +8,6 @@ top_builddir = ../../../../../.. ...@@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
NAME = utf8_and_win NAME = utf8_and_win
PGFILEDESC = "utf8 <-> win text conversions"
include $(srcdir)/../proc.mk include $(srcdir)/../proc.mk
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
PGFILEDESC = "pg_basebackup - takes a streaming base backup of a PostgreSQL instance" PGFILEDESC = "pg_basebackup/pg_receivexlog/pg_recvlogical - streaming WAL and backup receivers"
PGAPPICON=win32 PGAPPICON=win32
subdir = src/bin/pg_basebackup subdir = src/bin/pg_basebackup
......
...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/compatlib ...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/compatlib
top_builddir = ../../../.. top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
PGFILEDESC = "ECPG compat - compatibility library for ECPG"
NAME= ecpg_compat NAME= ecpg_compat
SO_MAJOR_VERSION= 3 SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 7 SO_MINOR_VERSION= 7
...@@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt ...@@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt
# Need to recompile any libpgport object files # Need to recompile any libpgport object files
LIBS := $(filter-out -lpgport, $(LIBS)) 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 PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes
......
...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/ecpglib ...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/ecpglib
top_builddir = ../../../.. top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
PGFILEDESC = "ECPG - embedded SQL in C"
NAME= ecpg NAME= ecpg
SO_MAJOR_VERSION= 6 SO_MAJOR_VERSION= 6
SO_MINOR_VERSION= 7 SO_MINOR_VERSION= 7
...@@ -26,7 +27,7 @@ LIBS := $(filter-out -lpgport, $(LIBS)) ...@@ -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 \ 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 \ 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 # thread.c is needed only for non-WIN32 implementation of path.c
ifneq ($(PORTNAME), win32) ifneq ($(PORTNAME), win32)
......
...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/pgtypeslib ...@@ -13,6 +13,7 @@ subdir = src/interfaces/ecpg/pgtypeslib
top_builddir = ../../../.. top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
PGFILEDESC = "pgtypes - library for data type mapping"
NAME= pgtypes NAME= pgtypes
SO_MAJOR_VERSION= 3 SO_MAJOR_VERSION= 3
SO_MINOR_VERSION= 6 SO_MINOR_VERSION= 6
...@@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt ...@@ -30,7 +31,7 @@ SHLIB_EXPORTS = exports.txt
OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \ OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \
pgstrcasecmp.o \ pgstrcasecmp.o \
$(filter rint.o snprintf.o, $(LIBOBJS)) $(filter rint.o snprintf.o, $(LIBOBJS)) $(WIN32RES)
all: all-lib all: all-lib
......
...@@ -13,6 +13,8 @@ override CPPFLAGS := \ ...@@ -13,6 +13,8 @@ override CPPFLAGS := \
'-DDLSUFFIX="$(DLSUFFIX)"' \ '-DDLSUFFIX="$(DLSUFFIX)"' \
$(CPPFLAGS) $(CPPFLAGS)
PGFILEDESC = "ECPG Test - regression tests for ECPG"
# where to find psql for testing an existing installation # where to find psql for testing an existing installation
PSQLDIR = $(bindir) PSQLDIR = $(bindir)
...@@ -41,13 +43,13 @@ clean distclean maintainer-clean: ...@@ -41,13 +43,13 @@ clean distclean maintainer-clean:
$(MAKE) -C compat_informix $@ $(MAKE) -C compat_informix $@
$(MAKE) -C thread $@ $(MAKE) -C thread $@
rm -rf tmp_check results log 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 # Build regression test driver
all: pg_regress$(X) 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 $@ $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(LIBS) -o $@
$(top_builddir)/src/test/regress/pg_regress.o: $(top_builddir)/src/test/regress/pg_regress.o:
......
...@@ -75,5 +75,5 @@ win32ver.o: win32ver.rc ...@@ -75,5 +75,5 @@ win32ver.o: win32ver.rc
$(WINDRES) -i $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(srcdir) $(WINDRES) -i $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(srcdir)
# Rule for building a shared library from a single .o file # Rule for building a shared library from a single .o file
%.dll: %.o %.dll: %.o $(WIN32RES)
$(CC) $(CFLAGS) -shared -o $@ $< -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS) $(CC) $(CFLAGS) -shared -o $@ $^ -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
...@@ -224,7 +224,7 @@ endif # MODULE_big ...@@ -224,7 +224,7 @@ endif # MODULE_big
clean: clean:
ifdef MODULES ifdef MODULES
rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES)) rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES)) $(WIN32RES)
endif endif
ifdef DATA_built ifdef DATA_built
rm -f $(DATA_built) rm -f $(DATA_built)
......
...@@ -26,10 +26,11 @@ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE ...@@ -26,10 +26,11 @@ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE
rpathdir = $(perl_archlibexp)/CORE rpathdir = $(perl_archlibexp)/CORE
PGFILEDESC = "PL/Perl - procedural language"
NAME = plperl NAME = plperl
OBJS = plperl.o SPI.o Util.o OBJS = plperl.o SPI.o Util.o $(WIN32RES)
DATA = plperl.control plperl--1.0.sql plperl--unpackaged--1.0.sql \ DATA = plperl.control plperl--1.0.sql plperl--unpackaged--1.0.sql \
plperlu.control plperlu--1.0.sql plperlu--unpackaged--1.0.sql plperlu.control plperlu--1.0.sql plperlu--unpackaged--1.0.sql
......
...@@ -10,6 +10,8 @@ subdir = src/pl/plpgsql/src ...@@ -10,6 +10,8 @@ subdir = src/pl/plpgsql/src
top_builddir = ../../../.. top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
PGFILEDESC = "PL/pgSQL - procedural language"
# Shared library parameters # Shared library parameters
NAME= plpgsql NAME= plpgsql
...@@ -17,7 +19,8 @@ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) ...@@ -17,7 +19,8 @@ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
SHLIB_LINK = $(filter -lintl, $(LIBS)) SHLIB_LINK = $(filter -lintl, $(LIBS))
rpath = rpath =
OBJS = pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o pl_scanner.o OBJS = pl_gram.o pl_handler.o pl_comp.o pl_exec.o \
pl_funcs.o pl_scanner.o $(WIN32RES)
DATA = plpgsql.control plpgsql--1.0.sql plpgsql--unpackaged--1.0.sql DATA = plpgsql.control plpgsql--1.0.sql plpgsql--unpackaged--1.0.sql
......
...@@ -38,6 +38,8 @@ override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS) ...@@ -38,6 +38,8 @@ override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS)
rpathdir = $(python_libdir) rpathdir = $(python_libdir)
PGFILEDESC = "PL/Python - procedural language"
NAME = plpython$(python_majorversion) NAME = plpython$(python_majorversion)
OBJS = \ OBJS = \
...@@ -52,7 +54,8 @@ OBJS = \ ...@@ -52,7 +54,8 @@ OBJS = \
plpy_spi.o \ plpy_spi.o \
plpy_subxactobject.o \ plpy_subxactobject.o \
plpy_typeio.o \ plpy_typeio.o \
plpy_util.o plpy_util.o \
$(WIN32RES)
DATA = $(NAME)u.control $(NAME)u--1.0.sql $(NAME)u--unpackaged--1.0.sql DATA = $(NAME)u.control $(NAME)u--1.0.sql $(NAME)u--unpackaged--1.0.sql
ifeq ($(python_majorversion),2) ifeq ($(python_majorversion),2)
......
...@@ -34,10 +34,11 @@ ifneq ($(PORTNAME), win32) ...@@ -34,10 +34,11 @@ ifneq ($(PORTNAME), win32)
SHLIB_LINK = $(TCL_LIB_SPEC) $(TCL_LIBS) -lc SHLIB_LINK = $(TCL_LIB_SPEC) $(TCL_LIBS) -lc
endif endif
PGFILEDESC = "PL/Tcl - procedural language"
NAME = pltcl NAME = pltcl
OBJS = pltcl.o OBJS = pltcl.o $(WIN32RES)
DATA = pltcl.control pltcl--1.0.sql pltcl--unpackaged--1.0.sql \ DATA = pltcl.control pltcl--1.0.sql pltcl--unpackaged--1.0.sql \
pltclu.control pltclu--1.0.sql pltclu--unpackaged--1.0.sql pltclu.control pltclu--1.0.sql pltclu--unpackaged--1.0.sql
......
...@@ -19,6 +19,12 @@ if exist pgsql.suo del /q /a:H pgsql.suo ...@@ -19,6 +19,12 @@ if exist pgsql.suo del /q /a:H pgsql.suo
del /s /q src\bin\win32ver.rc 2> NUL del /s /q src\bin\win32ver.rc 2> NUL
del /s /q src\interfaces\win32ver.rc 2> NUL del /s /q src\interfaces\win32ver.rc 2> NUL
if exist src\backend\win32ver.rc del /q src\backend\win32ver.rc if exist src\backend\win32ver.rc del /q src\backend\win32ver.rc
if exist src\backend\replication\libpqwalreceiver\win32ver.rc del /q src\backend\replication\libpqwalreceiver\win32ver.rc
if exist src\pl\plperl\win32ver.rc del /q src\pl\plperl\win32ver.rc
if exist src\pl\plpgsql\src\win32ver.rc del /q src\pl\plpgsql\src\win32ver.rc
if exist src\pl\plpython\win32ver.rc del /q src\pl\plpython\win32ver.rc
if exist src\pl\tcl\win32ver.rc del /q src\pl\tcl\win32ver.rc
for /d %%f in (src\interfaces\ecpg\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc
for /d %%f in (contrib\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc for /d %%f in (contrib\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc
for /d %%f in (src\backend\utils\mb\conversion_procs\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc for /d %%f in (src\backend\utils\mb\conversion_procs\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment