~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/Makefile

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------
 
2
#
 
3
# Makefile for src
 
4
#
 
5
# Copyright (c) 1994, Regents of the University of California
 
6
#
 
7
# $PostgreSQL: pgsql/src/Makefile,v 1.36 2005-01-13 18:23:21 tgl Exp $
 
8
#
 
9
#-------------------------------------------------------------------------
 
10
 
 
11
subdir = src
 
12
top_builddir = ..
 
13
include Makefile.global
 
14
 
 
15
 
 
16
all install installdirs uninstall dep depend distprep:
 
17
        $(MAKE) -C port $@
 
18
        $(MAKE) -C timezone $@
 
19
        $(MAKE) -C backend $@
 
20
        $(MAKE) -C backend/utils/mb/conversion_procs $@
 
21
        $(MAKE) -C include $@
 
22
        $(MAKE) -C interfaces $@
 
23
        $(MAKE) -C bin $@
 
24
        $(MAKE) -C pl $@
 
25
        $(MAKE) -C makefiles $@
 
26
        $(MAKE) -C utils $@
 
27
 
 
28
install: install-local
 
29
 
 
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
 
35
 
 
36
installdirs: installdirs-local
 
37
 
 
38
installdirs-local:
 
39
        $(mkinstalldirs) $(DESTDIR)$(pgxsdir)/$(subdir)
 
40
 
 
41
uninstall: uninstall-local
 
42
 
 
43
uninstall-local:
 
44
        rm -f $(addprefix $(DESTDIR)$(pgxsdir)/$(subdir), Makefile.global Makefile.port Makefile.shlib nls-global.mk)
 
45
 
 
46
clean:
 
47
        $(MAKE) -C port $@
 
48
        $(MAKE) -C timezone $@
 
49
        $(MAKE) -C backend $@
 
50
        $(MAKE) -C include $@
 
51
        $(MAKE) -C interfaces $@
 
52
        $(MAKE) -C bin $@
 
53
        $(MAKE) -C pl $@
 
54
        $(MAKE) -C makefiles $@
 
55
        $(MAKE) -C test $@
 
56
        $(MAKE) -C tutorial NO_PGXS=1 $@
 
57
        $(MAKE) -C utils $@
 
58
        $(MAKE) -C tools/thread $@
 
59
 
 
60
distclean maintainer-clean:
 
61
        -$(MAKE) -C port $@
 
62
        -$(MAKE) -C timezone $@
 
63
        -$(MAKE) -C backend $@
 
64
        -$(MAKE) -C include $@
 
65
        -$(MAKE) -C interfaces $@
 
66
        -$(MAKE) -C bin $@
 
67
        -$(MAKE) -C pl $@
 
68
        -$(MAKE) -C makefiles $@
 
69
        -$(MAKE) -C test $@
 
70
        -$(MAKE) -C tutorial NO_PGXS=1 $@
 
71
        -$(MAKE) -C utils $@
 
72
        -$(MAKE) -C tools/thread $@
 
73
        rm -f Makefile.port Makefile.global
 
74
 
 
75
 
 
76
.PHONY: install-local installdirs-local uninstall-local