]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - helpers/basic_auth/SMB/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / helpers / basic_auth / SMB / Makefile.am
index e9cccb692e116e696fc1108350ef252d0e86bf1c..d817563c54b100f3bee3e7931c165ef71269c123 100644 (file)
@@ -1,27 +1,21 @@
-#
-#  Makefile for the Squid Object Cache server
-#
-#  $Id: Makefile.am,v 1.1 2001/08/31 11:19:18 robertc Exp $
-#
-#  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.
+##
 
-# SAMBAPREFIX must point to the directory where Samba has been installed.
-# By default, Samba is installed in /usr/local/samba. If you changed this
-# by using the --prefix option when configuring Samba, you need to change
-# SAMBAPREFIX accordingly.
+include $(top_srcdir)/src/Common.am
 
-## FIXME: autoconf should test for the samba path.
+if !ENABLE_WIN32SPECIFIC
+libexec_SCRIPTS        = basic_smb_auth.sh
+libexec_PROGRAMS = basic_smb_auth
+endif 
+basic_smb_auth_SOURCES= basic_smb_auth.cc
+basic_smb_auth_CXXFLAGS = -DHELPERSCRIPT=\"$(libexecdir)/basic_smb_auth.sh\"
+basic_smb_auth_LDADD = \
+               $(top_builddir)/lib/libmiscencoding.la \
+               $(COMPAT_LIB) \
+               $(XTRA_LIBS)
 
-SMB_AUTH_HELPER        = smb_auth.sh
-SAMBAPREFIX=/usr/local/samba
-SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER)
-
-libexec_SCRIPTS        = $(SMB_AUTH_HELPER)
-libexec_PROGRAMS = smb_auth
-smb_auth_CFLAGS = -DSAMBAPREFIX=\"$(SAMBAPREFIX)\" -DHELPERSCRIPT=\"$(SMB_AUTH_HELPER_PATH)\"
-
-LDADD  = $(XTRA_LIBS)
-
-INCLUDES       = -I. -I$(top_builddir)/include -I$(top_srcdir)/include \
-                 -I$(top_srcdir)/src/
+EXTRA_DIST = basic_smb_auth.sh required.m4