]> 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 fc7e8c706d822b78d73c693ba474e3c9e856d408..3dcf1c829df68bbec2134a3684bf3008bc11e671 100644 (file)
@@ -1,14 +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
-LDADD                  = -L$(top_builddir)/lib -lmiscutil $(CRYPTLIB) $(XTRA_LIBS) $(SSLLIB)
-INCLUDES      = -I$(top_srcdir)/include
+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)/lib/libmisccontainers.la \
+       $(top_builddir)/lib/libmiscencoding.la \
+       $(COMPAT_LIB) \
+       $(NETTLELIB) \
+       $(CRYPTLIB) \
+       $(SSLLIB) \
+       $(XTRA_LIBS)
+
+## we need our local files too (but avoid -I. at all costs)
+AM_CPPFLAGS += -I$(srcdir)