1
#-------------------------------------------------------------------------
5
# Copyright (c) 1994, Regents of the University of California
7
# $PostgreSQL: pgsql/src/Makefile,v 1.36 2005-01-13 18:23:21 tgl Exp $
9
#-------------------------------------------------------------------------
13
include Makefile.global
16
all install installdirs uninstall dep depend distprep:
18
$(MAKE) -C timezone $@
20
$(MAKE) -C backend/utils/mb/conversion_procs $@
22
$(MAKE) -C interfaces $@
25
$(MAKE) -C makefiles $@
28
install: install-local
30
install-local: installdirs-local
31
$(INSTALL_DATA) Makefile.global $(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global
32
$(INSTALL_DATA) Makefile.port $(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port
33
$(INSTALL_DATA) $(srcdir)/Makefile.shlib $(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib
34
$(INSTALL_DATA) $(srcdir)/nls-global.mk $(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk
36
installdirs: installdirs-local
39
$(mkinstalldirs) $(DESTDIR)$(pgxsdir)/$(subdir)
41
uninstall: uninstall-local
44
rm -f $(addprefix $(DESTDIR)$(pgxsdir)/$(subdir), Makefile.global Makefile.port Makefile.shlib nls-global.mk)
48
$(MAKE) -C timezone $@
51
$(MAKE) -C interfaces $@
54
$(MAKE) -C makefiles $@
56
$(MAKE) -C tutorial NO_PGXS=1 $@
58
$(MAKE) -C tools/thread $@
60
distclean maintainer-clean:
62
-$(MAKE) -C timezone $@
63
-$(MAKE) -C backend $@
64
-$(MAKE) -C include $@
65
-$(MAKE) -C interfaces $@
68
-$(MAKE) -C makefiles $@
70
-$(MAKE) -C tutorial NO_PGXS=1 $@
72
-$(MAKE) -C tools/thread $@
73
rm -f Makefile.port Makefile.global
76
.PHONY: install-local installdirs-local uninstall-local