ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / config / Make.rules.FreeBSD
blobacd9fddb91f1482fcb41cdb61591be8b9e2b9583
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)
14 $(warning support.)
15 $(warning ===================================================================) 
18 # This file is included by Make.rules when uname is FreeBSD
21 CXX                     = c++
23 CXXFLAGS                = -Wall -D_REENTRANT -D_THREAD_SAFE
25 ifeq ($(STATICLIBS),)
26     CXXFLAGS            += -fPIC
27 endif
29 ifeq ($(OPTIMIZE),yes)
30     CXXFLAGS            += -O3 -DNDEBUG
31 else
32     CXXFLAGS            += -g
33 endif
36 # C++ run-time libraries, necessary for linking some shared libraries.
38 CXXLIBS                 =
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)
47 ICEUTIL_OS_LIBS         = 
48 ICE_OS_LIBS             = 
50 PLATFORM_HAS_READLINE   = yes