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 ifeq ($(with_llvm
), yes
)
35 SUBDIRS
+= backend
/jit
/llvm
38 # There are too many interdependencies between the subdirectories, so
39 # don't attempt parallel make here.
44 install: install-local
46 install-local
: installdirs-local
47 $(INSTALL_DATA
) Makefile.global
'$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
48 $(INSTALL_DATA
) Makefile.port
'$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
49 $(INSTALL_DATA
) $(srcdir)/Makefile.shlib
'$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
50 $(INSTALL_DATA
) $(srcdir)/nls-global.mk
'$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
52 installdirs: installdirs-local
55 $(MKDIR_P
) '$(DESTDIR)$(pgxsdir)/$(subdir)'
57 uninstall: uninstall-local
60 rm -f
$(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk
)
64 $(MAKE
) -C tutorial NO_PGXS
=1 $@
65 $(MAKE
) -C
test/isolation
$@
66 $(MAKE
) -C tools
/pg_bsd_indent
$@
70 $(MAKE
) -C tutorial NO_PGXS
=1 $@
71 $(MAKE
) -C
test/isolation
$@
72 $(MAKE
) -C tools
/pg_bsd_indent
$@
73 rm -f Makefile.port Makefile.global
76 .PHONY
: install-local installdirs-local uninstall-local