17cc78ef01
written a generic framework of rules that the contrib makefiles can use instead of writing their own each time. You only need to set a few variables and off you go.
58 lines
1.1 KiB
Makefile
58 lines
1.1 KiB
Makefile
# $Header: /cvsroot/pgsql/contrib/Makefile,v 1.27 2001/09/06 10:49:29 petere Exp $
|
|
|
|
subdir = contrib
|
|
top_builddir = ..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
WANTED_DIRS = \
|
|
array \
|
|
btree_gist \
|
|
chkpass \
|
|
cube \
|
|
dbase \
|
|
dblink \
|
|
earthdistance \
|
|
findoidjoins \
|
|
fulltextindex \
|
|
fuzzystrmatch \
|
|
intarray \
|
|
isbn_issn \
|
|
lo \
|
|
miscutil \
|
|
noupdate \
|
|
oid2name \
|
|
pg_controldata \
|
|
pg_dumplo \
|
|
pg_logger \
|
|
pg_resetxlog \
|
|
pgbench \
|
|
rserv \
|
|
rtree_gist \
|
|
seg \
|
|
spi \
|
|
string \
|
|
tips \
|
|
userlock \
|
|
vacuumlo
|
|
|
|
# Missing:
|
|
# ipc_check \ (does not have a makefile)
|
|
# mSQL-interface \ (requires msql installed)
|
|
# mac \ (does not have a makefile)
|
|
# mysql \ (does not have a makefile)
|
|
# oracle \ (does not have a makefile)
|
|
# pgcrypto \ (non-standard makefile)
|
|
# start-scripts \ (does not have a makefile)
|
|
# tools \ (does not have a makefile)
|
|
# xml \ (non-standard makefile)
|
|
|
|
ifeq ($(with_java),yes)
|
|
WANTED_DIRS += retep
|
|
endif
|
|
|
|
|
|
all install installdirs uninstall clean distclean maintainer-clean check installcheck:
|
|
@for dir in $(WANTED_DIRS); do \
|
|
$(MAKE) -C $$dir $@ || exit; \
|
|
done
|