blob: 39d8a68c0faecfd23a6e92690fddc3ac6e790027 (
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
|
# **********************************************************************
#
# 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 = IceStorm
LIBNAME = $(PKG).dll
TARGETS = $(assembliesdir)\$(LIBNAME)
POLICY_TARGET = $(POLICY).dll
SRCS = AssemblyInfo.cs
GEN_SRCS = $(GDIR)\IceStorm.cs \
$(GDIR)\Metrics.cs
SDIR = $(slicedir)\IceStorm
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:0x21000000 $(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
|