2005-12-02 14:52:52 +00:00
|
|
|
#-----------------------------------------------------
|
|
|
|
#
|
2008-05-14 17:19:50 +00:00
|
|
|
# Configuration directives are in postgis_config.h
|
2005-12-02 14:52:52 +00:00
|
|
|
#
|
|
|
|
#-----------------------------------------------------
|
|
|
|
|
2009-05-25 20:26:43 +00:00
|
|
|
all: postgis loaderdumper utils
|
|
|
|
@echo "PostGIS was built successfully. Ready to install."
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2009-05-26 18:00:55 +00:00
|
|
|
install: all postgis-install loaderdumper-install
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2009-05-26 18:00:55 +00:00
|
|
|
uninstall: postgis-uninstall loaderdumper-uninstall docs-uninstall comments-uninstall
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2008-06-29 19:11:48 +00:00
|
|
|
clean: liblwgeom-clean postgis-clean loaderdumper-clean docs-clean test-clean
|
2009-01-15 18:35:06 +00:00
|
|
|
rm -f postgis.sql postgis_upgrade.sql
|
2005-12-02 14:52:52 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -Rf autom4te.cache
|
2008-05-14 17:24:25 +00:00
|
|
|
rm -f config.log config.cache config.status
|
|
|
|
rm -f postgis_config.h
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2008-05-14 17:19:50 +00:00
|
|
|
maintainer-clean:
|
2005-12-02 14:52:52 +00:00
|
|
|
@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
|
2009-02-11 18:28:53 +00:00
|
|
|
$(MAKE) -C postgis maintainer-clean
|
2005-12-02 14:52:52 +00:00
|
|
|
$(MAKE) -C jdbc2 maintainer-clean
|
|
|
|
$(MAKE) distclean
|
|
|
|
rm -f configure
|
|
|
|
|
2009-03-10 20:25:09 +00:00
|
|
|
test check: postgis
|
|
|
|
$(MAKE) -C liblwgeom/cunit check
|
|
|
|
$(MAKE) -C regress check
|
2005-12-02 14:52:52 +00:00
|
|
|
|
|
|
|
test-clean:
|
|
|
|
$(MAKE) -C regress clean
|
|
|
|
|
2008-11-26 11:49:48 +00:00
|
|
|
liblwgeom:
|
2008-06-29 19:11:48 +00:00
|
|
|
$(MAKE) -C liblwgeom
|
|
|
|
|
2005-12-02 14:52:52 +00:00
|
|
|
liblwgeom-clean:
|
2008-06-29 19:11:48 +00:00
|
|
|
$(MAKE) -C liblwgeom clean
|
|
|
|
|
2008-11-26 11:49:48 +00:00
|
|
|
postgis: liblwgeom
|
2009-02-11 18:28:53 +00:00
|
|
|
$(MAKE) -C postgis
|
2008-06-29 19:11:48 +00:00
|
|
|
|
|
|
|
postgis-clean:
|
2009-02-11 18:28:53 +00:00
|
|
|
$(MAKE) -C postgis clean
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2008-06-29 19:11:48 +00:00
|
|
|
postgis-install:
|
2009-02-11 18:28:53 +00:00
|
|
|
$(MAKE) -C postgis install
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2008-06-29 19:11:48 +00:00
|
|
|
postgis-uninstall:
|
2009-02-11 18:28:53 +00:00
|
|
|
$(MAKE) -C postgis uninstall
|
2005-12-02 14:52:52 +00:00
|
|
|
|
2008-05-14 17:19:50 +00:00
|
|
|
loaderdumper:
|
2005-12-02 14:52:52 +00:00
|
|
|
$(MAKE) -C loader
|
|
|
|
|
|
|
|
loaderdumper-clean:
|
|
|
|
$(MAKE) -C loader clean
|
|
|
|
|
|
|
|
loaderdumper-install:
|
|
|
|
$(MAKE) -C loader install
|
|
|
|
|
|
|
|
loaderdumper-uninstall:
|
|
|
|
$(MAKE) -C loader uninstall
|
|
|
|
|
2008-05-14 17:19:50 +00:00
|
|
|
templategis:
|
2007-01-05 00:52:57 +00:00
|
|
|
$(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
|
|
|
|
|
2008-05-14 17:19:50 +00:00
|
|
|
docs:
|
2005-12-02 14:52:52 +00:00
|
|
|
$(MAKE) -C doc
|
|
|
|
|
2008-05-14 17:19:50 +00:00
|
|
|
docs-clean:
|
2005-12-02 14:52:52 +00:00
|
|
|
$(MAKE) -C doc clean
|
|
|
|
|
2009-05-26 18:00:55 +00:00
|
|
|
comments:
|
|
|
|
$(MAKE) -C doc comments
|
|
|
|
|
|
|
|
comments-install:
|
|
|
|
$(MAKE) -C doc comments-install
|
|
|
|
|
|
|
|
comments-uninstall:
|
|
|
|
$(MAKE) -C doc comments-uninstall
|
2005-12-02 14:52:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2009-08-11 16:38:32 +00:00
|
|
|
ChangeLog.svn:
|
|
|
|
svn2cl --authors=authors.svn -i -o ChangeLog.svn
|
|
|
|
|
2010-01-28 12:19:04 +00:00
|
|
|
astyle:
|
|
|
|
./astyle.sh
|
|
|
|
|
2009-08-11 16:38:32 +00:00
|
|
|
.PHONY: utils liblwgeom ChangeLog.svn
|