Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
42ae4f29
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
42ae4f29
编写于
8月 27, 2001
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Turn on plpython build by default if we have something that looks like a
shared library, or we can do without one.
上级
af700146
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
29 addition
and
7 deletion
+29
-7
src/Makefile.global.in
src/Makefile.global.in
+2
-1
src/pl/Makefile
src/pl/Makefile
+4
-5
src/pl/plpython/Makefile
src/pl/plpython/Makefile
+23
-1
未找到文件。
src/Makefile.global.in
浏览文件 @
42ae4f29
# -*-makefile-*-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13
3 2001/08/26 22:28:04
petere Exp $
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13
4 2001/08/27 00:29:49
petere Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
...
...
@@ -128,6 +128,7 @@ python_includespec = @python_includespec@
python_moduledir
=
@python_moduledir@
python_moduleexecdir
=
@python_moduleexecdir@
python_libspec
=
@python_libspec@
python_configdir
=
@python_configdir@
krb_srvtab
=
@krb_srvtab@
...
...
src/pl/Makefile
浏览文件 @
42ae4f29
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.2
0 2001/05/12 01:30:30
petere Exp $
# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.2
1 2001/08/27 00:29:49
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -22,10 +22,9 @@ ifeq ($(with_perl), yes)
DIRS
+=
plperl
endif
# Doesn't build portably yet.
#ifeq ($(with_python), yes)
#DIRS += plpython
#endif
ifeq
($(with_python), yes)
DIRS
+=
plpython
endif
all install installdirs uninstall depend distprep
:
@
for
dir
in
$(DIRS)
;
do
$(MAKE)
-C
$$
dir
$@
||
exit
;
done
...
...
src/pl/plpython/Makefile
浏览文件 @
42ae4f29
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.
8 2001/07/10 16:33:02
petere Exp $
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.
9 2001/08/27 00:29:49
petere Exp $
subdir
=
src/pl/plpython
top_builddir
=
../../..
include
$(top_builddir)/src/Makefile.global
# On some platforms we can only build PL/Python if libpython is a
# shared library. Since there is no official way to determine this,
# we see if there is a file that is named like a shared library.
ifneq
(,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))
shared_libpython
=
yes
endif
# If we don't have a shared library and the platform doesn't allow it
# to work without, we have to skip it.
ifneq
(,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))
override CPPFLAGS
:
= -I$(srcdir) $(python_includespec) $(CPPFLAGS)
override DLLLIBS
:
= $(BE_DLLLIBS) $(DLLLIBS)
...
...
@@ -36,3 +47,14 @@ clean distclean maintainer-clean: clean-lib
installcheck
:
PATH
=
$(bindir)
:
$$
PATH
$(SHELL)
$(srcdir)
/test.sh
else
# can't build
all
:
@
echo
""
;
\
echo
"*** Cannot build PL/Python because libpython is not a shared library."
;
\
echo
"*** You might have to rebuild your Python installation. Refer to"
;
\
echo
"*** the documentation for details."
;
\
echo
""
endif
# can't build
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录