ICE 3.4.2
[php5-ice-freebsdport.git] / cs / src / IceStorm / Makefile
blob145b5cbf6c4dd68f3318ff89577a19ef953ee1f0
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 # **********************************************************************
10 top_srcdir = ../..
12 PKG = IceStorm
13 LIBNAME = $(PKG).dll
14 TARGETS = $(bindir)/$(LIBNAME)
15 POLICY_TARGET = $(POLICY).dll
17 SRCS = AssemblyInfo.cs
19 SLICE_SRCS = $(SDIR)/IceStorm.ice
21 SDIR = $(slicedir)/IceStorm
22 GDIR = generated
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),$^)
35 install:: all
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)
41 install:: all
42 $(call installdata,../../lib/pkgconfig/$(PKG).pc,$(install_pkgconfigdir))
43 endif
45 clean::
46 -rm -f $(bindir)/$(PKG).xml
48 include .depend