create a globale configure/make

- move the configure from nominatim out and add checks for all dependencies
- bring module under automake control
- add osm2pgsql as a submodule, configure and build with the others
This commit is contained in:
Sarah Hoffmann
2012-06-16 01:25:16 +02:00
parent 43ce82d08e
commit de46b62186
17 changed files with 701 additions and 105 deletions

View File

@@ -1,6 +1,9 @@
MODULES = nominatim
PGXS := $(shell pg_config --pgxs)
PGXS := /usr/lib/postgresql/9.1/lib/pgxs/src/makefiles/pgxs.mk
include $(PGXS)
all:
chmod 755 nominatim.so
install:
@echo Library does not need to be installed.

9
module/Makefile.in Normal file
View File

@@ -0,0 +1,9 @@
MODULES = nominatim
PGXS := @POSTGRESQL_PGXS@
include $(PGXS)
all:
chmod 755 nominatim.so
install:
@echo Library does not need to be installed.