]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - crypto/heimdal/lib/ntlm/Makefile.am
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / crypto / heimdal / lib / ntlm / Makefile.am
1 # $Id: Makefile.am 22045 2007-11-11 08:57:47Z lha $
2
3 include $(top_srcdir)/Makefile.am.common
4
5 lib_LTLIBRARIES = libheimntlm.la
6
7 include_HEADERS = heimntlm.h heimntlm-protos.h
8
9 libheimntlm_la_SOURCES  = ntlm.c heimntlm.h
10
11 libheimntlm_la_LDFLAGS = -version-info 1:0:1
12
13 if versionscript
14 libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
15 endif
16 $(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map
17
18 libheimntlm_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
28 TESTS = test_ntlm
29
30 check_PROGRAMS = test_ntlm
31
32 LDADD = libheimntlm.la $(LIB_roken)
33
34 EXTRA_DIST = version-script.map