summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/plugin/Makefile.mak
blob: c5b125a9b87404d20324c3ffbd9d7257e28ec693 (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
# **********************************************************************
#
# 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	= ..\..\..

TARGETS		= client.exe plugins\Plugin.dll

C_SRCS		= Client.cs

P_SRCS		= BasePlugin.cs \
		PluginFactory.cs \
		PluginInitializeFailException.cs \
		BasePluginFail.cs \
		PluginInitializeFailFactory.cs \
		PluginOneFactory.cs \
		PluginOneFailFactory.cs \
		PluginThreeFactory.cs \
		PluginThreeFailFactory.cs \
		PluginTwoFactory.cs \
		PluginTwoFailFactory.cs

SDIR		= .

!include $(top_srcdir)\config\Make.rules.mak.cs

client.exe: $(C_SRCS)
	$(MCS) $(MCSFLAGS) -target:exe -out:$@ -r:"$(refdir)\Ice.dll" $(C_SRCS)

plugins\Plugin.dll: $(P_SRCS)
	$(MCS) $(MCSFLAGS) -target:library -out:plugins\Plugin.dll -r:"$(refdir)\Ice.dll" /keyfile:"$(KEYFILE)" $(P_SRCS)

!if "$(DEBUG)" == "yes"
clean::
	del /q plugins\Plugin.pdb
!endif