Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
46819851
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
46819851
编写于
5月 24, 2020
作者:
麦壳饼
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
revert example's makefile
上级
cef59866
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
20 addition
and
252 deletion
+20
-252
tests/examples/c/makefile
tests/examples/c/makefile
+20
-252
未找到文件。
tests/examples/c/makefile
浏览文件 @
46819851
# C
MAKE generated file: DO NOT EDIT!
#
Generated by "Unix Makefiles" Generator, CMake Version 3.10
# C
opyright (c) 2017 by TAOS Technologies, Inc.
#
todo: library dependency, header file dependency
# Default target executed when no arguments are given to make.
default_target
:
all
ROOT
=
./
TARGET
=
exe
LFLAGS
=
'-Wl,-rpath,/usr/local/taos/driver/'
-ltaos
-lpthread
-lm
-lrt
#LFLAGS = '-Wl,-rpath,/home/zbm/project/td/debug/build/lib/' -L/home/zbm/project/td/debug/build/lib -ltaos -lpthread -lm -lrt
CFLAGS
=
-O3
-g
-Wall
-Wno-deprecated
-fPIC
-Wno-unused-result
-Wconversion
-Wno-char-subscripts
-D_REENTRANT
-Wno-format
-D_REENTRANT
-DLINUX
-msse4
.2
-Wno-unused-function
-D_M_X64
\
-I
/usr/local/taos/include
-std
=
gnu99
.PHONY
:
default_target
all
:
$(TARGET)
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL
:
exe
:
gcc
$(CFLAGS)
./asyncdemo.c
-o
$(ROOT)
/asyncdemo
$(LFLAGS)
gcc
$(CFLAGS)
./demo.c
-o
$(ROOT)
/demo
$(LFLAGS)
gcc
$(CFLAGS)
./prepare.c
-o
$(ROOT)
/prepare
$(LFLAGS)
gcc
$(CFLAGS)
./stream.c
-o
$(ROOT)
/stream
$(LFLAGS)
gcc
$(CFLAGS)
./subscribe.c
-o
$(ROOT)
subscribe
$(LFLAGS)
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES
:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES
=
.SUFFIXES
:
.hpux_make_needs_suffix_list
# Produce verbose output by default.
VERBOSE
=
1
# Suppress display of executed commands.
$(VERBOSE).SILENT
:
# A target that is always out of date.
cmake_force
:
.PHONY
:
cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL
=
/bin/sh
# The CMake executable.
CMAKE_COMMAND
=
/usr/bin/cmake
# The command to remove a file.
RM
=
/usr/bin/cmake
-E
remove
-f
# Escaping for special characters.
EQUALS
=
=
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR
=
/mnt/d/TDengine/TDengine
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR
=
/mnt/d/TDengine/TDengine
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target install/strip
install/strip
:
preinstall
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Installing the project stripped..."
/usr/bin/cmake
-DCMAKE_INSTALL_DO_STRIP
=
1
-P
cmake_install.cmake
.PHONY
:
install/strip
# Special rule for the target install/strip
install/strip/fast
:
preinstall/fast
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Installing the project stripped..."
/usr/bin/cmake
-DCMAKE_INSTALL_DO_STRIP
=
1
-P
cmake_install.cmake
.PHONY
:
install/strip/fast
# Special rule for the target install/local
install/local
:
preinstall
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Installing only the local directory..."
/usr/bin/cmake
-DCMAKE_INSTALL_LOCAL_ONLY
=
1
-P
cmake_install.cmake
.PHONY
:
install/local
# Special rule for the target install/local
install/local/fast
:
preinstall/fast
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Installing only the local directory..."
/usr/bin/cmake
-DCMAKE_INSTALL_LOCAL_ONLY
=
1
-P
cmake_install.cmake
.PHONY
:
install/local/fast
# Special rule for the target install
install
:
preinstall
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Install the project..."
/usr/bin/cmake
-P
cmake_install.cmake
.PHONY
:
install
# Special rule for the target install
install/fast
:
preinstall/fast
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Install the project..."
/usr/bin/cmake
-P
cmake_install.cmake
.PHONY
:
install/fast
# Special rule for the target package
package
:
preinstall
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Run CPack packaging tool..."
cd
/mnt/d/TDengine/TDengine
&&
/usr/bin/cpack
--config
./CPackConfig.cmake
.PHONY
:
package
# Special rule for the target package
package/fast
:
package
.PHONY
:
package/fast
# Special rule for the target package_source
package_source
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Run CPack packaging tool for source..."
cd
/mnt/d/TDengine/TDengine
&&
/usr/bin/cpack
--config
./CPackSourceConfig.cmake /mnt/d/TDengine/TDengine/CPackSourceConfig.cmake
.PHONY
:
package_source
# Special rule for the target package_source
package_source/fast
:
package_source
.PHONY
:
package_source/fast
# Special rule for the target edit_cache
edit_cache
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"No interactive CMake dialog available..."
/usr/bin/cmake
-E
echo
No
\
interactive
\
CMake
\
dialog
\
available.
.PHONY
:
edit_cache
# Special rule for the target edit_cache
edit_cache/fast
:
edit_cache
.PHONY
:
edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Running CMake to regenerate build system..."
/usr/bin/cmake
-H
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
.PHONY
:
rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast
:
rebuild_cache
.PHONY
:
rebuild_cache/fast
# Special rule for the target list_install_components
list_install_components
:
@
$(CMAKE_COMMAND)
-E
cmake_echo_color
--switch
=
$(COLOR)
--cyan
"Available install components are:
\"
Unspecified
\"
"
.PHONY
:
list_install_components
# Special rule for the target list_install_components
list_install_components/fast
:
list_install_components
.PHONY
:
list_install_components/fast
# The main all target
all
:
cmake_check_build_system
cd
/mnt/d/TDengine/TDengine
&&
$(CMAKE_COMMAND)
-E
cmake_progress_start /mnt/d/TDengine/TDengine/CMakeFiles /mnt/d/TDengine/TDengine/tests/examples/c/CMakeFiles/progress.marks
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
CMakeFiles/Makefile2 tests/examples/c/all
$(CMAKE_COMMAND)
-E
cmake_progress_start /mnt/d/TDengine/TDengine/CMakeFiles 0
.PHONY
:
all
# The main clean target
clean
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
CMakeFiles/Makefile2 tests/examples/c/clean
.PHONY
:
clean
# The main clean target
clean/fast
:
clean
.PHONY
:
clean/fast
# Prepare targets for installation.
preinstall
:
all
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
CMakeFiles/Makefile2 tests/examples/c/preinstall
.PHONY
:
preinstall
# Prepare targets for installation.
preinstall/fast
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
CMakeFiles/Makefile2 tests/examples/c/preinstall
.PHONY
:
preinstall/fast
# clear depends
depend
:
cd
/mnt/d/TDengine/TDengine
&&
$(CMAKE_COMMAND)
-H
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
--check-build-system
CMakeFiles/Makefile.cmake 1
.PHONY
:
depend
# Convenience name for target.
tests/examples/c/CMakeFiles/demo.dir/rule
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
CMakeFiles/Makefile2 tests/examples/c/CMakeFiles/demo.dir/rule
.PHONY
:
tests/examples/c/CMakeFiles/demo.dir/rule
# Convenience name for target.
demo
:
tests/examples/c/CMakeFiles/demo.dir/rule
.PHONY
:
demo
# fast build rule for target.
demo/fast
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
tests/examples/c/CMakeFiles/demo.dir/build.make tests/examples/c/CMakeFiles/demo.dir/build
.PHONY
:
demo/fast
demo.o
:
demo.c.o
.PHONY
:
demo.o
# target to build an object file
demo.c.o
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
tests/examples/c/CMakeFiles/demo.dir/build.make tests/examples/c/CMakeFiles/demo.dir/demo.c.o
.PHONY
:
demo.c.o
demo.i
:
demo.c.i
.PHONY
:
demo.i
# target to preprocess a source file
demo.c.i
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
tests/examples/c/CMakeFiles/demo.dir/build.make tests/examples/c/CMakeFiles/demo.dir/demo.c.i
.PHONY
:
demo.c.i
demo.s
:
demo.c.s
.PHONY
:
demo.s
# target to generate assembly for a file
demo.c.s
:
cd
/mnt/d/TDengine/TDengine
&&
$(MAKE)
-f
tests/examples/c/CMakeFiles/demo.dir/build.make tests/examples/c/CMakeFiles/demo.dir/demo.c.s
.PHONY
:
demo.c.s
# Help Target
help
:
@
echo
"The following are some of the valid targets for this Makefile:"
@
echo
"... all (the default if no target is provided)"
@
echo
"... clean"
@
echo
"... depend"
@
echo
"... install/strip"
@
echo
"... install/local"
@
echo
"... install"
@
echo
"... package"
@
echo
"... demo"
@
echo
"... package_source"
@
echo
"... edit_cache"
@
echo
"... rebuild_cache"
@
echo
"... list_install_components"
@
echo
"... demo.o"
@
echo
"... demo.i"
@
echo
"... demo.s"
.PHONY
:
help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system
:
cd
/mnt/d/TDengine/TDengine
&&
$(CMAKE_COMMAND)
-H
$(CMAKE_SOURCE_DIR)
-B
$(CMAKE_BINARY_DIR)
--check-build-system
CMakeFiles/Makefile.cmake 0
.PHONY
:
cmake_check_build_system
rm
$(ROOT)
/asyncdemo
rm
$(ROOT)
/demo
rm
$(ROOT)
/prepare
rm
$(ROOT)
/stream
rm
$(ROOT)
/subscribe
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录