1 Star 0 Fork 20

zhouqin/Yukon

forked from openGauss/Yukon 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
GNUmakefile.in 3.41 KB
一键复制 编辑 原始数据 按行查看 历史
huangning2 提交于 2021-11-23 17:07 . 增加版本号
#-----------------------------------------------------
#
# Configuration directives are in postgis_config.h
#
#-----------------------------------------------------
SUBDIRS = liblwgeom
ifeq (@LIBLWGEOM_ONLY@,no)
SUBDIRS += libpgcommon postgis @RASTER@ @TOPOLOGY@ utils loader doc @EXTENSIONS@ geomodel
endif
PERL = @PERL@
# todo: add more rules here, like uninstall, clean...
all install uninstall noop clean distclean check:
for s in $(SUBDIRS); do \
echo "---- Making $@ in $${s}"; \
$(MAKE) -C $${s} $@ || exit 1; \
done;
@if test x"$@" = xall; then \
echo "PostGIS was built successfully. Ready to install."; \
fi
all: postgis_svn_revision.h
ifeq (@LIBLWGEOM_ONLY@,no)
install: all comments-install
uninstall: docs-uninstall comments-uninstall
endif
clean: docs-clean clean-local
clean-local:
# TODO: drop 'test' target..
test: check
check: all docs-check check-no-trailing-blanks
check-no-trailing-blanks:
! find . -name '*.c' -o -name '*.h' | \
grep -v lwin_wkt_lex.c | \
grep -v lwin_wkt_parse | \
grep -v vector_tile.pb-c | \
grep -v postgis/sqldefines.h | \
xargs grep -n '[[:space:]]$$'
installcheck:
RUNTESTFLAGS="$(RUNTESTFLAGS) --extension" $(MAKE) check
distclean: distclean-local
distclean-local: clean-local
rm -Rf autom4te.cache
rm -f GNUmakefile
rm -f config.log config.cache config.status
rm -f postgis_config.h
maintainer-clean-local: distclean-local
rm -f configure
rm -Rf build-aux
maintainer-clean:
@echo '------------------------------------------------------'
@echo 'This command is intended for maintainers to use; it'
@echo 'deletes files that may need special tools to rebuild.'
@echo '------------------------------------------------------'
$(MAKE) -C doc maintainer-clean
$(MAKE) -C postgis maintainer-clean
$(MAKE) -C liblwgeom maintainer-clean
$(MAKE) maintainer-clean-local
garden:
@echo '------------------------------------------------------'
@echo 'Generating SQL file from Documentation'
@echo '------------------------------------------------------'
$(MAKE) -C doc garden
@echo '------------------------------------------------------'
@echo 'Launch regression Test'
@echo '------------------------------------------------------'
$(MAKE) -C regress garden
templategis:
$(MAKE) -C extras/template_gis
templategis-clean:
$(MAKE) -C extras/template_gis clean
templategis-install:
$(MAKE) -C extras/template_gis install
templategis-uninstall:
$(MAKE) -C extras/template_gis uninstall
docs:
$(MAKE) -C doc html
docs-clean:
$(MAKE) -C doc clean
docs-check:
$(MAKE) -C doc check
comments:
$(MAKE) -C doc comments
cheatsheets:
$(MAKE) -C doc cheatsheets
comments-install:
$(MAKE) -C doc comments-install
comments-uninstall:
$(MAKE) -C doc comments-uninstall
docs-install:
$(MAKE) -C doc install
docs-uninstall:
$(MAKE) -C doc uninstall
#utils:
# $(MAKE) -C utils
configure: configure.in
./autogen.sh
config.status: configure
./configure
ChangeLog:
svn2cl --authors=authors.svn -i -o ChangeLog
raster-post-install-check:
$(MAKE) -C raster post-install-check
raster-sql:
$(MAKE) -C raster rtpostgis.sql
astyle:
./astyle.sh
commit:
$(MAKE) astyle && $(MAKE) clean && $(MAKE) check && svn commit
authors.git: authors.svn
sed -e 's/:/ = /' authors.svn > authors.git
svnrebase: authors.git
git svn rebase --authors-file authors.git
postgis_svn_revision.h:
$(PERL) utils/svn_repo_revision.pl
.PHONY: utils liblwgeom ChangeLog raster postgis_svn_revision.h
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhouqinsm/Yukon.git
git@gitee.com:zhouqinsm/Yukon.git
zhouqinsm
Yukon
Yukon
master

搜索帮助