From 44f64dd3eac840866d884269c8011b22d416bf3c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 28 Jun 2000 18:30:16 +0000 Subject: Makefile cleanup for interface tree. Now essentially with all the standard targets and behaviour. Replaced Makefile.in's with Makefile's and declared the respective variables in Makefile.global. maintainer-clean target now available at top level, although it does not work in the backend tree yet. Cleanup pass over Makefile.shlib, renamed some targets and variables. The shared library symlink tests are now done by make, not the shell. ecpg: Remove one warning in sloppy flex output. PL/Perl and Perl interface: the MakeMaker documentation is confusing, the realclean target *does* "delete derived files", but it also uninstalls them. Don't use that. The submake targets in the various bin directories that update libpq should `make all', not `make libpq.a'. That is a) unportable, and b) doesn't build the shared library. --- GNUmakefile.in | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'GNUmakefile.in') diff --git a/GNUmakefile.in b/GNUmakefile.in index e3e26d483c..72943e6fd7 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -1,15 +1,12 @@ # # PostgreSQL top level makefile # -# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.5 2000/06/14 18:17:24 petere Exp $ +# $Header: /cvsroot/pgsql/GNUmakefile.in,v 1.6 2000/06/28 18:29:11 petere Exp $ # -srcdir = @srcdir@ -VPATH = @srcdir@ - -top_srcdir = @top_srcdir@ +subdir = top_builddir = . - +include src/Makefile.global all: $(MAKE) -C src all @@ -19,17 +16,17 @@ install: $(MAKE) -C src install @cat $(srcdir)/register.txt +installdirs uninstall: + $(MAKE) -C src $@ + clean: $(MAKE) -C src clean -distclean: - -$(MAKE) -C src distclean +distclean maintainer-clean: + -$(MAKE) -C src $@ -rm -f config.cache config.log config.status GNUmakefile -.PHONY: all install clean distclean - - GNUmakefile: GNUmakefile.in $(top_builddir)/config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status -- cgit v1.2.1