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
bc6444dc
Commit
bc6444dc
authored
May 24, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PL makefiles to support running regression tests in VPATH builds.
parent
1a022f71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
3 deletions
+66
-3
src/pl/plperl/GNUmakefile
src/pl/plperl/GNUmakefile
+22
-1
src/pl/plpython/Makefile
src/pl/plpython/Makefile
+22
-1
src/pl/tcl/Makefile
src/pl/tcl/Makefile
+22
-1
No files found.
src/pl/plperl/GNUmakefile
View file @
bc6444dc
# Makefile for PL/Perl
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.2
1 2005/05/24 08:05:36 neilc
Exp $
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.2
2 2005/05/24 17:07:41 tgl
Exp $
subdir
=
src/pl/plperl
top_builddir
=
../../..
...
...
@@ -47,6 +47,27 @@ all: all-lib
SPI.c
:
SPI.xs
$(PERL)
$(perl_privlibexp)
/ExtUtils/xsubpp
-typemap
$(perl_privlibexp)
/ExtUtils/typemap
$<
>
$@
# When doing a VPATH build, copy over the .sql and .out files so that the
# test script can find them. See comments in src/test/regress/GNUmakefile.
ifdef
VPATH
ifneq
($(PORTNAME),win32)
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
)
abs_builddir
:=
$(
shell
pwd
)
else
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
-W
)
abs_builddir
:=
$(
shell
pwd
-W
)
endif
test_files_src
:=
$(
wildcard
$(srcdir)
/sql/
*
.sql
)
$(
wildcard
$(srcdir)
/expected/
*
.out
)
test_files_build
:=
$(
patsubst
$(srcdir)
/%,
$(abs_builddir)
/%,
$(test_files_src)
)
all
:
$(test_files_build)
$(test_files_build)
:
$(abs_builddir)/%: $(srcdir)/%
ln
-s
$<
$@
endif
install
:
all installdirs
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/plperl
$(DLSUFFIX)
...
...
src/pl/plpython/Makefile
View file @
bc6444dc
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.2
0 2005/05/17 18:26:23
tgl Exp $
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.2
1 2005/05/24 17:07:41
tgl Exp $
subdir
=
src/pl/plpython
top_builddir
=
../../..
...
...
@@ -66,6 +66,27 @@ include $(top_srcdir)/src/Makefile.shlib
all
:
all-lib
# When doing a VPATH build, copy over the .sql and .out files so that the
# test script can find them. See comments in src/test/regress/GNUmakefile.
ifdef
VPATH
ifneq
($(PORTNAME),win32)
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
)
abs_builddir
:=
$(
shell
pwd
)
else
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
-W
)
abs_builddir
:=
$(
shell
pwd
-W
)
endif
test_files_src
:=
$(
wildcard
$(srcdir)
/sql/
*
.sql
)
$(
wildcard
$(srcdir)
/expected/
*
.out
)
test_files_build
:=
$(
patsubst
$(srcdir)
/%,
$(abs_builddir)
/%,
$(test_files_src)
)
all
:
$(test_files_build)
$(test_files_build)
:
$(abs_builddir)/%: $(srcdir)/%
ln
-s
$<
$@
endif
install
:
all installdirs
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/plpython
$(DLSUFFIX)
...
...
src/pl/tcl/Makefile
View file @
bc6444dc
...
...
@@ -2,7 +2,7 @@
#
# Makefile for the pltcl shared object
#
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
6 2005/05/17 18:26:23
tgl Exp $
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
7 2005/05/24 17:07:41
tgl Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -50,6 +50,27 @@ ifeq ($(TCL_SHARED_BUILD), 1)
all
:
all-lib
$(MAKE)
-C
modules
$@
# When doing a VPATH build, copy over the .sql and .out files so that the
# test script can find them. See comments in src/test/regress/GNUmakefile.
ifdef
VPATH
ifneq
($(PORTNAME),win32)
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
)
abs_builddir
:=
$(
shell
pwd
)
else
abs_srcdir
:=
$(
shell
cd
$(srcdir)
&&
pwd
-W
)
abs_builddir
:=
$(
shell
pwd
-W
)
endif
test_files_src
:=
$(
wildcard
$(srcdir)
/sql/
*
.sql
)
$(
wildcard
$(srcdir)
/expected/
*
.out
)
test_files_build
:=
$(
patsubst
$(srcdir)
/%,
$(abs_builddir)
/%,
$(test_files_src)
)
all
:
$(test_files_build)
$(test_files_build)
:
$(abs_builddir)/%: $(srcdir)/%
ln
-s
$<
$@
endif
install
:
all installdirs
ifeq
($(enable_shared), yes)
$(INSTALL_SHLIB)
$(shlib)
$(DESTDIR)$(pkglibdir)
/
$(NAME)$(DLSUFFIX)
...
...
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