57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
#/**********************************************************************
|
|
# *
|
|
# * PostGIS - Spatial Types for PostgreSQL
|
|
# * http://postgis.net
|
|
# *
|
|
# * PostGIS is free software: you can redistribute it and/or modify
|
|
# * it under the terms of the GNU General Public License as published by
|
|
# * the Free Software Foundation, either version 2 of the License, or
|
|
# * (at your option) any later version.
|
|
# *
|
|
# * PostGIS is distributed in the hope that it will be useful,
|
|
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# * GNU General Public License for more details.
|
|
# *
|
|
# * You should have received a copy of the GNU General Public License
|
|
# * along with PostGIS. If not, see <http://www.gnu.org/licenses/>.
|
|
# *
|
|
# **********************************************************************
|
|
# *
|
|
# * Copyright 2019 Raúl Marín
|
|
# *
|
|
# **********************************************************************/
|
|
|
|
CC=@CC@
|
|
CXX=@CXX@
|
|
CFLAGS=-I../liblwgeom @CPPFLAGS@ @CFLAGS@ @PICFLAGS@
|
|
CXXFLAGS=-I../liblwgeom @CPPFLAGS@ @CXXFLAGS@ @PICFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
top_builddir = @top_builddir@
|
|
libdir = @libdir@
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
all: @WAGYU_LIB@ @RYU_LIB@ @FLATGEOBUF_LIB@
|
|
|
|
@WAGYU_LIB@:
|
|
$(MAKE) -C wagyu $@
|
|
|
|
@RYU_LIB@:
|
|
$(MAKE) -C ryu $@
|
|
|
|
@FLATGEOBUF_LIB@:
|
|
$(MAKE) -C flatgeobuf $@
|
|
|
|
clean:
|
|
$(MAKE) -C wagyu $@
|
|
$(MAKE) -C ryu $@
|
|
$(MAKE) -C flatgeobuf $@
|
|
|
|
distclean: clean
|
|
$(MAKE) -C wagyu $@
|
|
$(MAKE) -C ryu $@
|
|
$(MAKE) -C flatgeobuf $@
|
|
rm -f Makefile
|
|
|
|
.PHONY: install uninstall check check-unit check-regress
|