BIN = fix-validation-exclusions

DESC = Utility to recompute important_region attribute of validation exclusions

USE += g++-4.8
CXX = $(g++-4.8)
CXXFLAGS += -std=c++11 -pedantic

BUILD_DEPENDS = \
    libgeos++-dev \
    libboost-system-dev \
    libboost-program-options-dev \
    libyandex-maps-common-dev \
    libyandex-maps-pqxx-dev \
    libyandex-maps-log8-dev \
    libyandex-maps-pgpool3-dev \
    libyandex-maps-geolib3-dev \
    libyandex-maps-wiki-revision-dev \
    libyandex-maps-wiki-common-dev \

$(BIN): INCLUDES += \
    /usr/include/libxml2 \
    /usr/include/yandex/maps/pqxx \

$(BIN): LIBS = \
    geos \
    boost_system \
    boost_program_options \
    yandex-maps-common \
    yandex-maps-pqxx \
    yandex-maps-log8 \
    yandex-maps-pgpool3 \
    yandex-maps-geolib3 \
    yandex-maps-wiki-revision \
    yandex-maps-wiki-common \
    yandex-maps-wiki-validator \

$(BIN): SRCS = \
    fix_validation_exclusions.cpp

include /usr/share/yandex/maps/build/build.mk
