blob: b8a650b6d6e3ecb1cb621cc9234fdc0503e4f809 (
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
|
# **********************************************************************
#
# Copyright (c) 2003-2017 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 = ..\..\..
TARGETS = client.exe server.exe serveramd.exe
C_SRCS = AllTests.cs Client.cs \
..\..\TestCommon\TestApp.cs
S_SRCS = TestI.cs Server.cs
SAMD_SRCS = TestAMDI.cs ServerAMD.cs
GEN_SRCS = $(GDIR)\Test.cs
GEN_AMD_SRCS = $(GDIR)\TestAMD.cs
SDIR = .
GDIR = generated
!include $(top_srcdir)\config\Make.rules.mak.cs
SERIAL_DLL = Serializable.dll
SERIAL_REF = -r:$(SERIAL_DLL)
MCSFLAGS = $(MCSFLAGS) -target:exe
SLICE2CSFLAGS = $(SLICE2CSFLAGS) -I. -I"$(slicedir)" --stream
client.exe: $(C_SRCS) $(GEN_SRCS) $(SERIAL_DLL)
$(MCS) $(MCSFLAGS) -out:$@ -r:"$(refdir)\Ice.dll" $(SERIAL_REF) $(C_SRCS) $(GEN_SRCS)
server.exe: $(S_SRCS) $(GEN_SRCS) $(SERIAL_DLL)
$(MCS) $(MCSFLAGS) -out:$@ -r:"$(refdir)\Ice.dll" $(SERIAL_REF) $(S_SRCS) $(GEN_SRCS)
serveramd.exe: $(SAMD_SRCS) $(GEN_AMD_SRCS) $(SERIAL_DLL)
$(MCS) $(MCSFLAGS) -out:$@ -r:"$(refdir)\Ice.dll" $(SERIAL_REF) $(SAMD_SRCS) $(GEN_AMD_SRCS)
$(SERIAL_DLL): SerializableClass.cs
$(MCS) $(MCSFLAGS) -target:library -out:$(SERIAL_DLL) /keyfile:"$(KEYFILE)" SerializableClass.cs
clean::
del /q $(SERIAL_DLL)
|