diff options
| author | Peter Eisentraut | 2000-06-10 18:02:12 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-06-10 18:02:12 +0000 |
| commit | 6de89c9ab78a557f98dc02dca97795d27a4112d2 (patch) | |
| tree | 4b1a26308ed5013424b39847f0c7b2aad355e606 /src/GNUmakefile.in | |
| parent | 2ae20ef98a94c6a0f77e6358ae756cc02f29e921 (diff) | |
Moved the intricacies of the perl interface build into its own makefile
that now functions as a wrapper around the MakeMaker stuff. It might
even behave sensically when we have separate build dirs. Same for plperl,
which of course still doesn't work very well. Made sure that plperl
respects the choice of --libdir.
Added --with-python to automatically build and install the Python interface.
Works similarly to the Perl5 stuff.
Moved the burden of the distclean targets lower down into the source tree.
Eventually, each make file should have its own.
Added automatic remaking of makefiles and configure. Currently only for the
top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around
missing autoconf and aclocal. Start factoring out macros into their own
config/*.m4 files to increase readability and organization.
Diffstat (limited to 'src/GNUmakefile.in')
| -rw-r--r-- | src/GNUmakefile.in | 60 |
1 files changed, 20 insertions, 40 deletions
diff --git a/src/GNUmakefile.in b/src/GNUmakefile.in index f00d34efaab..1471a06a238 100644 --- a/src/GNUmakefile.in +++ b/src/GNUmakefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.51 2000/06/06 22:00:47 petere Exp $ +# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.52 2000/06/10 18:01:36 petere Exp $ # #------------------------------------------------------------------------- @@ -49,46 +49,27 @@ clean: $(MAKE) -C test clean $(MAKE) -C ../contrib/spi clean -# Remove files and symlinks created by configure script -distclean: clean - rm -f \ - Makefile.port \ - include/config.h \ - include/dynloader.h \ - include/os.h \ - backend/port/tas.s \ - backend/port/dynloader.c \ +# Not all subdirectories have a make distclean target yet +distclean: + -$(MAKE) -C utils clean + -$(MAKE) -C backend clean + rm -f backend/port/Makefile backend/catalog/genbki.sh \ backend/utils/Gen_fmgrtab.sh \ - interfaces/odbc/port \ - interfaces/odbc/makefiles \ - interfaces/odbc/template \ - interfaces/odbc/config.h \ -\ -\ -\ - GNUmakefile \ + backend/port/tas.s backend/port/dynloader.c + -$(MAKE) -C interfaces distclean + -$(MAKE) -C bin clean + rm -f bin/pg_dump/Makefile bin/pg_version/Makefile \ + bin/psql/Makefile bin/pgtclsh/mkMakefile.tcldefs.sh \ + bin/pgtclsh/mkMakefile.tkdefs.sh + -$(MAKE) -C pl distclean + -$(MAKE) -C test clean + rm -f test/regress/GNUmakefile + -$(MAKE) -C ../contrib/spi clean + rm -f Makefile.port \ + include/config.h include/dynloader.h \ + include/os.h include/version.h \ Makefile.global \ - backend/port/Makefile \ - backend/catalog/genbki.sh \ - backend/utils/Gen_fmgrtab.sh \ - bin/pg_dump/Makefile \ - bin/pg_version/Makefile \ - bin/psql/Makefile \ - bin/pgtclsh/mkMakefile.tcldefs.sh \ - bin/pgtclsh/mkMakefile.tkdefs.sh \ - include/version.h \ - interfaces/libpq/Makefile \ - interfaces/ecpg/lib/Makefile \ - interfaces/ecpg/preproc/Makefile \ - interfaces/libpq++/Makefile \ - interfaces/libpgeasy/Makefile \ - interfaces/libpgtcl/Makefile \ - interfaces/odbc/GNUmakefile \ - interfaces/odbc/Makefile.global \ - pl/plpgsql/src/Makefile \ - pl/plpgsql/src/mklang.sql \ - pl/tcl/mkMakefile.tcldefs.sh \ - test/regress/GNUmakefile + GNUmakefile .DEFAULT: $(MAKE) -C utils $@ @@ -113,4 +94,3 @@ BACKUP: .PHONY: TAGS .PHONY: BACKUP - |
