PageRenderTime 164ms CodeModel.GetById 157ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/crypto/heimdal/lib/ntlm/Makefile.am

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 50 lines | 31 code | 18 blank | 1 comment | 3 complexity | 1326f28f97273aef7ca90a2bb9f181da MD5 | raw file
 1# $Id$
 2
 3include $(top_srcdir)/Makefile.am.common
 4
 5AM_CPPFLAGS += $(INCLUDE_hcrypto)
 6
 7lib_LTLIBRARIES = libheimntlm.la
 8
 9dist_include_HEADERS = heimntlm.h heimntlm-protos.h
10
11nodist_include_HEADERS = ntlm_err.h
12
13dist_libheimntlm_la_SOURCES = ntlm.c heimntlm.h
14
15nodist_libheimntlm_la_SOURCES = ntlm_err.c
16
17libheimntlm_la_LDFLAGS = -version-info 1:0:1
18
19if versionscript
20libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
21endif
22$(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map
23
24libheimntlm_la_LIBADD = \
25	../krb5/libkrb5.la \
26	$(LIB_hcrypto) \
27	$(LIBADD_roken)
28
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
31
32$(libheimntlm_la_OBJECTS): $(srcdir)/heimntlm-protos.h ntlm_err.h
33
34TESTS = test_ntlm
35
36check_PROGRAMS = test_ntlm
37
38LDADD = libheimntlm.la $(LIB_roken)
39
40EXTRA_DIST = \
41	NTMakefile \
42	libheimntlm-version.rc \
43	libheimntlm-exports.def \
44	version-script.map \
45	ntlm_err.et
46
47CLEANFILES = \
48	ntlm_err.c ntlm_err.h
49
50ntlm_err.h: ntlm_err.et