blob: 695e92ae731b8a9bbed5694bf3c51c75881e9182 [file] [log] [blame]
# $PostgreSQL: pgsql/contrib/Makefile,v 1.70 2006/09/09 04:07:51 tgl Exp $
subdir = contrib
top_builddir = ..
include $(top_builddir)/src/Makefile.global
WANTED_DIRS = \
orafce \
extprotocol \
gp_cancel_query \
formatter_fixedwidth \
hawq-hadoop
ifeq ($(with_pgcrypto), yes)
WANTED_DIRS += pgcrypto
endif
# Missing:
# start-scripts \ (does not have a makefile)
# xml2 \ (requires libxml installed)
all install installdirs uninstall distprep:
@for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || exit; \
done
clean distclean maintainer-clean:
@for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || true; \
done
$(MAKE) -C hawq-package $@
# We'd like check operations to run all the subtests before failing.
check installcheck: pgcrypto_prepare
@CHECKERR=0; for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR