Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
a5a5e94a
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,发现更多精彩内容 >>
提交
a5a5e94a
编写于
9月 20, 2019
作者:
J
Jesse Zhang
提交者:
Adam Berlin
9月 26, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cleanup Makefile
上级
510a4f01
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
20 addition
and
37 deletion
+20
-37
contrib/pg_upgrade/test/integration/Makefile
contrib/pg_upgrade/test/integration/Makefile
+20
-37
未找到文件。
contrib/pg_upgrade/test/integration/Makefile
浏览文件 @
a5a5e94a
...
...
@@ -3,50 +3,41 @@ top_srcdir=../../../..
top_builddir
=
../../../..
pg_upgrade_directory
=
../..
OBJS
=
scripts/gpdb5-cluster.o
\
utilities/gpdb5-cluster.o
\
scripts/gpdb6-cluster.o
\
utilities/gpdb6-cluster.o
\
utilities/query-helpers.o
\
utilities/upgrade-helpers.o
\
greenplum_five_to_greenplum_six_upgrade_test.o
EXS
=
scripts/gpdb6-cluster scripts/gpdb5-cluster
TARGETS
=
greenplum_five_to_greenplum_six_upgrade_test
include
$(top_srcdir)/src/Makefile.mock
include
$(top_srcdir)/src/Makefile.global
all
:
scripts/gpdb5-cluster scripts/gpdb6-cluster
test_flags
=
-I
$(pg_upgrade_directory)
\
utilities_CPPFLAGS
=
-I
$(pg_upgrade_directory)
\
-I
$(libpq_srcdir)
\
-g
-O0
compile
=
$(CC)
$(CFLAGS)
$(CPPFLAGS)
compile_test
=
$(compile)
$(test_flags)
integration_test_dependencies
=
$(libpq_pgport)
#
# Scripts
#
scripts/gpdb5-cluster
:
scripts/gpdb5-cluster.c utilities/gpdb5-cluster.o
$(compile)
$^
-o
scripts/gpdb5-cluster
scripts/gpdb5-cluster
:
scripts/gpdb5-cluster.o utilities/gpdb5-cluster.o
scripts/gpdb6-cluster
:
scripts/gpdb6-cluster.c utilities/gpdb6-cluster.o
$(compile)
$^
-o
scripts/gpdb6-cluster
scripts/gpdb6-cluster
:
scripts/gpdb6-cluster.o utilities/gpdb6-cluster.o
#
# Libraries
#
utilities/gpdb5-cluster.o
:
./utilities/gpdb5-cluster.c
$(compile_test)
-c
$<
-o
$@
utilities/gpdb6-cluster.o
:
./utilities/gpdb6-cluster.c
$(compile_test)
-c
$<
-o
$@
utilities/query-helpers.o
:
./utilities/query-helpers.c
$(compile_test)
-c
$<
-o
$@
utilities/gpdb5-cluster.o
\
utilities/gpdb6-cluster.o
\
utilities/query-helpers.o
\
greenplum_five_to_greenplum_six_upgrade_test.o
:
override CPPFLAGS += $(utilities_CPPFLAGS)
#
# Tests
...
...
@@ -58,16 +49,8 @@ test_dependencies = utilities/gpdb5-cluster.o \
$(CMOCKERY_OBJS)
greenplum_five_to_greenplum_six_upgrade_test.t
:
greenplum_five_to_greenplum_six_upgrade_test.c $(test_dependencies)
$(compile_test)
\
$^
\
$(integration_test_dependencies)
\
-o
$@
#
# Build all
#
all
:
scripts/gpdb5-cluster scripts/gpdb6-cluster greenplum_five_to_greenplum_six_upgrade_test.t
greenplum_five_to_greenplum_six_upgrade_test.t
:
greenplum_five_to_greenplum_six_upgrade_test.o $(test_dependencies)
$(CC)
$(CFLAGS)
$^
$(libpq_pgport)
$(LDFLAGS)
-o
$@
clean
:
rm
-f
$(OBJS)
$(EXS)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录