3 changes: 2 additions & 1 deletion contrib/pgrowlocks/Makefile
@@ -1,10 +1,11 @@
# contrib/pgrowlocks/Makefile

MODULE_big = pgrowlocks
OBJS = pgrowlocks.o
OBJS = pgrowlocks.o $(WIN32RES)

EXTENSION = pgrowlocks
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
PG_CONFIG = pg_config
Expand Down
3 changes: 2 additions & 1 deletion contrib/pgstattuple/Makefile
@@ -1,10 +1,11 @@
# contrib/pgstattuple/Makefile

MODULE_big = pgstattuple
OBJS = pgstattuple.o pgstatindex.o
OBJS = pgstattuple.o pgstatindex.o $(WIN32RES)

EXTENSION = pgstattuple
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

Expand Down
3 changes: 2 additions & 1 deletion contrib/postgres_fdw/Makefile
@@ -1,7 +1,8 @@
# contrib/postgres_fdw/Makefile

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)
SHLIB_LINK = $(libpq)
Expand Down
3 changes: 2 additions & 1 deletion contrib/seg/Makefile
@@ -1,10 +1,11 @@
# contrib/seg/Makefile

MODULE_big = seg
OBJS = seg.o segparse.o
OBJS = seg.o segparse.o $(WIN32RES)

EXTENSION = seg
DATA = seg--1.0.sql seg--unpackaged--1.0.sql
PGFILEDESC = "seg - line segment data type"

REGRESS = seg

Expand Down
3 changes: 2 additions & 1 deletion contrib/sepgsql/Makefile
Expand Up @@ -2,8 +2,9 @@

MODULE_big = sepgsql
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
PGFILEDESC = "sepgsql - SELinux integration"

# Note: because we don't tell the Makefile there are any regression tests,
# we have to clean those result files explicitly
Expand Down
1 change: 1 addition & 0 deletions contrib/spi/Makefile
Expand Up @@ -9,6 +9,7 @@ DATA = autoinc--1.0.sql autoinc--unpackaged--1.0.sql \
moddatetime--1.0.sql moddatetime--unpackaged--1.0.sql \
refint--1.0.sql refint--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))

Expand Down
3 changes: 2 additions & 1 deletion contrib/sslinfo/Makefile
@@ -1,10 +1,11 @@
# contrib/sslinfo/Makefile

MODULE_big = sslinfo
OBJS = sslinfo.o
OBJS = sslinfo.o $(WIN32RES)

EXTENSION = sslinfo
DATA = sslinfo--1.0.sql sslinfo--unpackaged--1.0.sql
PGFILEDESC = "sslinfo - information about client SSL certificate"

ifdef USE_PGXS
PG_CONFIG = pg_config
Expand Down
1 change: 1 addition & 0 deletions contrib/tablefunc/Makefile
Expand Up @@ -4,6 +4,7 @@ MODULES = tablefunc

EXTENSION = tablefunc
DATA = tablefunc--1.0.sql tablefunc--unpackaged--1.0.sql
PGFILEDESC = "tablefunc - various functions that return tables"

REGRESS = tablefunc

Expand Down
1 change: 1 addition & 0 deletions contrib/tcn/Makefile
Expand Up @@ -4,6 +4,7 @@ MODULES = tcn

EXTENSION = tcn
DATA = tcn--1.0.sql
PGFILEDESC = "tcn - trigger function notifying listeners"

ifdef USE_PGXS
PG_CONFIG = pg_config
Expand Down
1 change: 1 addition & 0 deletions contrib/test_decoding/Makefile
@@ -1,6 +1,7 @@
# contrib/test_decoding/Makefile

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,
# we have to clean those result files explicitly
Expand Down
3 changes: 2 additions & 1 deletion contrib/test_parser/Makefile
@@ -1,7 +1,8 @@
# contrib/test_parser/Makefile

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
DATA = test_parser--1.0.sql test_parser--unpackaged--1.0.sql
Expand Down
3 changes: 2 additions & 1 deletion contrib/test_shm_mq/Makefile
@@ -1,7 +1,8 @@
# contrib/test_shm_mq/Makefile

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
DATA = test_shm_mq--1.0.sql
Expand Down
1 change: 1 addition & 0 deletions contrib/tsearch2/Makefile
Expand Up @@ -4,6 +4,7 @@ MODULES = tsearch2

EXTENSION = tsearch2
DATA = tsearch2--1.0.sql tsearch2--unpackaged--1.0.sql
PGFILEDESC = "tsearch2 - backward-compatible text search functionality"

REGRESS = tsearch2

Expand Down
3 changes: 2 additions & 1 deletion contrib/unaccent/Makefile
@@ -1,11 +1,12 @@
# contrib/unaccent/Makefile

MODULE_big = unaccent
OBJS = unaccent.o
OBJS = unaccent.o $(WIN32RES)

EXTENSION = unaccent
DATA = unaccent--1.0.sql unaccent--unpackaged--1.0.sql
DATA_TSEARCH = unaccent.rules
PGFILEDESC = "unaccent - text search dictionary that removes accents"

REGRESS = unaccent

Expand Down
3 changes: 2 additions & 1 deletion contrib/uuid-ossp/Makefile
@@ -1,10 +1,11 @@
# contrib/uuid-ossp/Makefile

MODULE_big = uuid-ossp
OBJS = uuid-ossp.o $(UUID_EXTRA_OBJS)
OBJS = uuid-ossp.o $(UUID_EXTRA_OBJS) $(WIN32RES)

EXTENSION = uuid-ossp
DATA = uuid-ossp--1.0.sql uuid-ossp--unpackaged--1.0.sql
PGFILEDESC = "uuid-ossp - UUID generation"

REGRESS = uuid_ossp

Expand Down
2 changes: 1 addition & 1 deletion contrib/vacuumlo/Makefile
Expand Up @@ -4,7 +4,7 @@ PGFILEDESC = "vacuumlo - removes orphaned large objects"
PGAPPICON = win32

PROGRAM = vacuumlo
OBJS = vacuumlo.o
OBJS = vacuumlo.o $(WIN32RES)

PG_CPPFLAGS = -I$(libpq_srcdir)
PG_LIBS = $(libpq_pgport)
Expand Down
1 change: 1 addition & 0 deletions contrib/worker_spi/Makefile
Expand Up @@ -4,6 +4,7 @@ MODULES = worker_spi

EXTENSION = worker_spi
DATA = worker_spi--1.0.sql
PGFILEDESC = "worker_spi - background worker example"

ifdef USE_PGXS
PG_CONFIG = pg_config
Expand Down
3 changes: 2 additions & 1 deletion contrib/xml2/Makefile
@@ -1,10 +1,11 @@
# contrib/xml2/Makefile

MODULE_big = pgxml
OBJS = xpath.o xslt_proc.o
OBJS = xpath.o xslt_proc.o $(WIN32RES)

EXTENSION = xml2
DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql
PGFILEDESC = "xml2 - XPath querying and XSLT"

REGRESS = xml2

Expand Down
3 changes: 2 additions & 1 deletion src/backend/replication/libpqwalreceiver/Makefile
Expand Up @@ -14,9 +14,10 @@ include $(top_builddir)/src/Makefile.global

override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS)

OBJS = libpqwalreceiver.o
OBJS = libpqwalreceiver.o $(WIN32RES)
SHLIB_LINK = $(libpq)
SHLIB_PREREQS = submake-libpq
PGFILEDESC = "libpqwalreceiver - receive WAL during streaming replication"
NAME = libpqwalreceiver

all: all-shared-lib
Expand Down
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = ascii_and_mic
PGFILEDESC = "ascii <-> mic text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = cyrillic_and_mic
PGFILEDESC = "cyrillic <-> mic text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = euc2004_sjis2004
PGFILEDESC = "euc2004 <-> sjis2004 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = euc_cn_and_mic
PGFILEDESC = "euc_cn <-> mic text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = euc_jp_and_sjis
PGFILEDESC = "euc_jp <-> sjis text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = euc_kr_and_mic
PGFILEDESC = "euc_kr <-> mic text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,6 +8,7 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = euc_tw_and_big5
PGFILEDESC = "euc_tw <-> big5 text conversions"

SRCS += big5.c
OBJS += big5.o
Expand Down
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = latin2_and_win1250
PGFILEDESC = "latin2 <-> win1250 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = latin_and_mic
PGFILEDESC = "latin <-> mic text conversions"

include $(srcdir)/../proc.mk
2 changes: 1 addition & 1 deletion src/backend/utils/mb/conversion_procs/proc.mk
@@ -1,5 +1,5 @@
SRCS += $(NAME).c
OBJS += $(NAME).o
OBJS += $(NAME).o $(WIN32RES)

rpath =

Expand Down
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_ascii
PGFILEDESC = "utf8 <-> ascii text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_big5
PGFILEDESC = "utf8 <-> big5 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_cyrillic
PGFILEDESC = "utf8 <-> cyrillic text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_euc2004
PGFILEDESC = "utf8 <-> euc2004 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_euc_cn
PGFILEDESC = "utf8 <-> euc_cn text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_euc_jp
PGFILEDESC = "utf8 <-> euc_jp text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_euc_kr
PGFILEDESC = "utf8 <-> euc_kr text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_euc_tw
PGFILEDESC = "utf8 <-> euc_tw text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_gb18030
PGFILEDESC = "utf8 <-> gb18030 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_gbk
PGFILEDESC = "utf8 <-> gbk text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_iso8859
PGFILEDESC = "utf8 <-> iso8859 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_iso8859_1
PGFILEDESC = "utf8 <-> iso8859_1 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_johab
PGFILEDESC = "utf8 <-> johab text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_sjis
PGFILEDESC = "utf8 <-> sjis text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_sjis2004
PGFILEDESC = "utf8 <-> sjis2004 text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_uhc
PGFILEDESC = "utf8 <-> uhc text conversions"

include $(srcdir)/../proc.mk
Expand Up @@ -8,5 +8,6 @@ top_builddir = ../../../../../..
include $(top_builddir)/src/Makefile.global

NAME = utf8_and_win
PGFILEDESC = "utf8 <-> win text conversions"

include $(srcdir)/../proc.mk
2 changes: 1 addition & 1 deletion src/bin/pg_basebackup/Makefile
Expand Up @@ -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

subdir = src/bin/pg_basebackup
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/ecpg/compatlib/Makefile
Expand Up @@ -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
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/ecpg/ecpglib/Makefile
Expand Up @@ -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
Expand All @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion src/interfaces/ecpg/pgtypeslib/Makefile
Expand Up @@ -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
Expand All @@ -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

Expand Down
6 changes: 4 additions & 2 deletions src/interfaces/ecpg/test/Makefile
Expand Up @@ -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)

Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/makefiles/Makefile.win32
Expand Up @@ -75,5 +75,5 @@ win32ver.o: win32ver.rc
$(WINDRES) -i $< -o $@ --include-dir=$(top_builddir)/src/include --include-dir=$(srcdir)

# Rule for building a shared library from a single .o file
%.dll: %.o
$(CC) $(CFLAGS) -shared -o $@ $< -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
%.dll: %.o $(WIN32RES)
$(CC) $(CFLAGS) -shared -o $@ $^ -Wl,--export-all-symbols $(LDFLAGS) $(LDFLAGS_SL) $(BE_DLLLIBS)
2 changes: 1 addition & 1 deletion src/makefiles/pgxs.mk
Expand Up @@ -224,7 +224,7 @@ endif # MODULE_big

clean:
ifdef MODULES
rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES))
rm -f $(addsuffix $(DLSUFFIX), $(MODULES)) $(addsuffix .o, $(MODULES)) $(WIN32RES)
endif
ifdef DATA_built
rm -f $(DATA_built)
Expand Down
3 changes: 2 additions & 1 deletion src/pl/plperl/GNUmakefile
Expand Up @@ -26,10 +26,11 @@ override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE

rpathdir = $(perl_archlibexp)/CORE

PGFILEDESC = "PL/Perl - procedural language"

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 \
plperlu.control plperlu--1.0.sql plperlu--unpackaged--1.0.sql
Expand Down
5 changes: 4 additions & 1 deletion src/pl/plpgsql/src/Makefile
Expand Up @@ -10,14 +10,17 @@ subdir = src/pl/plpgsql/src
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

PGFILEDESC = "PL/pgSQL - procedural language"

# Shared library parameters
NAME= plpgsql

override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
SHLIB_LINK = $(filter -lintl, $(LIBS))
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

Expand Down
5 changes: 4 additions & 1 deletion src/pl/plpython/Makefile
Expand Up @@ -38,6 +38,8 @@ override CPPFLAGS := -I. -I$(srcdir) $(python_includespec) $(CPPFLAGS)

rpathdir = $(python_libdir)

PGFILEDESC = "PL/Python - procedural language"

NAME = plpython$(python_majorversion)

OBJS = \
Expand All @@ -52,7 +54,8 @@ OBJS = \
plpy_spi.o \
plpy_subxactobject.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
ifeq ($(python_majorversion),2)
Expand Down
3 changes: 2 additions & 1 deletion src/pl/tcl/Makefile
Expand Up @@ -34,10 +34,11 @@ ifneq ($(PORTNAME), win32)
SHLIB_LINK = $(TCL_LIB_SPEC) $(TCL_LIBS) -lc
endif

PGFILEDESC = "PL/Tcl - procedural language"

NAME = pltcl

OBJS = pltcl.o
OBJS = pltcl.o $(WIN32RES)

DATA = pltcl.control pltcl--1.0.sql pltcl--unpackaged--1.0.sql \
pltclu.control pltclu--1.0.sql pltclu--unpackaged--1.0.sql
Expand Down
6 changes: 6 additions & 0 deletions src/tools/msvc/clean.bat
Expand Up @@ -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\interfaces\win32ver.rc 2> NUL
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 (src\backend\utils\mb\conversion_procs\*) do if exist %%f\win32ver.rc del /q %%f\win32ver.rc

Expand Down