1 #-------------------------------------------------------------------------
5 # Copyright (c) 1994, Regents of the University of California
7 # $PostgreSQL: pgsql/src/Makefile,v 1.33 2004/07/30 12:26:40 petere 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
39 installdirs: installdirs-local
42 $(mkinstalldirs) $(DESTDIR)$(pgxsdir)/$(subdir)
44 uninstall: uninstall-local
47 rm -f $(addprefix $(DESTDIR)$(pgxsdir)/$(subdir), Makefile.global Makefile.port Makefile.shlib nls-global.mk)
51 $(MAKE) -C timezone $@
54 $(MAKE) -C interfaces $@
57 $(MAKE) -C makefiles $@
59 $(MAKE) -C tutorial $@
61 $(MAKE) -C tools/thread $@
63 distclean maintainer-clean:
65 -$(MAKE) -C timezone $@
66 -$(MAKE) -C backend $@
67 -$(MAKE) -C include $@
68 -$(MAKE) -C interfaces $@
71 -$(MAKE) -C makefiles $@
73 -$(MAKE) -C tutorial $@
75 -$(MAKE) -C tools/thread $@
76 rm -f Makefile.port Makefile.global
79 .PHONY: install-local installdirs-local uninstall-local