#/**********************************************************************
# *
# * 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 .
# *
# **********************************************************************
# *
# * Copyright 2019 Raúl Marín
# * Copyright 2022 Sandro Santilli
# *
# **********************************************************************/
top_builddir = @top_builddir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
libdir = @libdir@
CXX = @WAGYU_CXX@
CXXFLAGS =-I$(top_srcdir)/liblwgeom -I$(top_builddir)/liblwgeom -I$(srcdir)/include @CPPFLAGS@ @CXXFLAGS@ @PICFLAGS@
LDFLAGS = @LDFLAGS@
LIBTOOL = @LIBTOOL@
VPATH = $(srcdir)
WAGYU_OBJS = \
lwgeom_wagyu.o
WAGYU_HEADERS = \
lwgeom_wagyu.h \
include/mapbox/geometry/polygon.hpp \
include/mapbox/geometry/point_arithmetic.hpp \
include/mapbox/geometry/multi_polygon.hpp \
include/mapbox/geometry/box.hpp \
include/mapbox/geometry/for_each_point.hpp \
include/mapbox/geometry/line_string.hpp \
include/mapbox/geometry/wagyu/process_horizontal.hpp \
include/mapbox/geometry/wagyu/wagyu.hpp \
include/mapbox/geometry/wagyu/ring_util.hpp \
include/mapbox/geometry/wagyu/bubble_sort.hpp \
include/mapbox/geometry/wagyu/snap_rounding.hpp \
include/mapbox/geometry/wagyu/bound.hpp \
include/mapbox/geometry/wagyu/edge.hpp \
include/mapbox/geometry/wagyu/build_result.hpp \
include/mapbox/geometry/wagyu/scanbeam.hpp \
include/mapbox/geometry/wagyu/ring.hpp \
include/mapbox/geometry/wagyu/config.hpp \
include/mapbox/geometry/wagyu/quick_clip.hpp \
include/mapbox/geometry/wagyu/local_minimum_util.hpp \
include/mapbox/geometry/wagyu/process_maxima.hpp \
include/mapbox/geometry/wagyu/intersect.hpp \
include/mapbox/geometry/wagyu/point.hpp \
include/mapbox/geometry/wagyu/util.hpp \
include/mapbox/geometry/wagyu/intersect_util.hpp \
include/mapbox/geometry/wagyu/vatti.hpp \
include/mapbox/geometry/wagyu/active_bound_list.hpp \
include/mapbox/geometry/wagyu/build_local_minima_list.hpp \
include/mapbox/geometry/wagyu/build_edges.hpp \
include/mapbox/geometry/wagyu/local_minimum.hpp \
include/mapbox/geometry/wagyu/topology_correction.hpp \
include/mapbox/geometry/wagyu/interrupt.hpp \
include/mapbox/geometry/geometry.hpp \
include/mapbox/geometry/point.hpp \
include/mapbox/geometry/empty.hpp \
include/mapbox/geometry/multi_line_string.hpp \
include/mapbox/geometry/envelope.hpp \
include/mapbox/geometry/multi_point.hpp \
include/mapbox/feature.hpp \
include/mapbox/geometry_io.hpp \
include/mapbox/geometry.hpp
all: @WAGYU_LIB@
@WAGYU_LIB@: $(WAGYU_OBJS)
@AR@ @AR_FLAGS@ @WAGYU_LIB@ $(WAGYU_OBJS)
$(WAGYU_OBJS): %.o: %.cpp ../../liblwgeom/liblwgeom.h $(WAGYU_HEADERS)
$(CXX) $(CXXFLAGS) -c -o $@ $<
../../liblwgeom/liblwgeom.h:
$(MAKE) -C ../../liblwgeom liblwgeom.h
clean:
rm -f @WAGYU_LIB@ $(WAGYU_OBJS)
distclean: clean
rm -f Makefile
install:
uninstall:
check:
.PHONY: clean distclean install uninstall check