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 $(warning ===================================================================)
11 $(warning FreeBSD is currently an unsupported platform. The Ice team does)
12 $(warning not maintain FreeBSD specific portions of the source code or build)
13 $(warning system. Contact sales@zeroc.com if you wish to sponsor official)
15 $(warning ===================================================================)
18 # This file is included by Make.rules when uname is FreeBSD
23 CXXFLAGS = -Wall -D_REENTRANT -D_THREAD_SAFE
29 ifeq ($(OPTIMIZE),yes)
30 CXXFLAGS += -O3 -DNDEBUG
36 # C++ run-time libraries, necessary for linking some shared libraries.
40 mkshlib = $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lc_r
42 mklib = ar cr $(1) $(2)
44 BASELIBS = -lIceUtil -lc_r
45 LIBS = -lIce $(BASELIBS)
50 PLATFORM_HAS_READLINE = yes