Build libheimntlm as a .dll by default
This commit is contained in:

committed by
Love Hornquist Astrand

parent
81d091baa8
commit
56afc4da1a
@@ -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)
|
||||
|
||||
|
||||
|
21
lib/ntlm/libheimntlm-exports.def
Normal file
21
lib/ntlm/libheimntlm-exports.def
Normal 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
|
Reference in New Issue
Block a user