X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11aff90f63d79406e9efa1343c965a19dcf5dbba..c0b47c0c2a3c31b42ef946aa6e07b85305091a0c:/db/functions/Makefile?ds=sidebyside diff --git a/db/functions/Makefile b/db/functions/Makefile index 2f97d6d94..231496d40 100644 --- a/db/functions/Makefile +++ b/db/functions/Makefile @@ -7,26 +7,17 @@ else LDFLAGS=-shared endif -all: libmyosm.so libpgosm.so +all: libpgosm.so clean: $(RM) *.so *.o -libmyosm.so: quadtile-mysql.o maptile-mysql.o - cc ${LDFLAGS} -o libmyosm.so quadtile-mysql.o maptile-mysql.o - libpgosm.so: quadtile-pgsql.o maptile-pgsql.o xid_to_int4-pgsql.o cc ${LDFLAGS} -o libpgosm.so quadtile-pgsql.o maptile-pgsql.o xid_to_int4-pgsql.o -quadtile-mysql.o: quadtile.c ${QTDIR}/quad_tile.h - cc `mysql_config --include` -I${QTDIR} -fPIC -O3 -DUSE_MYSQL -c -o quadtile-mysql.o quadtile.c - quadtile-pgsql.o: quadtile.c ${QTDIR}/quad_tile.h cc -I `pg_config --includedir` -I `pg_config --includedir-server` -I${QTDIR} -fPIC -O3 -DUSE_PGSQL -c -o quadtile-pgsql.o quadtile.c -maptile-mysql.o: maptile.c - cc `mysql_config --include` -fPIC -O3 -DUSE_MYSQL -c -o maptile-mysql.o maptile.c - maptile-pgsql.o: maptile.c cc -I `pg_config --includedir` -I `pg_config --includedir-server` -fPIC -O3 -DUSE_PGSQL -c -o maptile-pgsql.o maptile.c