]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - helpers/basic_auth/NCSA/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / helpers / basic_auth / NCSA / Makefile.am
index 5d0cc2de7b0f472649879c9c6c86cfce1e23f300..3dcf1c829df68bbec2134a3684bf3008bc11e671 100644 (file)
@@ -1,23 +1,24 @@
-#
-#  Makefile for the Squid Object Cache server
-#
-#  $Id$
-#
-#  Uncomment and customize the following to suit your needs:
-#
+## Copyright (C) 1996-2015 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.
+##
 
-libexec_PROGRAMS       = ncsa_auth
-ncsa_auth_SOURCES      = ncsa_auth.c crypt_md5.c crypt_md5.h
-man_MANS               = ncsa_auth.8
-EXTRA_DIST             = ncsa_auth.8
+include $(top_srcdir)/src/Common.am
+
+libexec_PROGRAMS       = basic_ncsa_auth
+basic_ncsa_auth_SOURCES        = basic_ncsa_auth.cc crypt_md5.cc crypt_md5.h
+man_MANS               = basic_ncsa_auth.8
+EXTRA_DIST             = basic_ncsa_auth.8 required.m4
 LDADD = \
-       $(top_builddir)/compat/libcompat.la \
-       -L$(top_builddir)/lib -lmiscutil \
+       $(top_builddir)/lib/libmisccontainers.la \
+       $(top_builddir)/lib/libmiscencoding.la \
+       $(COMPAT_LIB) \
+       $(NETTLELIB) \
        $(CRYPTLIB) \
-       $(XTRA_LIBS) \
-       $(SSLLIB)
+       $(SSLLIB) \
+       $(XTRA_LIBS)
 
-INCLUDES = \
-       -I$(top_srcdir) \
-       -I$(top_srcdir)/include \
-       -I$(top_srcdir)/src
+## we need our local files too (but avoid -I. at all costs)
+AM_CPPFLAGS += -I$(srcdir)