Windows: add resource info to afshcrypto.dll

The afshcrypto.rc file was provided but it was never compiled
nor linked to the dll.

Change-Id: I41138c53a5b53417d880ae748c7f8e8248daedce
Reviewed-on: http://gerrit.openafs.org/5517
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2011-09-28 19:59:03 -04:00 committed by Jeffrey Altman
parent 0c6bc6c78a
commit 5ba6a6223c
2 changed files with 6 additions and 2 deletions

View File

@ -79,6 +79,10 @@ $(HCRYPTO_INCFILES):$(HCRYPTO)\$$(@B).h
$(INCFILES):$$(@B).h
$(COPY) $** $(INCFILEDIR)
RESFILE = $(OUT)\afshcrypto.res
$(RESFILE): afshcrypto.rc AFS_component_version_number.h
!if !defined(NMAKE)
NTMAKE = nmake /nologo /f ntmakefile
!endif
@ -86,7 +90,7 @@ NTMAKE = nmake /nologo /f ntmakefile
DLLLIBS = \
$(DESTDIR)\lib\afsroken.lib
$(LIBFILE): $(LOCAL_OBJS) $(HCRYPTO_OBJS) $(DLLLIBS)
$(LIBFILE): $(LOCAL_OBJS) $(HCRYPTO_OBJS) $(RESFILE) $(DLLLIBS)
$(DLLCONLINK) /DEF:afshcrypto.def shell32.lib
$(_VC_MANIFEST_EMBED_DLL)
$(DLLPREP)

View File

@ -15,4 +15,4 @@
#define AFS_VERINFO_FILENAME "afshcrypto.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include "..\..\config\NTVersioninfo.rc"