Make to_timestamp and friends skip leading spaces before an integer field,
[PostgreSQL.git] / src / Makefile
blobacefa7580b04457d2b9b71e7cd2eefa8e023c6a3
1 #-------------------------------------------------------------------------
3 # Makefile for src
5 # Copyright (c) 1994, Regents of the University of California
7 # $PostgreSQL$
9 #-------------------------------------------------------------------------
11 subdir = src
12 top_builddir = ..
13 include Makefile.global
16 all install installdirs uninstall distprep:
17 $(MAKE) -C port $@
18 $(MAKE) -C timezone $@
19 $(MAKE) -C backend $@
20 $(MAKE) -C backend/utils/mb/conversion_procs $@
21 $(MAKE) -C backend/snowball $@
22 $(MAKE) -C include $@
23 $(MAKE) -C interfaces $@
24 $(MAKE) -C bin $@
25 $(MAKE) -C pl $@
26 $(MAKE) -C makefiles $@
27 $(MAKE) -C test/regress $@
29 install: install-local
31 install-local: installdirs-local
32 $(INSTALL_DATA) Makefile.global '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.global'
33 $(INSTALL_DATA) Makefile.port '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.port'
34 $(INSTALL_DATA) $(srcdir)/Makefile.shlib '$(DESTDIR)$(pgxsdir)/$(subdir)/Makefile.shlib'
35 $(INSTALL_DATA) $(srcdir)/nls-global.mk '$(DESTDIR)$(pgxsdir)/$(subdir)/nls-global.mk'
37 installdirs: installdirs-local
39 installdirs-local:
40 $(mkinstalldirs) '$(DESTDIR)$(pgxsdir)/$(subdir)'
42 uninstall: uninstall-local
44 uninstall-local:
45 rm -f $(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk)
47 clean:
48 $(MAKE) -C port $@
49 $(MAKE) -C timezone $@
50 $(MAKE) -C backend $@
51 $(MAKE) -C backend/snowball $@
52 $(MAKE) -C include $@
53 $(MAKE) -C interfaces $@
54 $(MAKE) -C bin $@
55 $(MAKE) -C pl $@
56 $(MAKE) -C makefiles $@
57 $(MAKE) -C test $@
58 $(MAKE) -C tutorial NO_PGXS=1 $@
59 $(MAKE) -C test/thread $@
61 distclean maintainer-clean:
62 $(MAKE) -C port $@
63 $(MAKE) -C timezone $@
64 $(MAKE) -C backend $@
65 $(MAKE) -C backend/snowball $@
66 $(MAKE) -C include $@
67 $(MAKE) -C interfaces $@
68 $(MAKE) -C bin $@
69 $(MAKE) -C pl $@
70 $(MAKE) -C makefiles $@
71 $(MAKE) -C test $@
72 $(MAKE) -C tutorial NO_PGXS=1 $@
73 $(MAKE) -C test/thread $@
74 rm -f Makefile.port Makefile.global
77 .PHONY: install-local installdirs-local uninstall-local