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