1 #-------------------------------------------------------------------------
5 # Copyright (c) 1994, Regents of the University of California
9 #-------------------------------------------------------------------------
13 include Makefile.global
19 backend/utils/mb/conversion_procs \
23 backend/replication/libpqwalreceiver \
29 # There are too many interdependencies between the subdirectories, so
30 # don't attempt parallel make here.
35 install: install-local
37 install-local: installdirs-local
38 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
39 $(INSTALL_DATA) Makefile.port '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
40 $(INSTALL_DATA) $(srcdir)/Makefile.shlib '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
41 $(INSTALL_DATA) $(srcdir)/nls-global.mk '$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
43 installdirs: installdirs-local
46 $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)'
48 uninstall: uninstall-local
51 rm -f $(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
54 $(MAKE) -C test/isolation $@
58 $(MAKE) -C tutorial NO_PGXS=1 $@
59 $(MAKE) -C test/isolation $@
60 $(MAKE) -C test/thread $@
62 distclean maintainer-clean:
64 $(MAKE) -C tutorial NO_PGXS=1 $@
65 $(MAKE) -C test/isolation $@
66 $(MAKE) -C test/thread $@
67 rm -f Makefile.port Makefile.global
70 $(MAKE) -C timezone $@
72 $(MAKE) -C backend/utils/mb/conversion_procs $@
73 $(MAKE) -C backend/snowball $@
74 $(MAKE) -C interfaces $@
75 $(MAKE) -C backend/replication/libpqwalreceiver $@
80 .PHONY: install-local installdirs-local uninstall-local