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