Make.rules 1.76 KB
#
# Copyright (c) ZeroC, Inc. All rights reserved.
#

#
# Define ICE_HOME if Ice is not installed in /usr (Linux) or
# /usr/local (macOS)
#
#ICE_HOME               ?= /opt/Ice-3.7.2

#
# Define OPTIMIZE as yes if you want to build with optimization.
# The default for the demos is to build with debug information and no
# optimization.
#
#OPTIMIZE               = yes

#
# Define PLATFORMS to the list of platforms to build. This defaults
# to the first supported platform for this system.
#
# Run `make print V=supported-platforms' to see the list of supported
# platforms on this system. For example, set PLATFORMS to x86 to build
# for the x86 platform (assuming it's among the supported plaftorms
# on this system).
#
PLATFORMS               ?= $(firstword $(supported-platforms))

#
# Configurations to build. This defaults to the first supported
# configuration.
#
# Run `make print V=supported-configs` to see the list of supported
# configurations.
#
CONFIGS                 ?= $(firstword $(supported-configs))

# ----------------------------------------------------------------------
# Don't change anything below this line!
# ----------------------------------------------------------------------

os                      ?= $(shell uname)
embedded_runpath        := yes

include $(top_srcdir)/make/Make.rules.$(os)
include $(top_srcdir)/make/Make.project.rules
include $(top_srcdir)/make/Make.demos.rules

#
# The version/soversion variables are used for versionning plugins built with the demos.
#
version                 = 3.7.2
soversion               = 37
compatversion           = $(version)

static_projects         = %

#
# Support for 3rd party libraries
#
thirdparties            := bz2
bz2_home                := $(BZ2_HOME)

$(foreach l,$(thirdparties),$(eval $(call make-lib,$l)))