1 #-------------------------------------------------------------------------
5 # Copyright (c) 1994, Regents of the University of California
9 #-------------------------------------------------------------------------
13 include Makefile.global
16 all install installdirs uninstall distprep
:
18 $(MAKE
) -C timezone
$@
20 $(MAKE
) -C backend
/utils
/mb
/conversion_procs
$@
21 $(MAKE
) -C backend
/snowball
$@
23 $(MAKE
) -C interfaces
$@
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
40 $(mkinstalldirs
) '$(DESTDIR)$(pgxsdir)/$(subdir)'
42 uninstall: uninstall-local
45 rm -f
$(addprefix '$(DESTDIR)$(pgxsdir)/$(subdir)'/, Makefile.global Makefile.port Makefile.shlib nls-global.mk
)
49 $(MAKE
) -C timezone
$@
51 $(MAKE
) -C backend
/snowball
$@
53 $(MAKE
) -C interfaces
$@
56 $(MAKE
) -C makefiles
$@
58 $(MAKE
) -C tutorial NO_PGXS
=1 $@
59 $(MAKE
) -C
test/thread
$@
61 distclean maintainer-clean
:
63 $(MAKE
) -C timezone
$@
65 $(MAKE
) -C backend
/snowball
$@
67 $(MAKE
) -C interfaces
$@
70 $(MAKE
) -C makefiles
$@
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