1# $Id: Makefile.am 22045 2007-11-11 08:57:47Z lha $ 2 3include $(top_srcdir)/Makefile.am.common 4 5lib_LTLIBRARIES = libheimntlm.la 6 7include_HEADERS = heimntlm.h heimntlm-protos.h 8 9libheimntlm_la_SOURCES = ntlm.c heimntlm.h 10 11libheimntlm_la_LDFLAGS = -version-info 1:0:1 12 13if versionscript 14libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map 15endif 16$(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map 17 18libheimntlm_la_LIBADD = \ 19 ../krb5/libkrb5.la \ 20 $(LIBADD_roken) 21 22$(srcdir)/heimntlm-protos.h: 23 cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o heimntlm-protos.h $(libheimntlm_la_SOURCES) || rm -f heimntlm-protos.h 24 25$(libheimntlm_la_OBJECTS): $(srcdir)/heimntlm-protos.h 26 27 28TESTS = test_ntlm 29 30check_PROGRAMS = test_ntlm 31 32LDADD = libheimntlm.la $(LIB_roken) 33 34EXTRA_DIST = version-script.map 35