X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..HEAD:/db/functions/Makefile diff --git a/db/functions/Makefile b/db/functions/Makefile deleted file mode 100644 index 6a3fbc0b9..000000000 --- a/db/functions/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -PG_CONFIG ?= pg_config -DESTDIR ?= . - -QTDIR=$(shell bundle show quad_tile | tail -n 1)/ext/quad_tile - -OS=$(shell uname -s) -ifeq (${OS},Darwin) - LDFLAGS=-bundle -else - LDFLAGS=-shared -endif - -all: ${DESTDIR}/libpgosm.so - -clean: - $(RM) ${DESTDIR}/*.so ${DESTDIR}/*.o - -${DESTDIR}/libpgosm.so: ${DESTDIR}/quadtile.o ${DESTDIR}/maptile.o ${DESTDIR}/xid_to_int4.o - cc ${LDFLAGS} -o $@ $^ - -${DESTDIR}/%.o: %.c - cc -I `${PG_CONFIG} --includedir` -I `${PG_CONFIG} --includedir-server` -I${QTDIR} -fPIC -O3 -DUSE_PGSQL -c -o $@ $< - -${DESTDIR}/quadtile.o: ${QTDIR}/quad_tile.h