1subdir = src/interfaces/ecpg 2top_builddir = ../../.. 3include $(top_builddir)/src/Makefile.global 4 5SUBDIRS = include pgtypeslib ecpglib compatlib preproc 6 7# Suppress parallel build of subdirectories to avoid a bug in GNU make 3.82, cf 8# https://savannah.gnu.org/bugs/?30653 9# https://bugzilla.redhat.com/show_bug.cgi?id=835424 10# (There are some other parallelism bugs in the subdirectory makefiles 11# themselves, but there's little point in fixing them as long as we have 12# to use this big hammer.) 13ifeq ($(MAKE_VERSION),3.82) 14.NOTPARALLEL: 15endif 16 17$(recurse) 18 19all-pgtypeslib-recurse all-ecpglib-recurse all-compatlib-recurse all-preproc-recurse: all-include-recurse 20all-compatlib-recurse: all-ecpglib-recurse 21all-ecpglib-recurse: all-pgtypeslib-recurse 22install-pgtypeslib-recurse install-ecpglib-recurse install-compatlib-recurse install-preproc-recurse: install-include-recurse 23install-compatlib-recurse: install-ecpglib-recurse 24install-ecpglib-recurse: install-pgtypeslib-recurse 25 26clean distclean maintainer-clean: 27 $(MAKE) -C test clean 28 29check checktcp installcheck: 30 $(MAKE) -C test $@ 31