aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-02-26 14:26:16 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-02-26 14:26:16 +0000
commit9623b727da1b4d6514e471469a11098f6540767c (patch)
treea0973dd5c5dc54a38fd90ed6ade4f81daaa1736c
parentf6f8d61a47b4a72e80be99dd4bb807fe0e22073b (diff)
downloadpostgresql-9623b727da1b4d6514e471469a11098f6540767c.tar.gz
postgresql-9623b727da1b4d6514e471469a11098f6540767c.zip
Don't build the win32 support files in the all target, only in distprep and
when they are actually needed as prerequisites.
-rw-r--r--src/Makefile.shlib10
-rw-r--r--src/interfaces/libpq/Makefile4
2 files changed, 4 insertions, 10 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 34d6b3fbb65..7d219d8cfc3 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.112 2008/02/26 10:45:24 petere Exp $
+# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.113 2008/02/26 14:26:16 petere Exp $
#
#-------------------------------------------------------------------------
@@ -363,13 +363,7 @@ endif # enable_shared
# tarballs.
ifneq (,$(SHLIB_EXPORTS))
-all: def-files
-
-distprep: def-files
-
-.PHONY: def-files
-
-def-files: $(srcdir)/lib$(NAME)dll.def $(srcdir)/lib$(NAME)ddll.def $(srcdir)/blib$(NAME)dll.def
+distprep: $(srcdir)/lib$(NAME)dll.def $(srcdir)/lib$(NAME)ddll.def $(srcdir)/blib$(NAME)dll.def
UC_NAME = $(shell echo $(NAME) | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 49484b9e37d..6d68905af76 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.162 2008/02/26 13:31:40 petere Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.163 2008/02/26 14:26:16 petere Exp $
#
#-------------------------------------------------------------------------
@@ -66,7 +66,7 @@ endif
SHLIB_EXPORTS = exports.txt
-all: $(srcdir)/libpq-dist.rc all-lib
+all: all-lib
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib