Skip to content

Commit f63f568

Browse files
committed
Add appropriate links into the interfaces directory, as well as a Makefile
covering the interfaces directory
1 parent ff246d7 commit f63f568

File tree

2 files changed

+32
-23
lines changed

2 files changed

+32
-23
lines changed

src/GNUmakefile.in

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.15 1997/05/16 01:59:51 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.16 1997/08/16 20:56:25 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -41,13 +41,7 @@ all:
4141
fi
4242
$(MAKE) -C utils all
4343
$(MAKE) -C backend all
44-
$(MAKE) -C libpq all
45-
ifeq ($(HAVE_Cplusplus), true)
46-
$(MAKE) -C libpq++ all
47-
endif
48-
ifeq ($(USE_TCL), true)
49-
$(MAKE) -C libpgtcl all
50-
endif
44+
$(MAKE) -C interfaces all
5145
$(MAKE) -C bin all
5246
ifneq ($(wildcard man), )
5347
$(MAKE) -C man all
@@ -66,13 +60,7 @@ clean:
6660
$(MAKE) -C lextest clean
6761
$(MAKE) -C utils clean
6862
$(MAKE) -C backend clean
69-
$(MAKE) -C libpq clean
70-
ifeq ($(HAVE_Cplusplus), true)
71-
$(MAKE) -C libpq++ clean
72-
endif
73-
ifeq ($(USE_TCL), true)
74-
$(MAKE) -C libpgtcl clean
75-
endif
63+
$(MAKE) -C interfaces clean
7664
$(MAKE) -C bin clean
7765
ifneq ($(wildcard man), )
7866
$(MAKE) -C man clean
@@ -104,13 +92,7 @@ distclean: clean
10492
$(MAKE) -C lextest $@
10593
$(MAKE) -C utils $@
10694
$(MAKE) -C backend $@
107-
$(MAKE) -C libpq $@
108-
ifeq ($(HAVE_Cplusplus), true)
109-
$(MAKE) -C libpq++ $@
110-
endif
111-
ifeq ($(USE_TCL), true)
112-
$(MAKE) -C libpgtcl $@
113-
endif
95+
$(MAKE) -C interfaces $@
11496
$(MAKE) -C bin $@
11597
ifneq ($(wildcard man), )
11698
$(MAKE) -C man $@
@@ -121,7 +103,7 @@ endif
121103

122104
TAGS:
123105
rm -f TAGS; \
124-
for i in backend libpq bin; do \
106+
for i in backend interfaces/libpq bin; do \
125107
$(FIND) $$i -name '*.[chyl]' -print | $(XARGS) $(ETAGS) -a ; \
126108
done
127109

src/interfaces/Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile.inc--
4+
# Makefile for src/bin (utility programs)
5+
#
6+
# Copyright (c) 1994, Regents of the University of California
7+
#
8+
#
9+
# IDENTIFICATION
10+
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.1 1997/08/16 20:56:28 scrappy Exp $
11+
#
12+
#-------------------------------------------------------------------------
13+
14+
#include ../Makefile.global
15+
16+
.DEFAULT all:
17+
$(MAKE) -C libpq $@
18+
19+
ifeq ($(HAVE_Cplusplus), true)
20+
$(MAKE) -C libpq++ $@
21+
endif
22+
23+
ifeq ($(USE_TCL), true)
24+
$(MAKE) -C libpgtcl $@
25+
endif
26+
27+
# $(MAKE) -C perl5 $@

0 commit comments

Comments
 (0)