summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/lib/ntlm/Makefile.am
blob: d33efd2b679abd8a802b1a347f88b581c09a75c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $Id$

include $(top_srcdir)/Makefile.am.common

lib_LTLIBRARIES = libheimntlm.la

dist_include_HEADERS = heimntlm.h $(srcdir)/heimntlm-protos.h

nodist_include_HEADERS = ntlm_err.h

dist_libheimntlm_la_SOURCES = ntlm.c heimntlm.h

nodist_libheimntlm_la_SOURCES = ntlm_err.c

libheimntlm_la_LDFLAGS = -version-info 1:0:1

if versionscript
libheimntlm_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
endif
$(libheimntlm_la_OBJECTS): $(srcdir)/version-script.map

libheimntlm_la_LIBADD = \
	../krb5/libkrb5.la \
	$(top_builddir)/lib/wind/libwind.la \
	$(LIB_hcrypto) \
	$(LIBADD_roken)

$(srcdir)/heimntlm-protos.h: $(dist_libheimntlm_la_SOURCES)
	cd $(srcdir) && perl ../../cf/make-proto.pl -q -P comment -o heimntlm-protos.h $(dist_libheimntlm_la_SOURCES) || rm -f heimntlm-protos.h

$(libheimntlm_la_OBJECTS): $(srcdir)/heimntlm-protos.h ntlm_err.h

TESTS = test_ntlm

check_PROGRAMS = test_ntlm

LDADD = libheimntlm.la $(LIB_roken)

EXTRA_DIST = \
	NTMakefile \
	libheimntlm-version.rc \
	libheimntlm-exports.def \
	version-script.map \
	ntlm_err.et

CLEANFILES = \
	ntlm_err.c ntlm_err.h

ntlm_err.h: ntlm_err.et