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 \
30 # There are too many interdependencies between the subdirectories, so
31 # don't attempt parallel make here.
36 install: install-local
38 install-local: installdirs-local
39 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
40 $(INSTALL_DATA) Makefile.port '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
41 $(INSTALL_DATA) $(srcdir)/Makefile.shlib '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
42 $(INSTALL_DATA) $(srcdir)/nls-global.mk '$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
44 installdirs: installdirs-local
47 $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)'
49 uninstall: uninstall-local
52 rm -f $(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
55 $(MAKE) -C test/isolation $@
59 $(MAKE) -C tutorial NO_PGXS=1 $@
60 $(MAKE) -C test/isolation $@
61 $(MAKE) -C test/thread $@
63 distclean maintainer-clean:
65 $(MAKE) -C tutorial NO_PGXS=1 $@
66 $(MAKE) -C test/isolation $@
67 $(MAKE) -C test/thread $@
68 rm -f Makefile.port Makefile.global
71 $(MAKE) -C timezone $@
73 $(MAKE) -C backend/utils/mb/conversion_procs $@
74 $(MAKE) -C backend/snowball $@
75 $(MAKE) -C interfaces $@
76 $(MAKE) -C backend/replication/libpqwalreceiver $@
81 .PHONY: install-local installdirs-local uninstall-local