+## Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+##
+## Squid software is distributed under GPLv2+ license and includes
+## contributions from numerous individuals and organizations.
+## Please see the COPYING and CONTRIBUTORS files for details.
+##
+
include $(top_srcdir)/src/Common.am
include $(top_srcdir)/src/TestHeaders.am
-noinst_LTLIBRARIES = libecap.la
+noinst_LTLIBRARIES = libecapsquid.la
-libecap_la_SOURCES = \
+libecapsquid_la_SOURCES = \
Config.h \
Config.cc \
Host.h \
XactionRep.cc \
\
Registry.h
+
+# add libecap using its pkg-config-produced configuration variables
+libecapsquid_la_CXXFLAGS = $(EXT_LIBECAP_CFLAGS)
+libecapsquid_la_LIBADD = $(EXT_LIBECAP_LIBS)