X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8980da4381923d8099a11a1334baf3c3e625a484..40abfdd316be98b56a95afc4d12fbf42b29ff982:/db/functions/Makefile 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