Check for duplicates, already loaded mechs
[heimdal.git] / lib / ntlm / Makefile.am
blob16fe7cc9d8bbfba19631506025b10ee03b42dbeb
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_hcrypto)
7 lib_LTLIBRARIES = libheimntlm.la
9 include_HEADERS = heimntlm.h heimntlm-protos.h
11 libheimntlm_la_SOURCES  = ntlm.c heimntlm.h
13 libheimntlm_la_LDFLAGS = -version-info 1:0:1
15 if versionscript
16 libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
17 endif
18 $(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map
20 libheimntlm_la_LIBADD = \
21         ../krb5/libkrb5.la \
22         $(LIB_hcrypto) \
23         $(LIBADD_roken)
25 $(srcdir)/heimntlm-protos.h:
26         cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o heimntlm-protos.h $(libheimntlm_la_SOURCES) || rm -f heimntlm-protos.h
28 $(libheimntlm_la_OBJECTS): $(srcdir)/heimntlm-protos.h
31 TESTS = test_ntlm
33 check_PROGRAMS = test_ntlm
35 LDADD = libheimntlm.la $(LIB_roken)
37 EXTRA_DIST = version-script.map