mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
ad15de80f5
git-svn-id: http://svn.osgeo.org/postgis/trunk@6329 b70326c6-7e19-0410-871a-916f4a2858ee
70 lines
1.4 KiB
Makefile
70 lines
1.4 KiB
Makefile
#############################################################################
|
|
# $Id: Makefile 3940 2009-03-30 09:30:43Z mloskot $
|
|
#
|
|
# Master makefile used to build WKT Raster
|
|
#
|
|
# Copyright (c) 2009 Sandro Santilli <strk@keybit.net>
|
|
#
|
|
# This is free software; you can redistribute and/or modify it under
|
|
# the terms of the GNU General Public Licence. See the COPYING file.
|
|
#
|
|
#############################################################################
|
|
|
|
BUILD_RASTER=@BUILD_RASTER@
|
|
|
|
all: @RT_CORE_LIB@ @RT_PG_LIB@ @RT_POSTGIS_SQL@
|
|
|
|
corelib:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_core
|
|
endif
|
|
|
|
pglib:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_pg
|
|
endif
|
|
|
|
rtpostgis.sql:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_pg rtpostgis.sql
|
|
endif
|
|
|
|
install: all
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_pg install
|
|
$(MAKE) -C scripts/python install
|
|
endif
|
|
|
|
uninstall:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_pg uninstall
|
|
$(MAKE) -C scripts/python uninstall
|
|
endif
|
|
|
|
clean:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C rt_core $@
|
|
$(MAKE) -C rt_pg $@
|
|
$(MAKE) -C test $@
|
|
$(MAKE) -C scripts/python $@
|
|
endif
|
|
|
|
distclean: clean
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(RM) -R autom4te.cache
|
|
$(RM) config.status
|
|
endif
|
|
|
|
check:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C test $@
|
|
@echo
|
|
@echo "Consider also running make post-install-check after installation"
|
|
@echo
|
|
endif
|
|
|
|
post-install-check:
|
|
ifeq ($(BUILD_RASTER), yes)
|
|
$(MAKE) -C test $@
|
|
endif
|