aboutsummaryrefslogtreecommitdiff
path: root/src/ccapi
diff options
context:
space:
mode:
authorBen Kaduk <kaduk@mit.edu>2012-09-27 15:16:28 -0400
committerTom Yu <tlyu@mit.edu>2012-09-27 16:45:09 -0400
commit4f49aa3a8d1061fd921bdb9f888602ce514ee397 (patch)
tree21ab42b2a08fceabbc65123d40dbbb9ab566fada /src/ccapi
parent647ccfc140d4215b0a4d4cf52fc1ab7899dea163 (diff)
downloadkrb5-4f49aa3a8d1061fd921bdb9f888602ce514ee397.zip
krb5-4f49aa3a8d1061fd921bdb9f888602ce514ee397.tar.gz
krb5-4f49aa3a8d1061fd921bdb9f888602ce514ee397.tar.bz2
Add version info for ccapiserver.exe
Executables and shared libraries should have a file version, so that the upgrade process works as expected. (cherry picked from commit cdaae4bd07e5b9d9ec0f7b14103f7e43b898d0aa) ticket: 7386 version_fixed: 1.10.4 status: resolved
Diffstat (limited to 'src/ccapi')
-rw-r--r--src/ccapi/server/win/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ccapi/server/win/Makefile.in b/src/ccapi/server/win/Makefile.in
index d5da001..23cec27 100644
--- a/src/ccapi/server/win/Makefile.in
+++ b/src/ccapi/server/win/Makefile.in
@@ -92,8 +92,13 @@ copysrc :
midl : ccs_request.h ccs_reply.h
-$(OUTPRE)ccapiserver.exe: $(OBJS)
- $(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(LIBS) $(conlibsdll) $(conflags)
+VERSIONRC = $(BUILDTOP)\..\windows\version.rc
+CCAPISERVERRES = $(OUTPRE)ccapiserver.res
+$(CCAPISERVERRES): $(VERSIONRC)
+ $(RC) $(RCFLAGS) -DCCAPISERVER_APP -fo $@ -r $**
+
+$(OUTPRE)ccapiserver.exe: $(OBJS) $(CCAPISERVERRES)
+ $(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(LIBS) $(CCAPISERVERRES) $(conlibsdll) $(conflags)
finish :
@echo "Finished building ccapiserver.exe"