summaryrefslogtreecommitdiffstats
path: root/src/ccapi/lib
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2011-09-28 20:56:09 +0000
committerSam Hartman <hartmans@mit.edu>2011-09-28 20:56:09 +0000
commit00e32bec133ca18bcf83e9f4c88083812d620614 (patch)
tree30a12baba4212824c37a80649d53317214f9c435 /src/ccapi/lib
parenta8280f0fe566f8fae4105561e0744c4c0b54e5d3 (diff)
downloadkrb5-00e32bec133ca18bcf83e9f4c88083812d620614.tar.gz
krb5-00e32bec133ca18bcf83e9f4c88083812d620614.tar.xz
krb5-00e32bec133ca18bcf83e9f4c88083812d620614.zip
Rename ccapi.dll to krbcc{32|64}.dll as appropriate for windows builds
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25267 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/lib')
-rw-r--r--src/ccapi/lib/win/Makefile.in26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ccapi/lib/win/Makefile.in b/src/ccapi/lib/win/Makefile.in
index f97c92b0c..62229ba78 100644
--- a/src/ccapi/lib/win/Makefile.in
+++ b/src/ccapi/lib/win/Makefile.in
@@ -65,7 +65,7 @@ LINK = link
LIBS = ..\$(CLIB) ..\$(SLIB) kernel32.lib ws2_32.lib user32.lib advapi32.lib
LFLAGS = /nologo $(LOPTS)
-all:: Makefile copysrc midl $(OUTPRE)ccapi.dll finish
+all:: Makefile copysrc midl $(OUTPRE)$(CCLIB).dll finish
ccs_request.h ccs_request_c.c ccs_request_s.c : ccs_request.idl ccs_request.acf
midl $(MIDL_OPTIMIZATION) $(MIDLI) -oldnames -cpp_cmd $(CC) -cpp_opt "-E" \
@@ -76,7 +76,7 @@ ccs_reply.h ccs_reply_c.c ccs_reply_s.c : ccs_reply.idl ccs_reply.acf
ccs_reply.idl
copysrc :
- echo "Copying all sources needed to build ccapi.dll to $(SRCTMP)"
+ echo "Copying all sources needed to build $(CCLIB).dll to $(SRCTMP)"
if NOT exist $(SRCTMP)\nul mkdir $(SRCTMP)
xcopy /D/Y $(CO)\*.* $(SRCTMP)
xcopy /D/Y $(COWIN)\*.* $(SRCTMP)
@@ -90,17 +90,17 @@ copysrc :
midl : ccs_request.h ccs_reply.h
# Main program:
-$(OUTPRE)ccapi.dll: $(OBJS) ccapi.def
- $(LINK) $(LFLAGS) -entry:$(ENTRYPOINT) -dll /map:$*.map /out:$@ /DEF:ccapi.def $(OBJS) \
- /implib:ccapi.lib $(dllflags) $(LIBS) $(KFWLIB) $(SCLIB) rpcrt4.lib $(conlibsdll) $(conflags)
-
-ccapi.def:
- echo ;ccapi.def is generated by a Makefile rule. > ccapi.def
- echo HEAPSIZE 8192 >> ccapi.def
- echo EXPORTS >> ccapi.def
- type ccapi.exports >> ccapi.def
- type ccapi_v2.exports >> ccapi.def
- type debug.exports >> ccapi.def
+$(OUTPRE)$(CCLIB).dll: $(OBJS) $(CCLIB).def
+ $(LINK) $(LFLAGS) -entry:_DllMainCRTStartup@12 -dll /map:$*.map /out:$@ /DEF:$(CCLIB).def $(OBJS) \
+ /implib:$(CCLIB).lib $(dllflags) $(LIBS) $(KFWLIB) $(SCLIB) rpcrt4.lib $(conlibsdll) $(conflags)
+
+$(CCLIB).def:
+ echo ;$(CCLIB).def is generated by a Makefile rule. > $(CCLIB).def
+ echo HEAPSIZE 8192 >> $(CCLIB).def
+ echo EXPORTS >> $(CCLIB).def
+ type ccapi.exports >> $(CCLIB).def
+ type ccapi_v2.exports >> $(CCLIB).def
+ type debug.exports >> $(CCLIB).def
finish:
echo "Finished in ccapi/lib/win."