Build libheimntlm as a .dll by default

This commit is contained in:
Asanka Herath
2009-09-14 15:06:11 -04:00
committed by Love Hornquist Astrand
parent 81d091baa8
commit 56afc4da1a
2 changed files with 33 additions and 0 deletions

View File

@@ -42,9 +42,21 @@ libheimntlm_la_SOURCES = ntlm.c heimntlm.h
$(OBJ)\heimntlm-protos.h: $(libheimntlm_la_SOURCES)
$(PERL) ../../cf/make-proto.pl -q -P remove -o $(OBJ)\heimntlm-protos.h $(libheimntlm_la_SOURCES)
!ifndef STATICLIBS
$(LIBHEIMNTLM): $(BINDIR)\libheimntlm.dll
$(BINDIR)\libheimntlm.dll: $(OBJ)\ntlm.obj $(LIBKRB5) $(LIBHCRYPTO)
$(DLLGUILINK) -def:libheimntlm-exports.def -implib:$(LIBHEIMNTLM)
$(DLLPREP)
!else
$(LIBHEIMNTLM): $(OBJ)\ntlm.obj
$(LIBCON)
!endif
all:: $(INCFILES) $(LIBHEIMNTLM)

View File

@@ -0,0 +1,21 @@
EXPORTS
heim_ntlm_build_ntlm1_master
heim_ntlm_calculate_ntlm1
heim_ntlm_calculate_ntlm2
heim_ntlm_calculate_ntlm2_sess
heim_ntlm_decode_targetinfo
heim_ntlm_decode_type1
heim_ntlm_decode_type2
heim_ntlm_decode_type3
heim_ntlm_encode_targetinfo
heim_ntlm_encode_type1
heim_ntlm_encode_type2
heim_ntlm_encode_type3
heim_ntlm_free_buf
heim_ntlm_free_targetinfo
heim_ntlm_free_type1
heim_ntlm_free_type2
heim_ntlm_free_type3
heim_ntlm_nt_key
heim_ntlm_ntlmv2_key
heim_ntlm_verify_ntlm2