2 # **********************************************************************
4 # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
6 # This copy of Ice is licensed to you under the terms described in the
7 # ICE_LICENSE file included in this distribution.
9 # **********************************************************************
13 LIBFILENAME
= $(call mklibfilename
,IceSSL
,$(VERSION
))
14 SONAME
= $(call mksoname
,IceSSL
,$(SOVERSION
))
15 LIBNAME
= $(call mklibname
,IceSSL
)
17 TARGETS
= $(call mklibtargets
,$(libdir)/$(LIBFILENAME
),$(libdir)/$(SONAME
),$(libdir)/$(LIBNAME
))
32 SRCS
= $(OBJS
:.o
=.
cpp)
34 SLICE_SRCS
= $(SDIR
)/EndpointInfo.ice \
35 $(SDIR
)/ConnectionInfo.ice
37 HDIR
= $(headerdir
)/IceSSL
38 SDIR
= $(slicedir
)/IceSSL
40 include $(top_srcdir
)/config
/Make.rules
42 CPPFLAGS
:= -I..
$(CPPFLAGS
) -DICE_SSL_API_EXPORTS
$(OPENSSL_FLAGS
)
43 SLICE2CPPFLAGS
:= --ice
--include-dir IceSSL
--dll-export ICE_SSL_API
$(SLICE2CPPFLAGS
)
45 LINKWITH
:= $(BZIP2_RPATH_LINK
) -lIce
-lIceUtil
$(OPENSSL_LIBS
) $(CXXLIBS
)
47 $(libdir)/$(LIBFILENAME
): $(OBJS
)
49 $(call mkshlib
,$@
,$(SONAME
),$(OBJS
),$(LINKWITH
))
51 $(libdir)/$(SONAME
): $(libdir)/$(LIBFILENAME
)
53 ln
-s
$(LIBFILENAME
) $@
55 $(libdir)/$(LIBNAME
): $(libdir)/$(SONAME
)
60 $(call installlib
,$(install_libdir
),$(libdir),$(LIBFILENAME
),$(SONAME
),$(LIBNAME
))