summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut2000-06-28 18:30:16 +0000
committerPeter Eisentraut2000-06-28 18:30:16 +0000
commit44f64dd3eac840866d884269c8011b22d416bf3c (patch)
treed4be0830d9d93fc2d66fc0281743f2e7a9cd46f5 /src/interfaces/ecpg/Makefile
parent5ac1eac2a6355b090d074489f4f11b5b844c3274 (diff)
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.
Diffstat (limited to 'src/interfaces/ecpg/Makefile')
-rw-r--r--src/interfaces/ecpg/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index 029b3baa62a..fb537e671bb 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -1,4 +1,13 @@
-all install uninstall clean dep depend:
+subdir = src/interfaces/ecpg
+top_builddir = ../../..
+include ../../Makefile.global
+
+all install installdirs uninstall dep depend:
$(MAKE) -C include $@
$(MAKE) -C lib $@
$(MAKE) -C preproc $@
+
+clean distclean maintainer-clean:
+ -$(MAKE) -C include $@
+ -$(MAKE) -C lib $@
+ -$(MAKE) -C preproc $@