Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a29c04a5
Commit
a29c04a5
authored
Dec 09, 2005
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow installation into directories containing spaces in the name.
parent
3a20db97
Changes
49
Show whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
258 additions
and
249 deletions
+258
-249
config/Makefile
config/Makefile
+5
-5
contrib/mSQL-interface/Makefile
contrib/mSQL-interface/Makefile
+4
-4
doc/Makefile
doc/Makefile
+3
-3
src/Makefile
src/Makefile
+7
-7
src/Makefile.shlib
src/Makefile.shlib
+11
-11
src/backend/Makefile
src/backend/Makefile
+24
-24
src/backend/catalog/Makefile
src/backend/catalog/Makefile
+8
-8
src/backend/utils/mb/conversion_procs/Makefile
src/backend/utils/mb/conversion_procs/Makefile
+4
-4
src/backend/utils/mb/conversion_procs/proc.mk
src/backend/utils/mb/conversion_procs/proc.mk
+6
-3
src/bin/initdb/Makefile
src/bin/initdb/Makefile
+4
-4
src/bin/ipcclean/Makefile
src/bin/ipcclean/Makefile
+4
-4
src/bin/pg_config/Makefile
src/bin/pg_config/Makefile
+4
-4
src/bin/pg_controldata/Makefile
src/bin/pg_controldata/Makefile
+4
-4
src/bin/pg_ctl/Makefile
src/bin/pg_ctl/Makefile
+4
-4
src/bin/pg_dump/Makefile
src/bin/pg_dump/Makefile
+6
-6
src/bin/pg_resetxlog/Makefile
src/bin/pg_resetxlog/Makefile
+4
-4
src/bin/pgevent/Makefile
src/bin/pgevent/Makefile
+2
-2
src/bin/psql/Makefile
src/bin/psql/Makefile
+5
-5
src/bin/scripts/Makefile
src/bin/scripts/Makefile
+12
-12
src/include/Makefile
src/include/Makefile
+21
-21
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/compatlib/Makefile
+2
-2
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
+2
-2
src/interfaces/ecpg/include/Makefile
src/interfaces/ecpg/include/Makefile
+5
-5
src/interfaces/ecpg/pgtypeslib/Makefile
src/interfaces/ecpg/pgtypeslib/Makefile
+2
-2
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile
+4
-4
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+7
-7
src/makefiles/Makefile
src/makefiles/Makefile
+4
-4
src/makefiles/Makefile.bsdi
src/makefiles/Makefile.bsdi
+1
-1
src/makefiles/Makefile.freebsd
src/makefiles/Makefile.freebsd
+1
-1
src/makefiles/Makefile.hpux
src/makefiles/Makefile.hpux
+2
-2
src/makefiles/Makefile.irix
src/makefiles/Makefile.irix
+1
-1
src/makefiles/Makefile.linux
src/makefiles/Makefile.linux
+1
-1
src/makefiles/Makefile.netbsd
src/makefiles/Makefile.netbsd
+2
-2
src/makefiles/Makefile.openbsd
src/makefiles/Makefile.openbsd
+1
-1
src/makefiles/Makefile.osf
src/makefiles/Makefile.osf
+1
-1
src/makefiles/Makefile.solaris
src/makefiles/Makefile.solaris
+3
-3
src/makefiles/Makefile.unixware
src/makefiles/Makefile.unixware
+4
-4
src/makefiles/pgxs.mk
src/makefiles/pgxs.mk
+24
-24
src/nls-global.mk
src/nls-global.mk
+4
-4
src/pl/plperl/GNUmakefile
src/pl/plperl/GNUmakefile
+4
-4
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/Makefile
+4
-4
src/pl/plpython/Makefile
src/pl/plpython/Makefile
+4
-4
src/pl/tcl/Makefile
src/pl/tcl/Makefile
+4
-4
src/pl/tcl/modules/Makefile
src/pl/tcl/modules/Makefile
+7
-7
src/port/Makefile
src/port/Makefile
+7
-4
src/test/regress/GNUmakefile
src/test/regress/GNUmakefile
+3
-3
src/test/regress/pg_regress.sh
src/test/regress/pg_regress.sh
+4
-4
src/timezone/Makefile
src/timezone/Makefile
+6
-3
src/utils/Makefile
src/utils/Makefile
+2
-2
No files found.
config/Makefile
View file @
a29c04a5
# $PostgreSQL: pgsql/config/Makefile,v 1.
1 2004/07/30 12:26:39
petere Exp $
# $PostgreSQL: pgsql/config/Makefile,v 1.
2 2005/12/09 21:19:34
petere Exp $
subdir
=
config
subdir
=
config
top_builddir
=
..
top_builddir
=
..
...
@@ -6,11 +6,11 @@ include $(top_builddir)/src/Makefile.global
...
@@ -6,11 +6,11 @@ include $(top_builddir)/src/Makefile.global
install
:
all installdirs
install
:
all installdirs
$(INSTALL_SCRIPT)
$(srcdir)
/install-sh
$(DESTDIR)$(pgxsdir)
/config/install-sh
$(INSTALL_SCRIPT)
$(srcdir)
/install-sh
'
$(DESTDIR)$(pgxsdir)
/config/install-sh'
$(INSTALL_SCRIPT)
$(srcdir)
/mkinstalldirs
$(DESTDIR)$(pgxsdir)
/config/mkinstalldirs
$(INSTALL_SCRIPT)
$(srcdir)
/mkinstalldirs
'
$(DESTDIR)$(pgxsdir)
/config/mkinstalldirs'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pgxsdir)
/config
$(mkinstalldirs)
'
$(DESTDIR)$(pgxsdir)
/config'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pgxsdir)
/config/install-sh
$(DESTDIR)$(pgxsdir)
/config/mkinstalldirs
rm
-f
'
$(DESTDIR)$(pgxsdir)
/config/install-sh'
'
$(DESTDIR)$(pgxsdir)
/config/mkinstalldirs'
contrib/mSQL-interface/Makefile
View file @
a29c04a5
#
#
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.1
0 2005/09/27 17:13:05 tgl
Exp $
# $PostgreSQL: pgsql/contrib/mSQL-interface/Makefile,v 1.1
1 2005/12/09 21:19:34 petere
Exp $
#
#
NAME
=
mpgsql
NAME
=
mpgsql
...
@@ -22,13 +22,13 @@ endif
...
@@ -22,13 +22,13 @@ endif
all
:
all-lib
all
:
all-lib
install
:
all installdirs install-lib
install
:
all installdirs install-lib
$(INSTALL_DATA)
README.
$(NAME)
$(docdir)
/contrib
$(INSTALL_DATA)
$(srcdir)
/README.
$(NAME)
'
$(DESTDIR)$(docdir)
/contrib'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(libdir)
$(docdir)
/contrib
$(mkinstalldirs)
$(libdir)
'
$(DESTDIR)$(docdir)
/contrib'
uninstall
:
uninstall-lib
uninstall
:
uninstall-lib
rm
-f
$(docdir)
/contrib/README.
$(NAME)
rm
-f
'
$(DESTDIR)$(docdir)
/contrib/README.
$(NAME)
'
clean distclean maintainer-clean
:
clean-lib
clean distclean maintainer-clean
:
clean-lib
rm
-f
$(OBJS)
rm
-f
$(OBJS)
doc/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/doc/Makefile,v 1.2
7 2003/11/29 19:51:36 pgsql
Exp $
# $PostgreSQL: pgsql/doc/Makefile,v 1.2
8 2005/12/09 21:19:34 petere
Exp $
#
#
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
...
@@ -83,10 +83,10 @@ endif
...
@@ -83,10 +83,10 @@ endif
installdirs
:
installdirs
:
ifdef
found_html
ifdef
found_html
$(mkinstalldirs)
$(DESTDIR)$(docdir)
/html
$(mkinstalldirs)
'
$(DESTDIR)$(docdir)
'
/html
endif
endif
ifdef
found_man
ifdef
found_man
$(mkinstalldirs)
$(
addprefix
$(DESTDIR)$(mandir)
/man, 1
$(sqlmansectnum)
)
$(mkinstalldirs)
$(
addprefix
'
$(DESTDIR)$(mandir)
'
/man, 1
$(sqlmansectnum)
)
endif
endif
...
...
src/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/Makefile,v 1.3
7 2005/11/28 12:03:56 alvher
re Exp $
# $PostgreSQL: pgsql/src/Makefile,v 1.3
8 2005/12/09 21:19:34 pete
re Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -29,20 +29,20 @@ all install installdirs uninstall dep depend distprep:
...
@@ -29,20 +29,20 @@ all install installdirs uninstall dep depend distprep:
install
:
install-local
install
:
install-local
install-local
:
installdirs-local
install-local
:
installdirs-local
$(INSTALL_DATA)
Makefile.global
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.global
$(INSTALL_DATA)
Makefile.global
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.global'
$(INSTALL_DATA)
Makefile.port
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.port
$(INSTALL_DATA)
Makefile.port
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.port'
$(INSTALL_DATA)
$(srcdir)
/Makefile.shlib
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.shlib
$(INSTALL_DATA)
$(srcdir)
/Makefile.shlib
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/Makefile.shlib'
$(INSTALL_DATA)
$(srcdir)
/nls-global.mk
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/nls-global.mk
$(INSTALL_DATA)
$(srcdir)
/nls-global.mk
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/nls-global.mk'
installdirs
:
installdirs-local
installdirs
:
installdirs-local
installdirs-local
:
installdirs-local
:
$(mkinstalldirs)
$(DESTDIR)$(pgxsdir)
/
$(subdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
'
uninstall
:
uninstall-local
uninstall
:
uninstall-local
uninstall-local
:
uninstall-local
:
rm
-f
$(
addprefix
$(DESTDIR)$(pgxsdir)
/
$(subdir)
, Makefile.global Makefile.port Makefile.shlib nls-global.mk
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
'
/
, Makefile.global Makefile.port Makefile.shlib nls-global.mk
)
clean
:
clean
:
$(MAKE)
-C
port
$@
$(MAKE)
-C
port
$@
...
...
src/Makefile.shlib
View file @
a29c04a5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
# Copyright (c) 1998, Regents of the University of California
#
#
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.
99 2005/12/03 20:16:31 tgl
Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.
100 2005/12/09 21:19:34 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -162,7 +162,7 @@ ifeq ($(PORTNAME), hpux)
...
@@ -162,7 +162,7 @@ ifeq ($(PORTNAME), hpux)
# can't use the CC-syntax rpath pattern here
# can't use the CC-syntax rpath pattern here
rpath
=
rpath
=
ifeq
($(enable_rpath), yes)
ifeq
($(enable_rpath), yes)
LINK.shared
=
$(LD)
+h
$(soname)
-b
+b
$(rpathdir)
LINK.shared
=
$(LD)
+h
$(soname)
-b
+b
'
$(rpathdir)
'
else
else
LINK.shared
=
$(LD)
+h
$(soname)
-b
LINK.shared
=
$(LD)
+h
$(soname)
-b
endif
endif
...
@@ -366,24 +366,24 @@ endif # enable_shared
...
@@ -366,24 +366,24 @@ endif # enable_shared
install-lib
:
install-lib-static install-lib-shared
install-lib
:
install-lib-static install-lib-shared
install-lib-static
:
lib$(NAME).a
install-lib-static
:
lib$(NAME).a
$(INSTALL_STLIB)
$<
$(DESTDIR)$(libdir)
/lib
$(NAME)
.a
$(INSTALL_STLIB)
$<
'
$(DESTDIR)$(libdir)
/lib
$(NAME)
.a'
ifeq
($(PORTNAME), darwin)
ifeq
($(PORTNAME), darwin)
cd
$(DESTDIR)$(libdir)
&&
\
cd
'
$(DESTDIR)$(libdir)
'
&&
\
ranlib lib
$(NAME)
.a
ranlib lib
$(NAME)
.a
endif
endif
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
install-lib-shared
:
$(shlib)
install-lib-shared
:
$(shlib)
$(INSTALL_SHLIB)
$<
$(DESTDIR)$(libdir)
/
$(shlib)
$(INSTALL_SHLIB)
$<
'
$(DESTDIR)$(libdir)
/
$(shlib)
'
ifneq
($(PORTNAME), cygwin)
ifneq
($(PORTNAME), cygwin)
ifneq
($(PORTNAME), win32)
ifneq
($(PORTNAME), win32)
ifneq
($(shlib), $(shlib_major))
ifneq
($(shlib), $(shlib_major))
cd
$(DESTDIR)$(libdir)
&&
\
cd
'
$(DESTDIR)$(libdir)
'
&&
\
rm
-f
$(shlib_major)
&&
\
rm
-f
$(shlib_major)
&&
\
$(LN_S)
$(shlib)
$(shlib_major)
$(LN_S)
$(shlib)
$(shlib_major)
endif
endif
ifneq
($(shlib), $(shlib_bare))
ifneq
($(shlib), $(shlib_bare))
cd
$(DESTDIR)$(libdir)
&&
\
cd
'
$(DESTDIR)$(libdir)
'
&&
\
rm
-f
$(shlib_bare)
&&
\
rm
-f
$(shlib_bare)
&&
\
$(LN_S)
$(shlib)
$(shlib_bare)
$(LN_S)
$(shlib)
$(shlib_bare)
endif
endif
...
@@ -398,11 +398,11 @@ endif # enable_shared
...
@@ -398,11 +398,11 @@ endif # enable_shared
.PHONY
:
uninstall-lib
.PHONY
:
uninstall-lib
uninstall-lib
:
uninstall-lib
:
rm
-f
$(DESTDIR)$(libdir)
/lib
$(NAME)
.a
rm
-f
'
$(DESTDIR)$(libdir)
/lib
$(NAME)
.a'
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
rm
-f
$(DESTDIR)$(libdir)
/
$(shlib_bare)
\
rm
-f
'
$(DESTDIR)$(libdir)
/
$(shlib_bare)
'
\
$(DESTDIR)$(libdir)
/
$(shlib_major)
\
'
$(DESTDIR)$(libdir)
/
$(shlib_major)
'
\
$(DESTDIR)$(libdir)
/
$(shlib)
'
$(DESTDIR)$(libdir)
/
$(shlib)
'
endif
# enable_shared
endif
# enable_shared
...
...
src/backend/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.11
2 2005/11/28 22:43:30 tgl
Exp $
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.11
3 2005/12/09 21:19:34 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -159,73 +159,73 @@ distprep:
...
@@ -159,73 +159,73 @@ distprep:
install
:
all installdirs install-bin
install
:
all installdirs install-bin
ifeq
($(PORTNAME), cygwin)
ifeq
($(PORTNAME), cygwin)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
$(INSTALL_DATA)
libpostgres.a
$(DESTDIR)$(libdir)
/libpostgres.a
$(INSTALL_DATA)
libpostgres.a
'
$(DESTDIR)$(libdir)
/libpostgres.a'
endif
endif
endif
endif
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
$(INSTALL_DATA)
libpostgres.a
$(DESTDIR)$(libdir)
/libpostgres.a
$(INSTALL_DATA)
libpostgres.a
'
$(DESTDIR)$(libdir)
/libpostgres.a'
endif
endif
endif
endif
$(MAKE)
-C
catalog install-data
$(MAKE)
-C
catalog install-data
$(INSTALL_DATA)
$(srcdir)
/libpq/pg_hba.conf.sample
$(DESTDIR)$(datadir)
/pg_hba.conf.sample
$(INSTALL_DATA)
$(srcdir)
/libpq/pg_hba.conf.sample
'
$(DESTDIR)$(datadir)
/pg_hba.conf.sample'
$(INSTALL_DATA)
$(srcdir)
/libpq/pg_ident.conf.sample
$(DESTDIR)$(datadir)
/pg_ident.conf.sample
$(INSTALL_DATA)
$(srcdir)
/libpq/pg_ident.conf.sample
'
$(DESTDIR)$(datadir)
/pg_ident.conf.sample'
$(INSTALL_DATA)
$(srcdir)
/utils/misc/postgresql.conf.sample
$(DESTDIR)$(datadir)
/postgresql.conf.sample
$(INSTALL_DATA)
$(srcdir)
/utils/misc/postgresql.conf.sample
'
$(DESTDIR)$(datadir)
/postgresql.conf.sample'
$(INSTALL_DATA)
$(srcdir)
/access/transam/recovery.conf.sample
$(DESTDIR)$(datadir)
/recovery.conf.sample
$(INSTALL_DATA)
$(srcdir)
/access/transam/recovery.conf.sample
'
$(DESTDIR)$(datadir)
/recovery.conf.sample'
install-bin
:
postgres $(POSTGRES_IMP) installdirs
install-bin
:
postgres $(POSTGRES_IMP) installdirs
$(INSTALL_PROGRAM)
postgres
$(X)
$(DESTDIR)$(bindir)
/postgres
$(X)
$(INSTALL_PROGRAM)
postgres
$(X)
'
$(DESTDIR)$(bindir)
/postgres
$(X)
'
ifneq
($(PORTNAME), win32)
ifneq
($(PORTNAME), win32)
@
rm
-f
$(DESTDIR)$(bindir)
/postmaster
$(X)
@
rm
-f
'
$(DESTDIR)$(bindir)
/postmaster
$(X)
'
ln
-s
postgres
$(X)
$(DESTDIR)$(bindir)
/postmaster
$(X)
ln
-s
postgres
$(X)
'
$(DESTDIR)$(bindir)
/postmaster
$(X)
'
else
else
$(INSTALL_PROGRAM)
postgres
$(X)
$(DESTDIR)$(bindir)
/postmaster
$(X)
$(INSTALL_PROGRAM)
postgres
$(X)
'
$(DESTDIR)$(bindir)
/postmaster
$(X)
'
endif
endif
ifeq
($(MAKE_EXPORTS), true)
ifeq
($(MAKE_EXPORTS), true)
$(INSTALL_DATA)
$(POSTGRES_IMP)
$(DESTDIR)$(pkglibdir)
/
$(POSTGRES_IMP)
$(INSTALL_DATA)
$(POSTGRES_IMP)
'
$(DESTDIR)$(pkglibdir)
/
$(POSTGRES_IMP)
'
endif
endif
.PHONY
:
install-bin
.PHONY
:
install-bin
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(DESTDIR)$(datadir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
'
$(DESTDIR)$(datadir)
'
ifeq
($(PORTNAME), cygwin)
ifeq
($(PORTNAME), cygwin)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
endif
endif
endif
endif
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
endif
endif
endif
endif
ifeq
($(MAKE_EXPORTS), true)
ifeq
($(MAKE_EXPORTS), true)
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
endif
endif
##########################################################################
##########################################################################
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/postgres
$(X)
$(DESTDIR)$(bindir)
/postmaster
rm
-f
'
$(DESTDIR)$(bindir)
/postgres
$(X)
'
'
$(DESTDIR)$(bindir)
/postmaster'
ifeq
($(MAKE_EXPORTS), true)
ifeq
($(MAKE_EXPORTS), true)
rm
-f
$(DESTDIR)$(pkglibdir)
/
$(POSTGRES_IMP)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/
$(POSTGRES_IMP)
'
endif
endif
ifeq
($(PORTNAME), cygwin)
ifeq
($(PORTNAME), cygwin)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
rm
-f
$(DESTDIR)$(libdir)
/libpostgres.a
rm
-f
'
$(DESTDIR)$(libdir)
/libpostgres.a'
endif
endif
endif
endif
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
ifeq
($(MAKE_DLL), true)
ifeq
($(MAKE_DLL), true)
rm
-f
$(DESTDIR)$(libdir)
/libpostgres.a
rm
-f
'
$(DESTDIR)$(libdir)
/libpostgres.a'
endif
endif
endif
endif
$(MAKE)
-C
catalog uninstall-data
$(MAKE)
-C
catalog uninstall-data
rm
-f
$(DESTDIR)$(datadir)
/pg_hba.conf.sample
\
rm
-f
'
$(DESTDIR)$(datadir)
/pg_hba.conf.sample'
\
$(DESTDIR)$(datadir)
/pg_service.conf.sample
\
'
$(DESTDIR)$(datadir)
/pg_ident.conf.sample'
\
$(DESTDIR)$(datadir)
/pg_ident.conf.sample
\
'
$(DESTDIR)$(datadir)
/postgresql.conf.sample'
\
$(DESTDIR)$(datadir)
/postgresql.conf.sample
'
$(DESTDIR)$(datadir)
/recovery.conf.sample'
##########################################################################
##########################################################################
...
...
src/backend/catalog/Makefile
View file @
a29c04a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# Makefile for backend/catalog
# Makefile for backend/catalog
#
#
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.5
7 2005/09/08 20:07:41 tgl
Exp $
# $PostgreSQL: pgsql/src/backend/catalog/Makefile,v 1.5
8 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -49,18 +49,18 @@ postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) \
...
@@ -49,18 +49,18 @@ postgres.bki: genbki.sh $(POSTGRES_BKI_SRCS) \
.PHONY
:
install-data
.PHONY
:
install-data
install-data
:
$(BKIFILES) installdirs
install-data
:
$(BKIFILES) installdirs
$(INSTALL_DATA)
postgres.bki
$(DESTDIR)$(datadir)
/postgres.bki
$(INSTALL_DATA)
postgres.bki
'
$(DESTDIR)$(datadir)
/postgres.bki'
$(INSTALL_DATA)
postgres.description
$(DESTDIR)$(datadir)
/postgres.description
$(INSTALL_DATA)
postgres.description
'
$(DESTDIR)$(datadir)
/postgres.description'
$(INSTALL_DATA)
$(srcdir)
/system_views.sql
$(DESTDIR)$(datadir)
/system_views.sql
$(INSTALL_DATA)
$(srcdir)
/system_views.sql
'
$(DESTDIR)$(datadir)
/system_views.sql'
$(INSTALL_DATA)
$(srcdir)
/information_schema.sql
$(DESTDIR)$(datadir)
/information_schema.sql
$(INSTALL_DATA)
$(srcdir)
/information_schema.sql
'
$(DESTDIR)$(datadir)
/information_schema.sql'
$(INSTALL_DATA)
$(srcdir)
/sql_features.txt
$(DESTDIR)$(datadir)
/sql_features.txt
$(INSTALL_DATA)
$(srcdir)
/sql_features.txt
'
$(DESTDIR)$(datadir)
/sql_features.txt'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(datadir)
$(mkinstalldirs)
'
$(DESTDIR)$(datadir)
'
.PHONY
:
uninstall-data
.PHONY
:
uninstall-data
uninstall-data
:
uninstall-data
:
rm
-f
$(
addprefix
$(DESTDIR)$(datadir)
/,
$(BKIFILES)
system_views.sql information_schema.sql sql_features.txt
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(datadir)
'
/,
$(BKIFILES)
system_views.sql information_schema.sql sql_features.txt
)
clean
:
clean
:
rm
-f
SUBSYS.o
$(OBJS)
$(BKIFILES)
rm
-f
SUBSYS.o
$(OBJS)
$(BKIFILES)
src/backend/utils/mb/conversion_procs/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for utils/mb/conversion_procs
# Makefile for utils/mb/conversion_procs
#
#
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.1
4 2005/05/03 19:17:59 tgl
Exp $
# $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/Makefile,v 1.1
5 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -184,14 +184,14 @@ $(REGRESSION_SCRIPT): Makefile
...
@@ -184,14 +184,14 @@ $(REGRESSION_SCRIPT): Makefile
cat
regress_epilogue
>>
$@
;
cat
regress_epilogue
>>
$@
;
install
:
$(SQLSCRIPT) installdirs
install
:
$(SQLSCRIPT) installdirs
$(INSTALL_DATA)
$(SQLSCRIPT)
$(DESTDIR)$(datadir)
$(INSTALL_DATA)
$(SQLSCRIPT)
'
$(DESTDIR)$(datadir)
'
@
for
dir
in
$(DIRS)
;
do
$(MAKE)
-C
$$
dir
$@
||
exit
;
done
@
for
dir
in
$(DIRS)
;
do
$(MAKE)
-C
$$
dir
$@
||
exit
;
done
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(datadir)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(datadir)
'
'
$(DESTDIR)$(pkglibdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(datadir)
/
$(SQLSCRIPT)
rm
-f
'
$(DESTDIR)$(datadir)
/
$(SQLSCRIPT)
'
@
for
dir
in
$(DIRS)
;
do
$(MAKE)
-C
$$
dir
$@
||
exit
;
done
@
for
dir
in
$(DIRS)
;
do
$(MAKE)
-C
$$
dir
$@
||
exit
;
done
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
...
...
src/backend/utils/mb/conversion_procs/proc.mk
View file @
a29c04a5
...
@@ -11,13 +11,16 @@ all: all-shared-lib
...
@@ -11,13 +11,16 @@ all: all-shared-lib
include
$(top_srcdir)/src/Makefile.shlib
include
$(top_srcdir)/src/Makefile.shlib
install
:
all
install
:
all
installdirs
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
'
endif
endif
installdirs
:
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
'
clean distclean maintainer-clean
:
clean-lib
clean distclean maintainer-clean
:
clean-lib
rm
-f
$(OBJS)
rm
-f
$(OBJS)
src/bin/initdb/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.
49 2005/03/25 18:17:12 momjian
Exp $
# $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.
50 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -24,13 +24,13 @@ initdb: $(OBJS) $(libpq_builddir)/libpq.a
...
@@ -24,13 +24,13 @@ initdb: $(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(OBJS)
$(libpq_pgport)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
$(CC)
$(CFLAGS)
$(OBJS)
$(libpq_pgport)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
initdb
$(X)
$(DESTDIR)$(bindir)
/initdb
$(X)
$(INSTALL_PROGRAM)
initdb
$(X)
'
$(DESTDIR)$(bindir)
/initdb
$(X)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/initdb
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/initdb
$(X)
'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
initdb
$(X)
$(OBJS)
rm
-f
initdb
$(X)
$(OBJS)
...
...
src/bin/ipcclean/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/ipcclean/Makefile,v 1.1
8 2005/01/01 20:44:20 tgl
Exp $
# $PostgreSQL: pgsql/src/bin/ipcclean/Makefile,v 1.1
9 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -20,13 +20,13 @@ ipcclean: ipcclean.sh
...
@@ -20,13 +20,13 @@ ipcclean: ipcclean.sh
chmod
a+x
$@
chmod
a+x
$@
install
:
all installdirs
install
:
all installdirs
$(INSTALL_SCRIPT)
ipcclean
$(DESTDIR)$(bindir)
/ipcclean
$(INSTALL_SCRIPT)
ipcclean
'
$(DESTDIR)$(bindir)
/ipcclean'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/ipcclean
rm
-f
'
$(DESTDIR)$(bindir)
/ipcclean'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
ipcclean
rm
-f
ipcclean
src/bin/pg_config/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
#
#
# $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.1
5 2005/08/09 22:47:03 tgl
Exp $
# $PostgreSQL: pgsql/src/bin/pg_config/Makefile,v 1.1
6 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -35,13 +35,13 @@ pg_config: $(OBJS)
...
@@ -35,13 +35,13 @@ pg_config: $(OBJS)
$(CC)
$(CFLAGS)
$(OBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
$(CC)
$(CFLAGS)
$(OBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
install
:
all installdirs
install
:
all installdirs
$(INSTALL_SCRIPT)
pg_config
$(X)
$(DESTDIR)$(bindir)
/pg_config
$(X)
$(INSTALL_SCRIPT)
pg_config
$(X)
'
$(DESTDIR)$(bindir)
/pg_config
$(X)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/pg_config
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/pg_config
$(X)
'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
pg_config
$(X)
$(OBJS)
rm
-f
pg_config
$(X)
$(OBJS)
src/bin/pg_controldata/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
#
#
# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.1
2 2005/01/01 20:44:22 tgl
Exp $
# $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.1
3 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -26,13 +26,13 @@ pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
...
@@ -26,13 +26,13 @@ pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm
-f
$@
&&
$(LN_S)
$<
.
rm
-f
$@
&&
$(LN_S)
$<
.
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
pg_controldata
$(X)
$(DESTDIR)$(bindir)
/pg_controldata
$(X)
$(INSTALL_PROGRAM)
pg_controldata
$(X)
'
$(DESTDIR)$(bindir)
/pg_controldata
$(X)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/pg_controldata
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/pg_controldata
$(X)
'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
pg_controldata
$(X)
$(OBJS)
pg_crc.c
rm
-f
pg_controldata
$(X)
$(OBJS)
pg_crc.c
src/bin/pg_ctl/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/pg_ctl/Makefile,v 1.2
0 2005/03/25 18:17:13 momjian
Exp $
# $PostgreSQL: pgsql/src/bin/pg_ctl/Makefile,v 1.2
1 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -24,13 +24,13 @@ pg_ctl: $(OBJS) $(libpq_builddir)/libpq.a
...
@@ -24,13 +24,13 @@ pg_ctl: $(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(OBJS)
$(libpq_pgport)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
$(CC)
$(CFLAGS)
$(OBJS)
$(libpq_pgport)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
pg_ctl
$(X)
$(DESTDIR)$(bindir)
/pg_ctl
$(X)
$(INSTALL_PROGRAM)
pg_ctl
$(X)
'
$(DESTDIR)$(bindir)
/pg_ctl
$(X)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/pg_ctl
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/pg_ctl
$(X)
'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
pg_ctl
$(X)
$(OBJS)
rm
-f
pg_ctl
$(X)
$(OBJS)
...
...
src/bin/pg_dump/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.6
0 2005/03/25 18:17:13 momjian
Exp $
# $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.6
1 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -39,15 +39,15 @@ submake-backend:
...
@@ -39,15 +39,15 @@ submake-backend:
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
pg_dump
$(X)
$(DESTDIR)$(bindir)
/pg_dump
$(X)
$(INSTALL_PROGRAM)
pg_dump
$(X)
'
$(DESTDIR)$(bindir)
'
/pg_dump
$(X)
$(INSTALL_PROGRAM)
pg_restore
$(X)
$(DESTDIR)$(bindir)
/pg_restore
$(X)
$(INSTALL_PROGRAM)
pg_restore
$(X)
'
$(DESTDIR)$(bindir)
'
/pg_restore
$(X)
$(INSTALL_PROGRAM)
pg_dumpall
$(X)
$(DESTDIR)$(bindir)
/pg_dumpall
$(X)
$(INSTALL_PROGRAM)
pg_dumpall
$(X)
'
$(DESTDIR)$(bindir)
'
/pg_dumpall
$(X)
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/, pg_dump
$(X)
pg_restore
$(X)
pg_dumpall
$(X)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(bindir)
'
/, pg_dump
$(X)
pg_restore
$(X)
pg_dumpall
$(X)
)
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
pg_dump
$(X)
pg_restore
$(X)
pg_dumpall
$(X)
$(OBJS)
pg_dump.o common.o pg_dump_sort.o pg_restore.o pg_dumpall.o
rm
-f
pg_dump
$(X)
pg_restore
$(X)
pg_dumpall
$(X)
$(OBJS)
pg_dump.o common.o pg_dump_sort.o pg_restore.o pg_dumpall.o
src/bin/pg_resetxlog/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
#
#
# $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.1
4 2005/01/01 20:44:24 tgl
Exp $
# $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.1
5 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -26,13 +26,13 @@ pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
...
@@ -26,13 +26,13 @@ pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm
-f
$@
&&
$(LN_S)
$<
.
rm
-f
$@
&&
$(LN_S)
$<
.
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
pg_resetxlog
$(X)
$(DESTDIR)$(bindir)
/pg_resetxlog
$(X)
$(INSTALL_PROGRAM)
pg_resetxlog
$(X)
'
$(DESTDIR)$(bindir)
/pg_resetxlog
$(X)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/pg_resetxlog
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/pg_resetxlog
$(X)
'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
pg_resetxlog
$(X)
$(OBJS)
pg_crc.c
rm
-f
pg_resetxlog
$(X)
$(OBJS)
pg_crc.c
src/bin/pgevent/Makefile
View file @
a29c04a5
...
@@ -28,10 +28,10 @@ pgmsgevent.o: pgmsgevent.rc win32ver.rc
...
@@ -28,10 +28,10 @@ pgmsgevent.o: pgmsgevent.rc win32ver.rc
all-lib
:
$(NAME)
all-lib
:
$(NAME)
install-lib
:
$(NAME)
install-lib
:
$(NAME)
$(INSTALL_STLIB)
$<
$(DESTDIR)$(libdir)
/
$<
$(INSTALL_STLIB)
$<
'
$(DESTDIR)$(libdir)
/$<'
uninstall-lib
:
uninstall-lib
:
rm
-f
$(DESTDIR)$(libdir)
/
$(NAME)
rm
-f
'
$(DESTDIR)$(libdir)
/
$(NAME)
'
clean distclean
:
clean distclean
:
rm
-f
$(OBJS)
$(NAME)
win32ver.rc
rm
-f
$(OBJS)
$(NAME)
win32ver.rc
...
...
src/bin/psql/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.5
4 2005/05/24 16:45:23 tgl
Exp $
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.5
5 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -51,14 +51,14 @@ endif
...
@@ -51,14 +51,14 @@ endif
distprep
:
$(srcdir)/sql_help.h $(srcdir)/psqlscan.c
distprep
:
$(srcdir)/sql_help.h $(srcdir)/psqlscan.c
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
psql
$(X)
$(DESTDIR)$(bindir)
/psql
$(X)
$(INSTALL_PROGRAM)
psql
$(X)
'
$(DESTDIR)$(bindir)
/psql
$(X)
'
$(INSTALL_DATA)
$(srcdir)
/psqlrc.sample
$(DESTDIR)$(datadir)
/psqlrc.sample
$(INSTALL_DATA)
$(srcdir)
/psqlrc.sample
'
$(DESTDIR)$(datadir)
/psqlrc.sample'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/psql
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/psql
$(X)
'
'
$(DESTDIR)$(datadir)
/psqlrc.sample'
# psqlscan.c is in the distribution tarball, so is not cleaned here
# psqlscan.c is in the distribution tarball, so is not cleaned here
clean distclean
:
clean distclean
:
...
...
src/bin/scripts/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.3
4 2005/07/29 15:13:11 momjian
Exp $
# $PostgreSQL: pgsql/src/bin/scripts/Makefile,v 1.3
5 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -45,21 +45,21 @@ submake-backend:
...
@@ -45,21 +45,21 @@ submake-backend:
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
createdb
$(X)
$(DESTDIR)$(bindir)
/createdb
$(X)
$(INSTALL_PROGRAM)
createdb
$(X)
'
$(DESTDIR)$(bindir)
'
/createdb
$(X)
$(INSTALL_PROGRAM)
dropdb
$(X)
$(DESTDIR)$(bindir)
/dropdb
$(X)
$(INSTALL_PROGRAM)
dropdb
$(X)
'
$(DESTDIR)$(bindir)
'
/dropdb
$(X)
$(INSTALL_PROGRAM)
createlang
$(X)
$(DESTDIR)$(bindir)
/createlang
$(X)
$(INSTALL_PROGRAM)
createlang
$(X)
'
$(DESTDIR)$(bindir)
'
/createlang
$(X)
$(INSTALL_PROGRAM)
droplang
$(X)
$(DESTDIR)$(bindir)
/droplang
$(X)
$(INSTALL_PROGRAM)
droplang
$(X)
'
$(DESTDIR)$(bindir)
'
/droplang
$(X)
$(INSTALL_PROGRAM)
createuser
$(X)
$(DESTDIR)$(bindir)
/createuser
$(X)
$(INSTALL_PROGRAM)
createuser
$(X)
'
$(DESTDIR)$(bindir)
'
/createuser
$(X)
$(INSTALL_PROGRAM)
dropuser
$(X)
$(DESTDIR)$(bindir)
/dropuser
$(X)
$(INSTALL_PROGRAM)
dropuser
$(X)
'
$(DESTDIR)$(bindir)
'
/dropuser
$(X)
$(INSTALL_PROGRAM)
clusterdb
$(X)
$(DESTDIR)$(bindir)
/clusterdb
$(X)
$(INSTALL_PROGRAM)
clusterdb
$(X)
'
$(DESTDIR)$(bindir)
'
/clusterdb
$(X)
$(INSTALL_PROGRAM)
vacuumdb
$(X)
$(DESTDIR)$(bindir)
/vacuumdb
$(X)
$(INSTALL_PROGRAM)
vacuumdb
$(X)
'
$(DESTDIR)$(bindir)
'
/vacuumdb
$(X)
$(INSTALL_PROGRAM)
reindexdb
$(X)
$(DESTDIR)$(bindir)
/reindexdb
$(X)
$(INSTALL_PROGRAM)
reindexdb
$(X)
'
$(DESTDIR)$(bindir)
'
/reindexdb
$(X)
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/,
$(
addsuffix
$(X)
,
$(PROGRAMS)
))
rm
-f
$(
addprefix
'
$(DESTDIR)$(bindir)
'
/,
$(
addsuffix
$(X)
,
$(PROGRAMS)
))
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
...
...
src/include/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# 'make install' installs whole contents of src/include.
# 'make install' installs whole contents of src/include.
#
#
# $PostgreSQL: pgsql/src/include/Makefile,v 1.2
0 2005/03/25 23:22:54 momjian
Exp $
# $PostgreSQL: pgsql/src/include/Makefile,v 1.2
1 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -24,37 +24,37 @@ SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
...
@@ -24,37 +24,37 @@ SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
# Install all headers
# Install all headers
install
:
all installdirs
install
:
all installdirs
# These headers are needed by the public headers of the interfaces.
# These headers are needed by the public headers of the interfaces.
$(INSTALL_DATA)
$(srcdir)/postgres_ext.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
$(srcdir)/postgres_ext.h
'$(DESTDIR)$(includedir)'
$(INSTALL_DATA)
$(srcdir)/libpq/libpq-fs.h
$(DESTDIR)$(includedir)/libpq
$(INSTALL_DATA)
$(srcdir)/libpq/libpq-fs.h
'$(DESTDIR)$(includedir)/libpq'
$(INSTALL_DATA)
pg_config.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
pg_config.h
'$(DESTDIR)$(includedir)'
$(INSTALL_DATA)
pg_config_os.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
pg_config_os.h
'$(DESTDIR)$(includedir)'
$(INSTALL_DATA)
$(srcdir)/pg_config_manual.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
$(srcdir)/pg_config_manual.h
'$(DESTDIR)$(includedir)'
# These headers are needed by the not-so-public headers of the interfaces.
# These headers are needed by the not-so-public headers of the interfaces.
$(INSTALL_DATA)
$(srcdir)/c.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)/c.h
'$(DESTDIR)$(includedir_internal)'
$(INSTALL_DATA)
$(srcdir)/port.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)/port.h
'$(DESTDIR)$(includedir_internal)'
$(INSTALL_DATA)
$(srcdir)/postgres_fe.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)/postgres_fe.h
'$(DESTDIR)$(includedir_internal)'
$(INSTALL_DATA)
$(srcdir)/libpq/pqcomm.h
$(DESTDIR)$(includedir_internal)/libpq
$(INSTALL_DATA)
$(srcdir)/libpq/pqcomm.h
'$(DESTDIR)$(includedir_internal)/libpq'
# These headers are needed for server-side development
# These headers are needed for server-side development
$(INSTALL_DATA)
pg_config.h
$(DESTDIR)$(includedir_server)
$(INSTALL_DATA)
pg_config.h
'$(DESTDIR)$(includedir_server)'
$(INSTALL_DATA)
pg_config_os.h
$(DESTDIR)$(includedir_server)
$(INSTALL_DATA)
pg_config_os.h
'$(DESTDIR)$(includedir_server)'
# We don't use INSTALL_DATA for performance reasons --- there are a lot of files
# We don't use INSTALL_DATA for performance reasons --- there are a lot of files
cp
$(srcdir)/*.h
$(DESTDIR)$(includedir_server)
/
||
exit;
\
cp
$(srcdir)/*.h
'$(DESTDIR)$(includedir_server)'
/
||
exit;
\
chmod
$(INSTALL_DATA_MODE)
$(DESTDIR)$(includedir_server)
/*.h
||
exit;
\
chmod
$(INSTALL_DATA_MODE)
'$(DESTDIR)$(includedir_server)'
/*.h
||
exit;
\
for
dir
in
$(SUBDIRS);
do
\
for
dir
in
$(SUBDIRS);
do
\
cp
$(srcdir)/$$dir/*.h
$(DESTDIR)$(includedir_server)
/$$dir/
||
exit;
\
cp
$(srcdir)/$$dir/*.h
'$(DESTDIR)$(includedir_server)'
/$$dir/
||
exit;
\
chmod
$(INSTALL_DATA_MODE)
$(DESTDIR)$(includedir_server)
/$$dir/*.h
||
exit;
\
chmod
$(INSTALL_DATA_MODE)
'$(DESTDIR)$(includedir_server)'
/$$dir/*.h
||
exit;
\
done
done
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(includedir)
/libpq
$(DESTDIR)$(includedir_internal)
/libpq
$(mkinstalldirs)
'
$(DESTDIR)$(includedir)
/libpq'
'
$(DESTDIR)$(includedir_internal)
/libpq'
$(mkinstalldirs)
$(
addprefix
$(DESTDIR)$(includedir_server)
/,
$(SUBDIRS)
)
$(mkinstalldirs)
$(
addprefix
'
$(DESTDIR)$(includedir_server)
'
/,
$(SUBDIRS)
)
uninstall
:
uninstall
:
rm
-f
$(
addprefix
$(DESTDIR)$(includedir)
/, pg_config.h pg_config_os
.h postgres_ext.h libpq/libpq-fs.h
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(includedir)
'
/, pg_config.h pg_config_os.h pg_config_manual
.h postgres_ext.h libpq/libpq-fs.h
)
rm
-f
$(
addprefix
$(DESTDIR)$(includedir_internal)
/, c
.h postgres_fe.h libpq/pqcomm.h
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(includedir_internal)
'
/, c.h port
.h postgres_fe.h libpq/pqcomm.h
)
# heuristic...
# heuristic...
rm
-rf
$(addprefix
$(DESTDIR)$(includedir_server)
/,
$(SUBDIRS)
*.h)
rm
-rf
$(addprefix
'$(DESTDIR)$(includedir_server)'
/,
$(SUBDIRS)
*.h)
clean
:
clean
:
...
...
src/interfaces/ecpg/compatlib/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.2
2 2005/12/09 02:49:09 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.2
3 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -33,7 +33,7 @@ include $(top_srcdir)/src/Makefile.shlib
...
@@ -33,7 +33,7 @@ include $(top_srcdir)/src/Makefile.shlib
install
:
all installdirs install-lib
install
:
all installdirs install-lib
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
uninstall
:
uninstall-lib
uninstall
:
uninstall-lib
...
...
src/interfaces/ecpg/ecpglib/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.3
6 2005/12/09 02:49:09 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.3
7 2005/12/09 21:19:35 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -57,7 +57,7 @@ $(top_builddir)/src/port/pg_config_paths.h:
...
@@ -57,7 +57,7 @@ $(top_builddir)/src/port/pg_config_paths.h:
install
:
all installdirs install-lib
install
:
all installdirs install-lib
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
uninstall
:
uninstall-lib
uninstall
:
uninstall-lib
...
...
src/interfaces/ecpg/include/Makefile
View file @
a29c04a5
...
@@ -12,12 +12,12 @@ ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informi
...
@@ -12,12 +12,12 @@ ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informi
informix_headers
=
datetime.h decimal.h sqltypes.h sqlda.h
informix_headers
=
datetime.h decimal.h sqltypes.h sqlda.h
install-headers
:
$(ecpg_headers) $(informix_headers)
install-headers
:
$(ecpg_headers) $(informix_headers)
for
i
in
$(ecpg_headers)
;
do
$(INSTALL_DATA)
$(srcdir)
/
$$
i
$(DESTDIR)$(includedir)
||
exit
;
done
for
i
in
$(ecpg_headers)
;
do
$(INSTALL_DATA)
$(srcdir)
/
$$
i
'
$(DESTDIR)$(includedir)
'
||
exit
;
done
for
i
in
$(informix_headers)
;
do
$(INSTALL_DATA)
$(srcdir)
/
$$
i
$(DESTDIR)$(informix_esql_dir)
||
exit
;
done
for
i
in
$(informix_headers)
;
do
$(INSTALL_DATA)
$(srcdir)
/
$$
i
'
$(DESTDIR)$(informix_esql_dir)
'
||
exit
;
done
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(includedir)
$(DESTDIR)$(informix_esql_dir)
$(mkinstalldirs)
'
$(DESTDIR)$(includedir)
'
'
$(DESTDIR)$(informix_esql_dir)
'
uninstall
:
uninstall
:
rm
-f
$(
addprefix
$(DESTDIR)$(includedir)
/,
$(ecpg_headers)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(includedir)
'
/,
$(ecpg_headers)
)
rm
-f
$(
addprefix
$(DESTDIR)$(informix_esql_dir)
/,
$(informix_headers)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(informix_esql_dir)
'
/,
$(informix_headers)
)
src/interfaces/ecpg/pgtypeslib/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.2
8 2005/12/09 02:49:09 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.2
9 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -46,7 +46,7 @@ pgstrcasecmp.c rint.c snprintf.c: % : $(top_srcdir)/src/port/%
...
@@ -46,7 +46,7 @@ pgstrcasecmp.c rint.c snprintf.c: % : $(top_srcdir)/src/port/%
install
:
all installdirs install-lib
install
:
all installdirs install-lib
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
uninstall
:
uninstall-lib
uninstall
:
uninstall-lib
...
...
src/interfaces/ecpg/preproc/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
#
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.11
6 2005/12/09 02:49:09 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.11
7 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -62,13 +62,13 @@ c_keywords.o ecpg_keywords.o keywords.o preproc.o: preproc.h
...
@@ -62,13 +62,13 @@ c_keywords.o ecpg_keywords.o keywords.o preproc.o: preproc.h
distprep
:
$(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
distprep
:
$(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
install
:
all installdirs
install
:
all installdirs
$(INSTALL_PROGRAM)
ecpg
$(X)
$(DESTDIR)$(bindir)
$(INSTALL_PROGRAM)
ecpg
$(X)
'
$(DESTDIR)$(bindir)
'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/ecpg
$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/ecpg
$(X)
'
clean distclean
:
clean distclean
:
rm
-f
*
.o ecpg
$(X)
rm
-f
*
.o ecpg
$(X)
...
...
src/interfaces/libpq/Makefile
View file @
a29c04a5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.1
39 2005/12/09 02:49:09 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.1
40 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -132,16 +132,16 @@ $(top_builddir)/src/port/pg_config_paths.h:
...
@@ -132,16 +132,16 @@ $(top_builddir)/src/port/pg_config_paths.h:
$(MAKE)
-C
$(top_builddir)
/src/port pg_config_paths.h
$(MAKE)
-C
$(top_builddir)
/src/port pg_config_paths.h
install
:
all installdirs install-lib
install
:
all installdirs install-lib
$(INSTALL_DATA)
$(srcdir)
/libpq-fe.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
$(srcdir)
/libpq-fe.h
'
$(DESTDIR)$(includedir)
'
$(INSTALL_DATA)
$(srcdir)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)
/libpq-int.h
'
$(DESTDIR)$(includedir_internal)
'
$(INSTALL_DATA)
$(srcdir)
/pqexpbuffer.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)
/pqexpbuffer.h
'
$(DESTDIR)$(includedir_internal)
'
$(INSTALL_DATA)
$(srcdir)
/pg_service.conf.sample
$(DESTDIR)$(datadir)
/pg_service.conf.sample
$(INSTALL_DATA)
$(srcdir)
/pg_service.conf.sample
'
$(DESTDIR)$(datadir)
/pg_service.conf.sample'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(libdir)
$(DESTDIR)$(includedir)
$(DESTDIR)$(includedir_internal)
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
'
$(DESTDIR)$(includedir)
'
'
$(DESTDIR)$(includedir_internal)
'
uninstall
:
uninstall-lib
uninstall
:
uninstall-lib
rm
-f
$(DESTDIR)$(includedir)
/libpq-fe.h
$(DESTDIR)$(includedir_internal)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
/pqexpbuffer.h
rm
-f
'
$(DESTDIR)$(includedir)
/libpq-fe.h'
'
$(DESTDIR)$(includedir_internal)
/libpq-int.h'
'
$(DESTDIR)$(includedir_internal)
/pqexpbuffer.h'
'
$(DESTDIR)$(datadir)
/pg_service.conf.sample'
clean distclean
:
clean-lib
clean distclean
:
clean-lib
rm
-f
$(OBJS)
pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h
rm
-f
$(OBJS)
pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h
...
...
src/makefiles/Makefile
View file @
a29c04a5
# $PostgreSQL: pgsql/src/makefiles/Makefile,v 1.
1 2004/07/30 12:26:40
petere Exp $
# $PostgreSQL: pgsql/src/makefiles/Makefile,v 1.
2 2005/12/09 21:19:36
petere Exp $
subdir
=
src/makefiles
subdir
=
src/makefiles
top_builddir
=
../..
top_builddir
=
../..
...
@@ -6,10 +6,10 @@ include $(top_builddir)/src/Makefile.global
...
@@ -6,10 +6,10 @@ include $(top_builddir)/src/Makefile.global
install
:
all installdirs
install
:
all installdirs
$(INSTALL_DATA)
$(srcdir)
/pgxs.mk
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/
$(INSTALL_DATA)
$(srcdir)
/pgxs.mk
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pgxsdir)
/
$(subdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pgxs.mk
rm
-f
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pgxs.mk'
src/makefiles/Makefile.bsdi
View file @
a29c04a5
...
@@ -14,7 +14,7 @@ endif
...
@@ -14,7 +14,7 @@ endif
ifeq
($(DLSUFFIX), .so)
ifeq
($(DLSUFFIX), .so)
CFLAGS_SL
=
-fpic
CFLAGS_SL
=
-fpic
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath,
'
$(rpathdir)
'
export_dynamic
=
-Wl
,-export-dynamic
export_dynamic
=
-Wl
,-export-dynamic
else
else
CFLAGS_SL
=
CFLAGS_SL
=
...
...
src/makefiles/Makefile.freebsd
View file @
a29c04a5
...
@@ -2,7 +2,7 @@ AROPT = cr
...
@@ -2,7 +2,7 @@ AROPT = cr
ifdef
ELF_SYSTEM
ifdef
ELF_SYSTEM
export_dynamic
=
-Wl
,-export-dynamic
export_dynamic
=
-Wl
,-export-dynamic
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
endif
endif
DLSUFFIX
=
.so
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.hpux
View file @
a29c04a5
...
@@ -19,9 +19,9 @@ LIBS := -lxnet $(LIBS)
...
@@ -19,9 +19,9 @@ LIBS := -lxnet $(LIBS)
# Set up rpath so that the executables don't need SHLIB_PATH to be set.
# Set up rpath so that the executables don't need SHLIB_PATH to be set.
# (Note: --disable-rpath is a really bad idea on this platform...)
# (Note: --disable-rpath is a really bad idea on this platform...)
ifeq
($(with_gnu_ld), yes)
ifeq
($(with_gnu_ld), yes)
rpath
=
-Wl
,-rpath
-Wl
,
$(rpathdir)
rpath
=
-Wl
,-rpath
-Wl
,
'
$(rpathdir)
'
else
else
rpath
=
-Wl
,+b
-Wl
,
$(rpathdir)
rpath
=
-Wl
,+b
-Wl
,
'
$(rpathdir)
'
endif
endif
# catch null pointer dereferences
# catch null pointer dereferences
...
...
src/makefiles/Makefile.irix
View file @
a29c04a5
MK_NO_LORDER
=
true
MK_NO_LORDER
=
true
AROPT
=
crs
AROPT
=
crs
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath,
'
$(rpathdir)
'
DLSUFFIX
=
.so
DLSUFFIX
=
.so
# PIC is default
# PIC is default
...
...
src/makefiles/Makefile.linux
View file @
a29c04a5
AROPT
=
crs
AROPT
=
crs
export_dynamic
=
-Wl
,-E
export_dynamic
=
-Wl
,-E
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath,
'
$(rpathdir)
'
allow_nonpic_in_shlib
=
yes
allow_nonpic_in_shlib
=
yes
DLSUFFIX
=
.so
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.netbsd
View file @
a29c04a5
...
@@ -2,9 +2,9 @@ AROPT = cr
...
@@ -2,9 +2,9 @@ AROPT = cr
ifdef
ELF_SYSTEM
ifdef
ELF_SYSTEM
export_dynamic
=
-Wl
,-E
export_dynamic
=
-Wl
,-E
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
else
else
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
endif
endif
DLSUFFIX
=
.so
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.openbsd
View file @
a29c04a5
...
@@ -2,7 +2,7 @@ AROPT = cr
...
@@ -2,7 +2,7 @@ AROPT = cr
ifdef
ELF_SYSTEM
ifdef
ELF_SYSTEM
export_dynamic
=
-Wl
,-E
export_dynamic
=
-Wl
,-E
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
endif
endif
DLSUFFIX
=
.so
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.osf
View file @
a29c04a5
AROPT
=
crs
AROPT
=
crs
DLSUFFIX
=
.so
DLSUFFIX
=
.so
CFLAGS_SL
=
CFLAGS_SL
=
rpath
=
-rpath
$(rpathdir)
rpath
=
-rpath
'
$(rpathdir)
'
%.so
:
%.o
%.so
:
%.o
$(LD)
-shared
-expect_unresolved
'*'
-o
$@
$<
$(LD)
-shared
-expect_unresolved
'*'
-o
$@
$<
...
...
src/makefiles/Makefile.solaris
View file @
a29c04a5
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.1
2 2004/12/21 18:47:42 tgl
Exp $
# $PostgreSQL: pgsql/src/makefiles/Makefile.solaris,v 1.1
3 2005/12/09 21:19:36 petere
Exp $
AROPT
=
crs
AROPT
=
crs
ifeq
($(with_gnu_ld), yes)
ifeq
($(with_gnu_ld), yes)
export_dynamic
=
-Wl
,-E
export_dynamic
=
-Wl
,-E
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath,
'
$(rpathdir)
'
else
else
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
endif
endif
DLSUFFIX
=
.so
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.unixware
View file @
a29c04a5
...
@@ -7,9 +7,9 @@ endif
...
@@ -7,9 +7,9 @@ endif
ifeq
($(ld_R_works), yes)
ifeq
($(ld_R_works), yes)
ifeq
($(with_gnu_ld), yes)
ifeq
($(with_gnu_ld), yes)
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath,
'
$(rpathdir)
'
else
else
rpath
=
-Wl
,-R
$(rpathdir)
rpath
=
-Wl
,-R
'
$(rpathdir)
'
endif
endif
endif
endif
...
...
src/makefiles/pgxs.mk
View file @
a29c04a5
# PGXS: PostgreSQL extensions makefile
# PGXS: PostgreSQL extensions makefile
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.
6 2005/09/27 17:43:31 tgl
Exp $
# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.
7 2005/12/09 21:19:36 petere
Exp $
# This file contains generic rules to build many kinds of simple
# This file contains generic rules to build many kinds of simple
# extension modules. You only need to set a few variables and include
# extension modules. You only need to set a few variables and include
...
@@ -89,82 +89,82 @@ endif # MODULE_big
...
@@ -89,82 +89,82 @@ endif # MODULE_big
install
:
all installdirs
install
:
all installdirs
ifneq
(,$(DATA)$(DATA_built))
ifneq
(,$(DATA)$(DATA_built))
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(DATA)
)
$(DATA_built)
;
do
\
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(DATA)
)
$(DATA_built)
;
do
\
echo
"
$(INSTALL_DATA)
$$
file
$(DESTDIR)$(datadir)
/contrib
"
;
\
echo
"
$(INSTALL_DATA)
$$
file
'
$(DESTDIR)$(datadir)
/contrib'
"
;
\
$(INSTALL_DATA)
$$
file
$(DESTDIR)$(datadir)
/contrib
;
\
$(INSTALL_DATA)
$$
file
'
$(DESTDIR)$(datadir)
/contrib'
;
\
done
done
endif
# DATA
endif
# DATA
ifdef
MODULES
ifdef
MODULES
@
for
file
in
$(
addsuffix
$(DLSUFFIX)
,
$(MODULES)
)
;
do
\
@
for
file
in
$(
addsuffix
$(DLSUFFIX)
,
$(MODULES)
)
;
do
\
echo
"
$(INSTALL_SHLIB)
$$
file
$(DESTDIR)$(pkglibdir)
"
;
\
echo
"
$(INSTALL_SHLIB)
$$
file
'
$(DESTDIR)$(pkglibdir)
'
"
;
\
$(INSTALL_SHLIB)
$$
file
$(DESTDIR)$(pkglibdir)
;
\
$(INSTALL_SHLIB)
$$
file
'
$(DESTDIR)$(pkglibdir)
'
;
\
done
done
endif
# MODULES
endif
# MODULES
ifdef
DOCS
ifdef
DOCS
ifdef
docdir
ifdef
docdir
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(DOCS)
)
;
do
\
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(DOCS)
)
;
do
\
echo
"
$(INSTALL_DATA)
$$
file
$(DESTDIR)$(docdir)
/contrib
"
;
\
echo
"
$(INSTALL_DATA)
$$
file
'
$(DESTDIR)$(docdir)
/contrib'
"
;
\
$(INSTALL_DATA)
$$
file
$(DESTDIR)$(docdir)
/contrib
;
\
$(INSTALL_DATA)
$$
file
'
$(DESTDIR)$(docdir)
/contrib'
;
\
done
done
endif
# docdir
endif
# docdir
endif
# DOCS
endif
# DOCS
ifdef
PROGRAM
ifdef
PROGRAM
$(INSTALL_PROGRAM)
$(PROGRAM)$(X)
$(DESTDIR)$(bindir)
$(INSTALL_PROGRAM)
$(PROGRAM)$(X)
'
$(DESTDIR)$(bindir)
'
endif
# PROGRAM
endif
# PROGRAM
ifdef
MODULE_big
ifdef
MODULE_big
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/
$(MODULE_big)$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/
$(MODULE_big)$(DLSUFFIX)
'
endif
# MODULE_big
endif
# MODULE_big
ifdef
SCRIPTS
ifdef
SCRIPTS
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(SCRIPTS)
)
;
do
\
@
for
file
in
$(
addprefix
$(srcdir)
/,
$(SCRIPTS)
)
;
do
\
echo
"
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
"
;
\
echo
"
$(INSTALL_SCRIPT)
$$
file
'
$(DESTDIR)$(bindir)
'
"
;
\
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
;
\
$(INSTALL_SCRIPT)
$$
file
'
$(DESTDIR)$(bindir)
'
;
\
done
done
endif
# SCRIPTS
endif
# SCRIPTS
ifdef
SCRIPTS_built
ifdef
SCRIPTS_built
@
for
file
in
$(SCRIPTS_built)
;
do
\
@
for
file
in
$(SCRIPTS_built)
;
do
\
echo
"
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
"
;
\
echo
"
$(INSTALL_SCRIPT)
$$
file
'
$(DESTDIR)$(bindir)
'
"
;
\
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
;
\
$(INSTALL_SCRIPT)
$$
file
'
$(DESTDIR)$(bindir)
'
;
\
done
done
endif
# SCRIPTS_built
endif
# SCRIPTS_built
installdirs
:
installdirs
:
ifneq
(,$(DATA)$(DATA_built))
ifneq
(,$(DATA)$(DATA_built))
$(mkinstalldirs)
$(DESTDIR)$(datadir)
/contrib
$(mkinstalldirs)
'
$(DESTDIR)$(datadir)
/contrib'
endif
endif
ifneq
(,$(MODULES)$(MODULE_big))
ifneq
(,$(MODULES)$(MODULE_big))
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
endif
endif
ifdef
DOCS
ifdef
DOCS
ifdef
docdir
ifdef
docdir
$(mkinstalldirs)
$(DESTDIR)$(docdir)
/contrib
$(mkinstalldirs)
'
$(DESTDIR)$(docdir)
/contrib'
endif
# docdir
endif
# docdir
endif
# DOCS
endif
# DOCS
ifneq
(,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
ifneq
(,$(PROGRAM)$(SCRIPTS)$(SCRIPTS_built))
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
endif
endif
uninstall
:
uninstall
:
ifneq
(,$(DATA)$(DATA_built))
ifneq
(,$(DATA)$(DATA_built))
rm
-f
$(
addprefix
$(DESTDIR)$(datadir)
/contrib/,
$(
notdir
$(DATA)
$(DATA_built)
))
rm
-f
$(
addprefix
'
$(DESTDIR)$(datadir)
'
/contrib/,
$(
notdir
$(DATA)
$(DATA_built)
))
endif
endif
ifdef
MODULES
ifdef
MODULES
rm
-f
$(
addprefix
$(DESTDIR)$(pkglibdir)
/,
$(
addsuffix
$(DLSUFFIX)
,
$(MODULES)
))
rm
-f
$(
addprefix
'
$(DESTDIR)$(pkglibdir)
'
/,
$(
addsuffix
$(DLSUFFIX)
,
$(MODULES)
))
endif
endif
ifdef
DOCS
ifdef
DOCS
rm
-f
$(
addprefix
$(DESTDIR)$(docdir)
/contrib/,
$(DOCS)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(docdir)
'
/contrib/,
$(DOCS)
)
endif
endif
ifdef
PROGRAM
ifdef
PROGRAM
rm
-f
$(DESTDIR)$(bindir)
/
$(PROGRAM)$(X)
rm
-f
'
$(DESTDIR)$(bindir)
/
$(PROGRAM)$(X)
'
endif
endif
ifdef
MODULE_big
ifdef
MODULE_big
rm
-f
$(DESTDIR)$(pkglibdir)
/
$(MODULE_big)$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/
$(MODULE_big)$(DLSUFFIX)
'
endif
endif
ifdef
SCRIPTS
ifdef
SCRIPTS
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/,
$(SCRIPTS)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(bindir)
'
/,
$(SCRIPTS)
)
endif
endif
ifdef
SCRIPTS_built
ifdef
SCRIPTS_built
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/,
$(SCRIPTS_built)
)
rm
-f
$(
addprefix
'
$(DESTDIR)$(bindir)
'
/,
$(SCRIPTS_built)
)
endif
endif
...
...
src/nls-global.mk
View file @
a29c04a5
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.1
0 2004/06/01 03:32:28 momjian
Exp $
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.1
1 2005/12/09 21:19:34 petere
Exp $
# Common rules for Native Language Support (NLS)
# Common rules for Native Language Support (NLS)
#
#
...
@@ -65,15 +65,15 @@ endif # not XGETTEXT
...
@@ -65,15 +65,15 @@ endif # not XGETTEXT
install-po
:
all-po installdirs-po
install-po
:
all-po installdirs-po
ifneq
(,$(LANGUAGES))
ifneq
(,$(LANGUAGES))
for
lang
in
$(LANGUAGES)
;
do
\
for
lang
in
$(LANGUAGES)
;
do
\
$(INSTALL_DATA)
po/
$$
lang.mo
$(DESTDIR)$(localedir)
/
$$
lang/LC_MESSAGES/
$(CATALOG_NAME)
.mo
||
exit
1
;
\
$(INSTALL_DATA)
po/
$$
lang.mo
'
$(DESTDIR)$(localedir)
'
/
$$
lang/LC_MESSAGES/
$(CATALOG_NAME)
.mo
||
exit
1
;
\
done
done
endif
endif
installdirs-po
:
installdirs-po
:
$(mkinstalldirs)
$(
foreach
lang,
$(LANGUAGES)
,
$(DESTDIR)$(localedir)
/
$(lang)
/LC_MESSAGES
)
$(mkinstalldirs)
$(
foreach
lang,
$(LANGUAGES)
,
'
$(DESTDIR)$(localedir)
'
/
$(lang)
/LC_MESSAGES
)
uninstall-po
:
uninstall-po
:
rm
-f
$(
foreach
lang,
$(LANGUAGES)
,
$(DESTDIR)$(localedir)
/
$(lang)
/LC_MESSAGES/
$(CATALOG_NAME)
.mo
)
rm
-f
$(
foreach
lang,
$(LANGUAGES)
,
'
$(DESTDIR)$(localedir)
'
/
$(lang)
/LC_MESSAGES/
$(CATALOG_NAME)
.mo
)
clean-po
:
clean-po
:
...
...
src/pl/plperl/GNUmakefile
View file @
a29c04a5
# Makefile for PL/Perl
# Makefile for PL/Perl
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.2
5 2005/07/13 17:12:56 tgl
Exp $
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.2
6 2005/12/09 21:19:36 petere
Exp $
subdir
=
src/pl/plperl
subdir
=
src/pl/plperl
top_builddir
=
../../..
top_builddir
=
../../..
...
@@ -70,7 +70,7 @@ endif
...
@@ -70,7 +70,7 @@ endif
install
:
all installdirs
install
:
all installdirs
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/plperl
$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/plperl
$(DLSUFFIX)
'
else
else
@
echo
"*****"
;
\
@
echo
"*****"
;
\
echo
"* PL/Perl was not installed due to lack of shared library support."
;
\
echo
"* PL/Perl was not installed due to lack of shared library support."
;
\
...
@@ -78,10 +78,10 @@ else
...
@@ -78,10 +78,10 @@ else
endif
endif
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pkglibdir)
/plperl
$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/plperl
$(DLSUFFIX)
'
installcheck
:
submake
installcheck
:
submake
$(SHELL)
$(top_builddir)
/src/test/regress/pg_regress
$(REGRESS_OPTS)
$(REGRESS)
$(SHELL)
$(top_builddir)
/src/test/regress/pg_regress
$(REGRESS_OPTS)
$(REGRESS)
...
...
src/pl/plpgsql/src/Makefile
View file @
a29c04a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# Makefile for the plpgsql shared object
# Makefile for the plpgsql shared object
#
#
# $PostgreSQL: pgsql/src/pl/plpgsql/src/Makefile,v 1.2
6 2004/06/03 19:21:31 tgl
Exp $
# $PostgreSQL: pgsql/src/pl/plpgsql/src/Makefile,v 1.2
7 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -42,7 +42,7 @@ include $(top_srcdir)/src/Makefile.shlib
...
@@ -42,7 +42,7 @@ include $(top_srcdir)/src/Makefile.shlib
install
:
installdirs all
install
:
installdirs all
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/plpgsql
$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/plpgsql
$(DLSUFFIX)
'
else
else
@
echo
"*****"
;
\
@
echo
"*****"
;
\
echo
"* PL/pgSQL was not installed due to lack of shared library support."
;
\
echo
"* PL/pgSQL was not installed due to lack of shared library support."
;
\
...
@@ -50,10 +50,10 @@ else
...
@@ -50,10 +50,10 @@ else
endif
endif
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pkglibdir)
/plpgsql
$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/plpgsql
$(DLSUFFIX)
'
pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
:
plpgsql.h $(srcdir)/pl.tab.h
pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
:
plpgsql.h $(srcdir)/pl.tab.h
...
...
src/pl/plpython/Makefile
View file @
a29c04a5
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.2
3 2005/08/12 21:44:51 momjian
Exp $
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.2
4 2005/12/09 21:19:36 petere
Exp $
subdir
=
src/pl/plpython
subdir
=
src/pl/plpython
top_builddir
=
../../..
top_builddir
=
../../..
...
@@ -89,7 +89,7 @@ endif
...
@@ -89,7 +89,7 @@ endif
install
:
all installdirs
install
:
all installdirs
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/plpython
$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/plpython
$(DLSUFFIX)
'
else
else
@
echo
"*****"
;
\
@
echo
"*****"
;
\
echo
"* PL/Python was not installed due to lack of shared library support."
;
\
echo
"* PL/Python was not installed due to lack of shared library support."
;
\
...
@@ -97,10 +97,10 @@ else
...
@@ -97,10 +97,10 @@ else
endif
endif
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pkglibdir)
/plpython
$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/plpython
$(DLSUFFIX)
'
installcheck
:
submake
installcheck
:
submake
$(SHELL)
$(top_builddir)
/src/test/regress/pg_regress
$(REGRESS_OPTS)
$(REGRESS)
$(SHELL)
$(top_builddir)
/src/test/regress/pg_regress
$(REGRESS_OPTS)
$(REGRESS)
...
...
src/pl/tcl/Makefile
View file @
a29c04a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# Makefile for the pltcl shared object
# Makefile for the pltcl shared object
#
#
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
7 2005/05/24 17:07:41 tgl
Exp $
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
8 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -73,7 +73,7 @@ endif
...
@@ -73,7 +73,7 @@ endif
install
:
all installdirs
install
:
all installdirs
ifeq
($(enable_shared), yes)
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
$(INSTALL_SHLIB)
$(shlib)
'
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
'
else
else
@
echo
"*****"
;
\
@
echo
"*****"
;
\
echo
"* PL/Tcl was not installed due to lack of shared library support."
;
\
echo
"* PL/Tcl was not installed due to lack of shared library support."
;
\
...
@@ -82,11 +82,11 @@ endif
...
@@ -82,11 +82,11 @@ endif
$(MAKE)
-C
modules
$@
$(MAKE)
-C
modules
$@
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pkglibdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pkglibdir)
'
$(MAKE)
-C
modules
$@
$(MAKE)
-C
modules
$@
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
rm
-f
'
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
'
$(MAKE)
-C
modules
$@
$(MAKE)
-C
modules
$@
installcheck
:
submake
installcheck
:
submake
...
...
src/pl/tcl/modules/Makefile
View file @
a29c04a5
# $PostgreSQL: pgsql/src/pl/tcl/modules/Makefile,v 1.
3 2003/11/29 19:52:13 pgsql
Exp $
# $PostgreSQL: pgsql/src/pl/tcl/modules/Makefile,v 1.
4 2005/12/09 21:19:36 petere
Exp $
subdir
=
src/pl/tcl/modules
subdir
=
src/pl/tcl/modules
top_builddir
=
../../../..
top_builddir
=
../../../..
...
@@ -13,16 +13,16 @@ $(MODULES): %: %.in $(top_builddir)/src/Makefile.global
...
@@ -13,16 +13,16 @@ $(MODULES): %: %.in $(top_builddir)/src/Makefile.global
chmod
a+x
$@
chmod
a+x
$@
install
:
all installdirs
install
:
all installdirs
$(INSTALL_SCRIPT)
pltcl_loadmod
$(DESTDIR)$(bindir)
/pltcl_loadmod
$(INSTALL_SCRIPT)
pltcl_loadmod
'
$(DESTDIR)$(bindir)
/pltcl_loadmod'
$(INSTALL_SCRIPT)
pltcl_delmod
$(DESTDIR)$(bindir)
/pltcl_delmod
$(INSTALL_SCRIPT)
pltcl_delmod
'
$(DESTDIR)$(bindir)
/pltcl_delmod'
$(INSTALL_SCRIPT)
pltcl_listmod
$(DESTDIR)$(bindir)
/pltcl_listmod
$(INSTALL_SCRIPT)
pltcl_listmod
'
$(DESTDIR)$(bindir)
/pltcl_listmod'
$(INSTALL_DATA)
$(srcdir)
/unknown.pltcl
$(DESTDIR)$(datadir)
/unknown.pltcl
$(INSTALL_DATA)
$(srcdir)
/unknown.pltcl
'
$(DESTDIR)$(datadir)
/unknown.pltcl'
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(bindir)
$(DESTDIR)$(datadir)
$(mkinstalldirs)
'
$(DESTDIR)$(bindir)
'
'
$(DESTDIR)$(datadir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(bindir)
/pltcl_loadmod
$(DESTDIR)$(bindir)
/pltcl_delmod
$(DESTDIR)$(bindir)
/pltcl_listmod
$(DESTDIR)$(datadir)
/unknown.pltcl
rm
-f
'
$(DESTDIR)$(bindir)
/pltcl_loadmod'
'
$(DESTDIR)$(bindir)
/pltcl_delmod'
'
$(DESTDIR)$(bindir)
/pltcl_listmod'
'
$(DESTDIR)$(datadir)
/unknown.pltcl'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
$(MODULES)
rm
-f
$(MODULES)
src/port/Makefile
View file @
a29c04a5
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# for use only by the backend binaries
# for use only by the backend binaries
#
#
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/port/Makefile,v 1.
29 2005/09/27 17:39:35 tgl
Exp $
# $PostgreSQL: pgsql/src/port/Makefile,v 1.
30 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -36,11 +36,14 @@ LIBOBJS_SRV := $(patsubst thread.o,thread_srv.o, $(LIBOBJS_SRV))
...
@@ -36,11 +36,14 @@ LIBOBJS_SRV := $(patsubst thread.o,thread_srv.o, $(LIBOBJS_SRV))
all
:
libpgport.a libpgport_srv.a
all
:
libpgport.a libpgport_srv.a
# libpgport is needed by some contrib
# libpgport is needed by some contrib
install
:
all
install
:
all installdirs
$(INSTALL_STLIB)
libpgport.a
$(DESTDIR)$(libdir)
$(INSTALL_STLIB)
libpgport.a
'
$(DESTDIR)$(libdir)
/libpgport.a'
installdirs
:
$(mkinstalldirs)
'
$(DESTDIR)$(libdir)
'
uninstall
:
uninstall
:
$(RM)
$(DESTDIR)$(libdir)
/libpgport.a
rm
-f
'
$(DESTDIR)$(libdir)
/libpgport.a'
libpgport.a
:
$(LIBOBJS)
libpgport.a
:
$(LIBOBJS)
$(AR)
$(AROPT)
$@
$^
$(AR)
$(AROPT)
$@
$^
...
...
src/test/regress/GNUmakefile
View file @
a29c04a5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.5
4 2005/11/28 12:03:56 alvher
re Exp $
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.5
5 2005/12/09 21:19:36 pete
re Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -56,10 +56,10 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
...
@@ -56,10 +56,10 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
chmod
a+x
$@
chmod
a+x
$@
install
:
pg_regress
install
:
pg_regress
$(INSTALL_SCRIPT)
pg_regress
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pg_regress
$(INSTALL_SCRIPT)
pg_regress
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pg_regress'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pg_regress
rm
-f
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/pg_regress'
# Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.
# Build dynamically-loaded object file for CREATE FUNCTION ... LANGUAGE 'C'.
...
...
src/test/regress/pg_regress.sh
View file @
a29c04a5
#! /bin/sh
#! /bin/sh
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.6
1 2005/11/01 15:09:11 adunstan
Exp $
# $PostgreSQL: pgsql/src/test/regress/pg_regress.sh,v 1.6
2 2005/12/09 21:19:36 petere
Exp $
me
=
`
basename
$0
`
me
=
`
basename
$0
`
:
${
TMPDIR
=/tmp
}
:
${
TMPDIR
=/tmp
}
...
@@ -507,7 +507,7 @@ fi
...
@@ -507,7 +507,7 @@ fi
# Set up SQL shell for the test.
# Set up SQL shell for the test.
# ----------
# ----------
PSQL
=
"
$bindir
/psql
-a -q -X
$psql_options
"
psql_test_options
=
"
-a -q -X
$psql_options
"
# ----------
# ----------
...
@@ -635,7 +635,7 @@ do
...
@@ -635,7 +635,7 @@ do
# Run a single test
# Run a single test
formatted
=
`
echo
$1
|
awk
'{printf "%-20.20s", $1;}'
`
formatted
=
`
echo
$1
|
awk
'{printf "%-20.20s", $1;}'
`
$ECHO_N
"test
$formatted
...
$ECHO_C
"
$ECHO_N
"test
$formatted
...
$ECHO_C
"
(
$PSQL
-d
"
$dbname
"
<
"
$inputdir
/sql/
$1
.sql"
>
"
$outputdir
/results/
$1
.out"
2>&1
)
&
(
"
$bindir
/psql"
$psql_test_options
-d
"
$dbname
"
<
"
$inputdir
/sql/
$1
.sql"
>
"
$outputdir
/results/
$1
.out"
2>&1
)
&
wait
wait
else
else
# Start a parallel group
# Start a parallel group
...
@@ -646,7 +646,7 @@ do
...
@@ -646,7 +646,7 @@ do
fi
fi
for
name
do
for
name
do
(
(
$PSQL
-d
"
$dbname
"
<
"
$inputdir
/sql/
$name
.sql"
>
"
$outputdir
/results/
$name
.out"
2>&1
"
$bindir
/psql"
$psql_test_options
-d
"
$dbname
"
<
"
$inputdir
/sql/
$name
.sql"
>
"
$outputdir
/results/
$name
.out"
2>&1
$ECHO_N
"
$name$ECHO_C
"
$ECHO_N
"
$name$ECHO_C
"
)
&
)
&
if
[
$maxconnections
-gt
0
]
;
then
if
[
$maxconnections
-gt
0
]
;
then
...
...
src/timezone/Makefile
View file @
a29c04a5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for the timezone library
# Makefile for the timezone library
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.2
2 2005/07/06 21:40:09 momjian
Exp $
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.2
3 2005/12/09 21:19:36 petere
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -34,10 +34,13 @@ zic: $(ZICOBJS)
...
@@ -34,10 +34,13 @@ zic: $(ZICOBJS)
$(CC)
$(CFLAGS)
$(ZICOBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
$(CC)
$(CFLAGS)
$(ZICOBJS)
$(LDFLAGS)
$(LIBS)
-o
$@$(X)
install
:
all installdirs
install
:
all installdirs
./zic
-d
$(DESTDIR)$(datadir)
/timezone
$(TZDATAFILES)
./zic
-d
'
$(DESTDIR)$(datadir)
/timezone'
$(TZDATAFILES)
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(datadir)
$(mkinstalldirs)
'
$(DESTDIR)$(datadir)
'
uninstall
:
rm
-rf
'
$(DESTDIR)$(datadir)
/timezone'
clean distclean maintainer-clean
:
clean distclean maintainer-clean
:
rm
-f
SUBSYS.o zic
$(X)
$(OBJS)
$(ZICOBJS)
rm
-f
SUBSYS.o zic
$(X)
$(OBJS)
$(ZICOBJS)
src/utils/Makefile
View file @
a29c04a5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# Makefile for utils
# Makefile for utils
#
#
# $PostgreSQL: pgsql/src/utils/Makefile,v 1.2
1 2004/07/30 12:26:40
petere Exp $
# $PostgreSQL: pgsql/src/utils/Makefile,v 1.2
2 2005/12/09 21:19:36
petere Exp $
#
#
# dllinit.o is only built on Win32 platform.
# dllinit.o is only built on Win32 platform.
#
#
...
@@ -21,7 +21,7 @@ install: all installdirs
...
@@ -21,7 +21,7 @@ install: all installdirs
$(INSTALL_DATA)
dllinit.o
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/
$(INSTALL_DATA)
dllinit.o
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/
installdirs
:
installdirs
:
$(mkinstalldirs)
$(DESTDIR)$(pgxsdir)
/
$(subdir)
$(mkinstalldirs)
'
$(DESTDIR)$(pgxsdir)
/
$(subdir)
'
uninstall
:
uninstall
:
rm
-f
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/dllinit.o
rm
-f
$(DESTDIR)$(pgxsdir)
/
$(subdir)
/dllinit.o
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment