| 1 |
subdir = src/interfaces/ecpg |
| 2 |
top_builddir = ../../.. |
| 3 |
include $(top_builddir)/src/Makefile.global |
| 4 |
|
| 5 |
SUBDIRS = 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.) |
| 13 |
ifeq ($(MAKE_VERSION),3.82) |
| 14 |
.NOTPARALLEL: |
| 15 |
endif |
| 16 |
|
| 17 |
$(recurse) |
| 18 |
|
| 19 |
all-pgtypeslib-recurse all-ecpglib-recurse all-compatlib-recurse all-preproc-recurse: all-include-recurse |
| 20 |
all-compatlib-recurse: all-ecpglib-recurse |
| 21 |
all-ecpglib-recurse: all-pgtypeslib-recurse |
| 22 |
install-pgtypeslib-recurse install-ecpglib-recurse install-compatlib-recurse install-preproc-recurse: install-include-recurse |
| 23 |
install-compatlib-recurse: install-ecpglib-recurse |
| 24 |
install-ecpglib-recurse: install-pgtypeslib-recurse |
| 25 |
|
| 26 |
clean distclean: |
| 27 |
$(MAKE) -C test clean |
| 28 |
|
| 29 |
checktcp: | temp-install |
| 30 |
check checktcp installcheck: |
| 31 |
$(MAKE) -C test $@ |