c72fcc
diff --git a/src/Makefile b/src/Makefile
c72fcc
index 977f80b..3d3b679 100644
c72fcc
--- a/src/Makefile
c72fcc
+++ b/src/Makefile
c72fcc
@@ -20,7 +20,6 @@ SUBDIRS = \
c72fcc
 	backend/utils/mb/conversion_procs \
c72fcc
 	backend/snowball \
c72fcc
 	include \
c72fcc
-	interfaces \
c72fcc
 	backend/replication/libpqwalreceiver \
c72fcc
 	fe_utils \
c72fcc
 	bin \
c72fcc
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
c72fcc
index d280a2d..724f3cf 100644
c72fcc
--- a/src/Makefile.global.in
c72fcc
+++ b/src/Makefile.global.in
c72fcc
@@ -454,7 +454,7 @@ endif
c72fcc
 
c72fcc
 # This macro is for use by libraries linking to libpq.  (Because libpgport
c72fcc
 # isn't created with the same link flags as libpq, it can't be used.)
c72fcc
-libpq = -L$(libpq_builddir) -lpq
c72fcc
+libpq = -lpq
c72fcc
 
c72fcc
 # This macro is for use by client executables (not libraries) that use libpq.
c72fcc
 # We force clients to pull symbols from the non-shared libraries libpgport
c72fcc
@@ -480,7 +480,6 @@ endif
c72fcc
 # Commonly used submake targets
c72fcc
 
c72fcc
 submake-libpq:
c72fcc
-	$(MAKE) -C $(libpq_builddir) all
c72fcc
 
c72fcc
 submake-libpgport:
c72fcc
 	$(MAKE) -C $(top_builddir)/src/port all