summaryrefslogtreecommitdiff
path: root/src/backend/Makefile
diff options
context:
space:
mode:
authorBruce Momjian2004-10-05 19:30:25 +0000
committerBruce Momjian2004-10-05 19:30:25 +0000
commitda67c919d9f16f9dda6be0198daa8a741ca6d3b1 (patch)
tree03043c9c0bc3ac74051a3d8f9c6032b92945ab7f /src/backend/Makefile
parentabef6b51628a5c0fe3b7b3fd5523b917711645b3 (diff)
Add Win32 version info to client binaries.
Magnus Hagander
Diffstat (limited to 'src/backend/Makefile')
-rw-r--r--src/backend/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile
index 4279a9a19db..7f2b36071d4 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,10 +4,11 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.105 2004/10/04 13:43:54 momjian Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.106 2004/10/05 19:30:20 momjian Exp $
#
#-------------------------------------------------------------------------
+PGFILEDESC = "PostgreSQL Database Backend"
subdir = src/backend
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
@@ -60,11 +61,11 @@ endif # cygwin
ifeq ($(PORTNAME), win32)
-postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a
+postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a $(WIN32RES)
$(DLLTOOL) --dllname $@$(X) --output-exp $@.exp --def postgres.def
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@$(X) -Wl,--base-file,$@.base $@.exp $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@$(X) -Wl,--base-file,$@.base $@.exp $(OBJS) $(WIN32RES) $(LIBS)
$(DLLTOOL) --dllname $@$(X) --base-file $@.base --output-exp $@.exp --def postgres.def
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@$(X) $@.exp $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@$(X) $@.exp $(OBJS) $(WIN32RES) $(LIBS)
rm -f $@.exp $@.base
postgres.def: $(OBJS)