1 #-------------------------------------------------------------------------
5 # Copyright (c) 1994, Regents of the University of California
9 #-------------------------------------------------------------------------
13 include Makefile.global
20 backend/utils/mb/conversion_procs \
24 backend/replication/libpqwalreceiver \
25 backend/replication/pgoutput \
33 # There are too many interdependencies between the subdirectories, so
34 # don't attempt parallel make here.
39 install: install-local
41 install-local: installdirs-local
42 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
43 $(INSTALL_DATA) Makefile.port '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
44 $(INSTALL_DATA) $(srcdir)/Makefile.shlib '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
45 $(INSTALL_DATA) $(srcdir)/nls-global.mk '$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
47 installdirs: installdirs-local
50 $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)'
52 uninstall: uninstall-local
55 rm -f $(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
58 $(MAKE) -C test/isolation $@
62 $(MAKE) -C tutorial NO_PGXS=1 $@
63 $(MAKE) -C test/isolation $@
64 $(MAKE) -C test/thread $@
66 distclean maintainer-clean:
68 $(MAKE) -C tutorial NO_PGXS=1 $@
69 $(MAKE) -C test/isolation $@
70 $(MAKE) -C test/thread $@
71 rm -f Makefile.port Makefile.global
74 .PHONY: install-local installdirs-local uninstall-local