Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
6423a8ee
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,发现更多精彩内容 >>
提交
6423a8ee
编写于
11月 01, 2002
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix contrib/rserv to install successfully when built outside source tree.
(Not that it will actually work with 7.3, I fear.)
上级
c87867f4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
23 addition
and
16 deletion
+23
-16
contrib/contrib-global.mk
contrib/contrib-global.mk
+17
-3
contrib/rserv/Makefile
contrib/rserv/Makefile
+6
-13
未找到文件。
contrib/contrib-global.mk
浏览文件 @
6423a8ee
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
3 2002/09/05 18:28:45 petere
Exp $
# $Header: /cvsroot/pgsql/contrib/contrib-global.mk,v 1.
4 2002/11/01 23:45:37 tgl
Exp $
# This file contains generic rules to build many kinds of simple
# contrib modules. You only need to set a few variables and include
...
...
@@ -24,6 +24,8 @@
# which need to be built first
# DOCS -- random files to install under $PREFIX/doc/contrib
# SCRIPTS -- script files (not binaries) to install into $PREFIX/bin
# SCRIPTS_built -- script files (not binaries) to install into $PREFIX/bin,
# which need to be built first
# REGRESS -- list of regression test cases (without suffix)
#
# or at most one of these two:
...
...
@@ -52,7 +54,7 @@ ifdef PG_CPPFLAGS
override CPPFLAGS
:
= $(PG_CPPFLAGS) $(CPPFLAGS)
endif
all
:
$(PROGRAM) $(DATA_built) $(addsuffix $(DLSUFFIX)
,
$(MODULES))
all
:
$(PROGRAM) $(DATA_built) $(
SCRIPTS_built) $(
addsuffix $(DLSUFFIX)
,
$(MODULES))
ifdef
MODULE_big
# shared library parameters
...
...
@@ -100,6 +102,12 @@ ifdef SCRIPTS
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
;
\
done
endif
# SCRIPTS
ifdef
SCRIPTS_built
@
for
file
in
$(SCRIPTS_built)
;
do
\
echo
"
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
"
;
\
$(INSTALL_SCRIPT)
$$
file
$(DESTDIR)$(bindir)
;
\
done
endif
# SCRIPTS_built
installdirs
:
...
...
@@ -112,7 +120,7 @@ endif
ifdef
DOCS
$(mkinstalldirs)
$(DESTDIR)$(docdir)
/contrib
endif
ifneq
(,$(PROGRAM)$(SCRIPTS))
ifneq
(,$(PROGRAM)$(SCRIPTS)
$(SCRIPTS_built)
)
$(mkinstalldirs)
$(DESTDIR)$(bindir)
endif
...
...
@@ -136,6 +144,9 @@ endif
ifdef
SCRIPTS
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/,
$(SCRIPTS)
)
endif
ifdef
SCRIPTS_built
rm
-f
$(
addprefix
$(DESTDIR)$(bindir)
/,
$(SCRIPTS_built)
)
endif
clean
:
...
...
@@ -145,6 +156,9 @@ endif
ifdef
DATA_built
rm
-f
$(DATA_built)
endif
ifdef
SCRIPTS_built
rm
-f
$(SCRIPTS_built)
endif
ifdef
PROGRAM
rm
-f
$(PROGRAM)$(X)
endif
...
...
contrib/rserv/Makefile
浏览文件 @
6423a8ee
...
...
@@ -11,24 +11,17 @@ DATA = RServ.pm
DATA_built
=
master.sql slave.sql
SQLS
=
$(DATA_built)
DOCS
=
README.rserv
SCRIPTS
=
RservTest
SCRIPTS
+=
MasterInit MasterAddTable Replicate MasterSync CleanLog
SCRIPTS
+=
SlaveInit SlaveAddTable GetSyncID
SCRIPTS
+=
PrepareSnapshot ApplySnapshot
SCRIPTS
+=
InitRservTest
EXTRA_CLEAN
=
$(SCRIPTS)
SCRIPTS_built
=
RservTest
SCRIPTS_built
+=
MasterInit MasterAddTable Replicate MasterSync CleanLog
SCRIPTS_built
+=
SlaveInit SlaveAddTable GetSyncID
SCRIPTS_built
+=
PrepareSnapshot ApplySnapshot
SCRIPTS_built
+=
InitRservTest
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS)
override
CFLAGS
+=
$(CFLAGS_SL)
SHLIB_LINK
=
$(BE_DLLLIBS)
all
:
$(SCRIPTS) $(SQLS) $(addsuffix $(DLSUFFIX)
,
$(MODULES))
$(SQLS)
:
%.sql: %.sql.in
sed
's,@MODULE_FILENAME@,$$libdir/
$(NAME)
,g'
$<
>
$@
$(SCRIPTS)
:
%: %.in
$(SCRIPTS
_built
)
:
%: %.in
sed
-e
's,@MODULE_FILENAME@,$$libdir/
$(NAME)
,g'
\
-e
's:@SQLDIR@:
$(datadir)
/contrib:g'
\
-e
's:@BINDIR@:
$(bindir)
:g'
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录