blob: 5a9fd7ab8f113dc6565e908d2da107222c4ff51f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# **********************************************************************
#
# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
top_srcdir = ..\..
PKG = Glacier2
LIBNAME = $(PKG).dll
TARGETS = $(assembliesdir)\$(LIBNAME)
POLICY_TARGET = $(POLICY).dll
SRCS = Application.cs \
AssemblyInfo.cs \
SessionCallback.cs \
SessionFactoryHelper.cs \
SessionHelper.cs
GEN_SRCS = $(GDIR)\Metrics.cs \
$(GDIR)\PermissionsVerifier.cs \
$(GDIR)\Router.cs \
$(GDIR)\Session.cs \
$(GDIR)\SSLInfo.cs
SDIR = $(slicedir)\Glacier2
GDIR = generated
!include $(top_srcdir)/config/Make.rules.mak.cs
MCSFLAGS = $(MCSFLAGS) -target:library -out:$(TARGETS) -warnaserror-
MCSFLAGS = $(MCSFLAGS) -keyfile:"$(KEYFILE)"
MCSFLAGS = $(MCSFLAGS) /doc:$(assembliesdir)\$(PKG).xml /nowarn:1591
SLICE2CSFLAGS = $(SLICE2CSFLAGS) -I$(slicedir) --ice
$(TARGETS):: $(SRCS) $(GEN_SRCS)
$(MCS) /baseaddress:0x22000000 $(MCSFLAGS) -r:$(refdir)\Ice.dll $(SRCS) $(GEN_SRCS)
@if defined SIGN_CERTIFICATE echo ^ ^ ^ Signing $@ && \
signtool sign /f "$(SIGN_CERTIFICATE)" /p $(SIGN_PASSWORD) /t $(SIGN_TIMESTAMPSERVER) $@
!if "$(DEBUG)" == "yes"
clean::
del /q $(assembliesdir)\$(PKG).pdb
!endif
clean::
del /q $(assembliesdir)\$(PKG).xml
install:: all
copy $(assembliesdir)\$(LIBNAME) "$(install_assembliesdir)"
copy $(assembliesdir)\$(PKG).xml "$(install_assembliesdir)"
!if "$(generate_policies)" == "yes"
copy $(assembliesdir)\$(POLICY_TARGET) "$(install_assembliesdir)"
!endif
!if "$(DEBUG)" == "yes"
copy $(assembliesdir)\$(PKG).pdb "$(install_assembliesdir)"
!endif
|