Make.rules
1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# 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)))