]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - helpers/negotiate_auth/kerberos/Makefile.am
SourceFormat Enforcement
[thirdparty/squid.git] / helpers / negotiate_auth / kerberos / Makefile.am
index 77556de3a0231fb5fbe8395b253824f8bdd06364..5ed5b091d5cfb863d14d8eb6710f45868630755e 100644 (file)
@@ -1,25 +1,35 @@
-EXTRA_DIST = configure README NEWS ChangeLog AUTHORS INSTALL
+## 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.
+##
+
+include $(top_srcdir)/src/Common.am
+
+EXTRA_DIST = README required.m4 negotiate_kerberos_auth.8
 SUBDIRS = 
 
-bin_PROGRAMS = squid_kerb_auth squid_kerb_auth_test
+libexec_PROGRAMS = negotiate_kerberos_auth negotiate_kerberos_auth_test
 
-SOURCE = squid_kerb_auth.c base64.c base64.h
-SOURCE_test = squid_kerb_auth_test.c base64.c base64.h
-SPNEGO = spnegohelp/derparse.c spnegohelp/derparse.h spnegohelp/Makefile spnegohelp/spnego.c spnegohelp/spnego.h spnegohelp/spnegohelp.c spnegohelp/spnegohelp.h spnegohelp/spnegop
-if HAVE_SPNEGO
-squid_kerb_auth_SOURCES = $(SOURCE)
-AM_CPPFLAGS = $(KERBINCS) -I.
-else
-squid_kerb_auth_SOURCES = $(SOURCE) $(SPNEGO)
-AM_CPPFLAGS = $(KERBINCS) -I$(srcdir)/spnegohelp -I.
-endif
-squid_kerb_auth_test_SOURCES = $(SOURCE_test)
+AM_CPPFLAGS += -I$(srcdir)
 
+negotiate_kerberos_auth_SOURCES = negotiate_kerberos_auth.cc negotiate_kerberos_pac.cc negotiate_kerberos.h
+negotiate_kerberos_auth_LDFLAGS = 
+negotiate_kerberos_auth_LDADD = \
+       $(top_builddir)/lib/libmiscencoding.la \
+       $(COMPAT_LIB) \
+       $(NETTLELIB) \
+       $(KRB5LIBS) \
+       $(XTRA_LIBS)
 
-squid_kerb_auth_LDFLAGS = 
-squid_kerb_auth_LDADD = -L../../../lib -lmiscutil -lm $(KERBLIBS)
-squid_kerb_auth_test_LDFLAGS = 
-squid_kerb_auth_test_LDADD = -L../../../lib -lmiscutil -lm $(KERBLIBS)
+negotiate_kerberos_auth_test_SOURCES = negotiate_kerberos_auth_test.cc
+negotiate_kerberos_auth_test_LDFLAGS = 
+negotiate_kerberos_auth_test_LDADD = \
+       $(top_builddir)/lib/libmiscencoding.la \
+       $(COMPAT_LIB) \
+       $(NETTLELIB) \
+       $(KRB5LIBS) \
+       $(XTRA_LIBS)
 
-KERBINCS = @KRB5INCS@
-KERBLIBS = @KRB5LIBS@
+man_MANS = negotiate_kerberos_auth.8