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)
55 $(MAKE) -C tutorial NO_PGXS=1 $@
56 $(MAKE) -C test/thread $@
58 distclean maintainer-clean:
60 $(MAKE) -C tutorial NO_PGXS=1 $@
61 $(MAKE) -C test/thread $@
62 rm -f Makefile.port Makefile.global
65 $(MAKE) -C timezone $@
67 $(MAKE) -C backend/utils/mb/conversion_procs $@
68 $(MAKE) -C backend/snowball $@
69 $(MAKE) -C interfaces $@
70 $(MAKE) -C backend/replication/libpqwalreceiver $@
75 .PHONY: install-local installdirs-local uninstall-local