From: Jeffrey Altman Date: Wed, 28 Sep 2011 23:58:07 +0000 (-0400) Subject: Windows: Add resource info to afsroken.dll X-Git-Tag: upstream/1.8.0_pre1^2~3213 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0c6bc6c78ade956978652dfe62bcc27140695b8a;p=packages%2Fo%2Fopenafs.git Windows: Add resource info to afsroken.dll The afsroken.rc file was provided but it was never compiled or linked to the dll. Change-Id: Id64ccd06b85c444f2009ef21f1fc65fb14f1bf01 Reviewed-on: http://gerrit.openafs.org/5516 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- diff --git a/src/roken/NTMakefile b/src/roken/NTMakefile index bb5644504..cc633363c 100644 --- a/src/roken/NTMakefile +++ b/src/roken/NTMakefile @@ -68,6 +68,10 @@ $(ROKEN_INCFILES):$(ROKEN)\$$(@B).h $(INCFILES):$$(@B).h $(COPY) $** $(INCFILEDIR) +RESFILE = $(OUT)\afsroken.res + +$(RESFILE): afsroken.rc AFS_component_version_number.h + roken.h: $(ROKEN)\roken.h.in $(COPY) $** $@ @@ -84,7 +88,7 @@ NTMAKE = nmake /nologo /f ntmakefile DLLLIBS = \ # $(DESTDIR)\lib\afs\afsreg.lib -$(LIBFILE): $(ROKEN_OBJS) $(DLLLIBS) +$(LIBFILE): $(ROKEN_OBJS) $(RESFILE) $(DLLLIBS) $(DLLCONLINK) /DEF:afsroken.def shell32.lib $(_VC_MANIFEST_EMBED_DLL) $(DLLPREP)