etc/services - sync with NetBSD-8
[minix.git] / crypto / external / bsd / heimdal / dist / lib / ntlm / Makefile.am
blobf1429a9075a191fbc1363f13fae0c2e7604edce6
1 # Id
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_hcrypto)
7 lib_LTLIBRARIES = libheimntlm.la
9 dist_include_HEADERS = heimntlm.h heimntlm-protos.h
11 nodist_include_HEADERS = ntlm_err.h
13 dist_libheimntlm_la_SOURCES = ntlm.c heimntlm.h
15 nodist_libheimntlm_la_SOURCES = ntlm_err.c
17 libheimntlm_la_LDFLAGS = -version-info 1:0:1
19 if versionscript
20 libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
21 endif
22 $(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map
24 libheimntlm_la_LIBADD = \
25         ../krb5/libkrb5.la \
26         $(LIB_hcrypto) \
27         $(LIBADD_roken)
29 $(srcdir)/heimntlm-protos.h:
30         cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o heimntlm-protos.h $(dist_libheimntlm_la_SOURCES) || rm -f heimntlm-protos.h
32 $(libheimntlm_la_OBJECTS): $(srcdir)/heimntlm-protos.h ntlm_err.h
34 TESTS = test_ntlm
36 check_PROGRAMS = test_ntlm
38 LDADD = libheimntlm.la $(LIB_roken)
40 EXTRA_DIST = \
41         NTMakefile \
42         libheimntlm-version.rc \
43         libheimntlm-exports.def \
44         version-script.map \
45         ntlm_err.et
47 CLEANFILES = \
48         ntlm_err.c ntlm_err.h
50 ntlm_err.h: ntlm_err.et