From f63f5680e39e0d607103b94e8488c0c67af1194c Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Sat, 16 Aug 1997 20:56:28 +0000
Subject: [PATCH] Add appropriate links into the interfaces directory, as well
 as a Makefile covering the interfaces directory

---
 src/GNUmakefile.in      | 28 +++++-----------------------
 src/interfaces/Makefile | 27 +++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 23 deletions(-)
 create mode 100644 src/interfaces/Makefile

diff --git a/src/GNUmakefile.in b/src/GNUmakefile.in
index 97bc9997d07..57a77664a2e 100644
--- a/src/GNUmakefile.in
+++ b/src/GNUmakefile.in
@@ -7,7 +7,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.15 1997/05/16 01:59:51 scrappy Exp $
+#    $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.16 1997/08/16 20:56:25 scrappy Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -41,13 +41,7 @@ all:
 	fi
 	$(MAKE) -C utils all
 	$(MAKE) -C backend all
-	$(MAKE) -C libpq all
-ifeq ($(HAVE_Cplusplus), true)
-	$(MAKE) -C libpq++ all
-endif
-ifeq ($(USE_TCL), true)
-	$(MAKE) -C libpgtcl all
-endif
+	$(MAKE) -C interfaces all
 	$(MAKE) -C bin all
 ifneq ($(wildcard man), )
 	$(MAKE) -C man all
@@ -66,13 +60,7 @@ clean:
 	$(MAKE) -C lextest clean
 	$(MAKE) -C utils clean
 	$(MAKE) -C backend clean
-	$(MAKE) -C libpq clean
-ifeq ($(HAVE_Cplusplus), true)
-	$(MAKE) -C libpq++ clean
-endif
-ifeq ($(USE_TCL), true)
-	$(MAKE) -C libpgtcl clean
-endif
+	$(MAKE) -C interfaces clean
 	$(MAKE) -C bin clean
 ifneq ($(wildcard man), )
 	$(MAKE) -C man clean
@@ -104,13 +92,7 @@ distclean: clean
 	$(MAKE) -C lextest $@
 	$(MAKE) -C utils $@
 	$(MAKE) -C backend $@
-	$(MAKE) -C libpq $@
-ifeq ($(HAVE_Cplusplus), true)
-	$(MAKE) -C libpq++ $@
-endif
-ifeq ($(USE_TCL), true)
-	$(MAKE) -C libpgtcl $@
-endif
+	$(MAKE) -C interfaces $@
 	$(MAKE) -C bin $@
 ifneq ($(wildcard man), )
 	$(MAKE) -C man $@
@@ -121,7 +103,7 @@ endif
 
 TAGS:
 	rm -f TAGS; \
-	for i in backend libpq bin; do \
+	for i in backend interfaces/libpq bin; do \
 	  $(FIND) $$i -name '*.[chyl]' -print | $(XARGS) $(ETAGS) -a ; \
 	done
 
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
new file mode 100644
index 00000000000..f3e52d7ca99
--- /dev/null
+++ b/src/interfaces/Makefile
@@ -0,0 +1,27 @@
+#-------------------------------------------------------------------------
+#
+# Makefile.inc--
+#    Makefile for src/bin (utility programs)
+#
+# Copyright (c) 1994, Regents of the University of California
+#
+#
+# IDENTIFICATION
+#    $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.1 1997/08/16 20:56:28 scrappy Exp $
+#
+#-------------------------------------------------------------------------
+
+#include ../Makefile.global
+
+.DEFAULT all:
+	$(MAKE) -C libpq $@
+
+ifeq ($(HAVE_Cplusplus), true)
+	$(MAKE) -C libpq++ $@
+endif
+
+ifeq ($(USE_TCL), true)
+	$(MAKE) -C libpgtcl $@
+endif
+
+#	$(MAKE) -C perl5 $@
-- 
GitLab