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 \
34 # There are too many interdependencies between the subdirectories, so
35 # don't attempt parallel make here.
40 install: install-local
42 install-local: installdirs-local
43 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
44 $(INSTALL_DATA) Makefile.port '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
45 $(INSTALL_DATA) $(srcdir)/Makefile.shlib '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
46 $(INSTALL_DATA) $(srcdir)/nls-global.mk '$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
48 installdirs: installdirs-local
51 $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)'
53 uninstall: uninstall-local
56 rm -f $(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
59 $(MAKE) -C test/isolation $@
63 $(MAKE) -C tutorial NO_PGXS=1 $@
64 $(MAKE) -C test/isolation $@
65 $(MAKE) -C test/thread $@
67 distclean maintainer-clean:
69 $(MAKE) -C tutorial NO_PGXS=1 $@
70 $(MAKE) -C test/isolation $@
71 $(MAKE) -C test/thread $@
72 rm -f Makefile.port Makefile.global
75 .PHONY: install-local installdirs-local uninstall-local