1 # **********************************************************************
3 # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 # This copy of Ice is licensed to you under the terms described in the
6 # ICE_LICENSE file included in this distribution.
8 # **********************************************************************
14 TARGETS
= $(bindir)/$(LIBNAME
)
15 POLICY_TARGET
= $(POLICY
).dll
17 SRCS
= AssemblyInfo.cs
19 SLICE_SRCS
= $(SDIR
)/IceStorm.ice
21 SDIR
= $(slicedir
)/IceStorm
24 include $(top_srcdir
)/config
/Make.rules.cs
26 MCSFLAGS
:= $(MCSFLAGS
) -target
:library
-out
:$(TARGETS
) -warnaserror-
27 MCSFLAGS
:= $(MCSFLAGS
) -keyfile
:$(KEYFILE
)
28 MCSFLAGS
:= $(MCSFLAGS
) /doc
:$(bindir)/$(PKG
).xml
/nowarn
:1591
30 SLICE2CSFLAGS
:= $(SLICE2CSFLAGS
) -I
$(slicedir
) --ice
32 $(TARGETS
):: $(SRCS
) $(GEN_SRCS
)
33 $(MCS
) $(MCSFLAGS
) $(call ref
,Ice
) $(subst /,$(DSEP
),$^
)
36 (cd
$(bindir); $(call installassembly
,$(LIBNAME
),$(PKG
)); $(call installpolicy
,$(POLICY
)); \
37 $(call installmdb
,$(LIBNAME
).mdb
); \
38 $(call installdata
,$(PKG
).xml
,$(install_bindir
)))
40 ifeq ($(GACINSTALL
),yes
)
42 $(call installdata
,..
/..
/lib
/pkgconfig
/$(PKG
).
pc,$(install_pkgconfigdir
))
46 -rm -f
$(bindir)/$(PKG
).xml